Sahoo wrote:
> Wait for Ludo to be online. I know he was recently doing something to
> generate a jar that should be used during compilation. May be he can
> tell us if that artifact is kept in synch with GF builds or not and
> the maven coordinates for that artifact.
>
> Sahoo
The stripped API jars (one for full profile, one for Web profile) are
posted under
http://download.java.net/maven/2/javax/javaee-api/6.0-SNAPSHOT/
and
http://download.java.net/maven/2/javax/javaee-web-api/6.0-SNAPSHOT/
See the meta data files for info:
...
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0-SNAPSHOT</version>
−
The Netbeans 6.8 M2 IDE can already create Maven projects with these EE
6 targets.
Remember that the content of these jars is stripped, i.e they contain
only the EE 6 APIs class, annontations and method signatures without any
implementation. They can be used to compile Java EE 6 applications but
not run any code..
As an example, here if the web app pom file created by NetBeans 6.8 m2:
<project xmlns="
http://maven.apache.org/POM/4.0.0"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>mavenproject6</artifactId>
<packaging>war</packaging>
<version>1.0-SNAPSHOT</version>
<name>mavenproject6 Java EE 6 Webapp</name>
<url>
http://maven.apache.org</url>
<repositories>
<repository>
<id>java.net2</id>
<name>Repository hosting the jee6 artifacts</name>
<url>
http://download.java.net/maven/2</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>6.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
<finalName>mavenproject6</finalName>
</build>
</project>
Ludo
>
> Felipe Gaúcho wrote:
>> ok, got it..
>>
>> and what is the latest version I can use in the pom.xml ?
>>
>>
>>
>> On Tue, Oct 13, 2009 at 1:28 PM, Sahoo <Sahoo_at_sun.com> wrote:
>>> Sorry, I misread your email. I read b67+ as b67. A promoted build is a
>>> released artifact and can't have SNAPSHOT dependency. So, 3.0-b67
>>> for v3
>>> b67, 3.0-b68 for v3 b68 and so on. The trunk however continues to
>>> refer to
>>> 3.0-SNAPSHOT so that when finally v3 is released, the version
>>> becomes 3.0
>>> for the released artifact and trunk refers to next SNAPSHOT version
>>> (something like 3.1-SNAPSHOT or 4.0-SNAPSHOT).
>>>
>>> Sahoo
>>>
>>> Felipe Gaúcho wrote:
>>>> why not using 3.0-SNAPSHOT ?
>>>>
>>>> On Tue, Oct 13, 2009 at 11:19 AM, Sahoo <Sahoo_at_sun.com> wrote:
>>>>
>>>>> I would expect it to be 3.0-b67, but it is not published yet.
>>>>>
>>>>> Ludo/Jane,
>>>>>
>>>>> do we plan to release a shell jar for every promoted build of
>>>>> glassfish?
>>>>>
>>>>> Thanks,
>>>>> Sahoo
>>>>>
>>>>> Felipe Gaúcho wrote:
>>>>>
>>>>>> what is the current version for the javaee dependency ith
>>>>>> Glassfish V3
>>>>>> b67+ ??
>>>>>>
>>>>>> currently I have in the pom.xml:
>>>>>>
>>>>>> <dependency>
>>>>>> <groupId>org.glassfish</groupId>
>>>>>> <artifactId>javax.javaee</artifactId>
>>>>>> <version>3.0-Prelude-b28b</version>
>>>>>> <scope>provided</scope>
>>>>>> </dependency>
>>>>>>
>>>>>> -------
>>>>>>
>>>>>> 3.0-Prelude-b28b ???
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>