users@glassfish.java.net

Re: Where is the Servlet API jar?

From: Major Péter <majorpetya_at_sch.bme.hu>
Date: Fri, 11 Dec 2009 03:27:49 +0100

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