Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [glassfish-dev] why does the servlet container not have access to jakarta.security.enterprise.jar?

Hi,

Yes there is, since Servlet is not officially released yet, you would need to include the staging repository. The full and always up to date details about those can be found here: https://github.com/eclipse-ee4j/ee4j/blob/master/parent/pom.xml#L299

You can copy these to your own pom, or copy them to an .m2/settings.xml file. E.g. :

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

  <profiles>
    <profile>
      <id>default</id>
      <activation>
          <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
            <repository>
                    <id>sonatype-nexus-staging</id>
                    <name>Sonatype Nexus Staging</name>
                    <url>https://jakarta.oss.sonatype.org/content/repositories/staging/ </url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </repository>
            </repositories>

            <pluginRepositories>
                <pluginRepository>
                    <id>sonatype-nexus-staging</id>
                    <name>Sonatype Nexus Staging</name>
                    <url>https://jakarta.oss.sonatype.org/content/repositories/staging/ </url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                </pluginRepository>
            </pluginRepositories>
       </profile>
   </profiles>
</settings>







On Wed, Mar 30, 2022 at 6:58 PM Tarun Telang <tarun.telang@xxxxxxxxx> wrote:
Hello All, 
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>
The above maven coordinate are giving error: 
> Cannot resolve jakarta.servlet:jakarta.servlet-api:6.0.0 

Is there a way to verify my code with Servlet 6.0 implementation of glassfish 7.0-M3?

Best Regards,
Tarun

On Fri, 18 Mar 2022 at 19:24, Scott Marlow <smarlow@xxxxxxxxxx> wrote:

Is there already a tracking GlassFish issue for the "org.glassfish.soteria.servlet.SamRegistrationInstaller not found" error asked in  [1]?

Scott

[1] https://github.com/eclipse-ee4j/jakartaee-tck/issues/900

_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev
_______________________________________________
glassfish-dev mailing list
glassfish-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/glassfish-dev

Back to the top