users@glassfish.java.net

Re: Where is the Servlet API jar?

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Thu, 10 Dec 2009 19:05:30 -0800

Yes, please add http://download.java.net/maven/glassfish to the list.
Or reference GlassFish Nexus server:
http://maven.glassfish.org/content/groups/glassfish/


Major Péter wrote:
> I have
> <url>http://repository.jboss.org/maven2</url>
> <url>http://download.java.net/maven/2</url>
> should I add to the list
> <url>http://download.java.net/maven/glassfish</url>
> too? Would the servlet-api only available in glassfish repo?
> Thanks
>
> Peter
>
>
> 2009-12-11 03:31 keltezéssel, Jane Young írta:
>
>> what did you specify in <repositories><repository>...?
>>
>>
>> Major Péter wrote:
>>
>>> Still
>>> Missing:
>>> ----------
>>> 1) org.glassfish:javax.servlet:jar:3.0
>>>
>>> Regards,
>>> Peter
>>>
>>>
>>> 2009-12-11 03:23 keltezéssel, Jane Young írta:
>>>
>>>
>>>> Try:
>>>>
>>>> <dependency>
>>>> <groupId>org.glassfish</groupId>
>>>> <artifactId>javax.servlet</artifactId>
>>>> <version>3.0</version>
>>>> <scope>provided</scope>
>>>> </dependency>
>>>>
>>>>
>>>>
>>>>
>>>> Major Péter wrote:
>>>>
>>>>
>>>>> My bad, I just pasted a wrong dep., I thought about:
>>>>> <dependency>
>>>>> <groupId>javax.servlet</groupId>
>>>>> <artifactId>servlet-api</artifactId>
>>>>> <version>3.0</version>
>>>>> <scope>provided</scope>
>>>>> </dependency>
>>>>>
>>>>> Regards,
>>>>> Peter
>>>>>
>>>>> 2009-12-11 03:03 keltezéssel, Major Péter írta:
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Today I had downloaded the GlassFishv3 final and successfully
>>>>>> installed.
>>>>>> So far so good.
>>>>>> But now I would like to migrate my application from Java EE 5 to EE 6,
>>>>>> but can't find the servlet-api jars. I'm using maven, and I thought,
>>>>>> that the following dependency should work:
>>>>>> <dependency>
>>>>>> <groupId>javax</groupId>
>>>>>> <artifactId>javaee-api</artifactId>
>>>>>> <version>6.0</version>
>>>>>> <scope>provided</scope>
>>>>>> </dependency>
>>>>>> But it apperently isn't working. I also checked the java.net maven2
>>>>>> repository, but couldn't find there neither. What am I missing?
>>>>>> I now found some packages under
>>>>>> http://download.java.net/maven/glassfish/javax/servlet/servlet-api/
>>>>>> but
>>>>>> it's still isn't the final version. Maybe it isn't released after all?
>>>>>>
>>>>>> While looking after the jar, I also found in
>>>>>> glassfish/lib/javaee.jar a
>>>>>> pom.xml:
>>>>>> <parent>
>>>>>> <groupId>org.glassfish.extras</groupId>
>>>>>> <artifactId>javaee-pom</artifactId>
>>>>>> <version>3.0-b74b</version>
>>>>>> <relativePath>../pom.xml</relativePath>
>>>>>> </parent>
>>>>>>
>>>>>> Is this version ok? Shouldn't this be 3.0-final or something like
>>>>>> that?
>>>>>> Thanks
>>>>>>
>>>>>> Best Regards,
>>>>>> Peter
>>>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>