4.0.0 org.eclipse.jetty.demos demos-parent 10.0.8-SNAPSHOT ../../pom.xml Demo :: Servlet Spec :: Webapp demo-spec-webapp war ${project.groupId}.spec.webapp org.apache.maven.plugins maven-assembly-plugin web-bundle-assembly package single src/main/assembly/web-bundle.xml ${project.build.outputDirectory}/META-INF/MANIFEST.MF maven-war-plugin ${project.build.outputDirectory}/META-INF/MANIFEST.MF target plugin-context.xml META-INF org.apache.felix maven-bundle-plugin true war Test Webapp for Servlet 4.0 Features javax.transaction*;version="[1.1,2.0)", javax.servlet*;version="[2.6,4.1)", org.eclipse.jetty*;version="[$(version;===;${parsedVersion.osgiVersion}),$(version;==+;${parsedVersion.osgiVersion}))", org.eclipse.jetty.webapp;version="[$(version;===;${parsedVersion.osgiVersion}),$(version;==+;${parsedVersion.osgiVersion}))";resolution:="optional", org.eclipse.jetty.plus.jndi;version="[$(version;===;${parsedVersion.osgiVersion}),$(version;==+;${parsedVersion.osgiVersion}))";resolution:="optional", com.acme;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", * <_nouses /> com.acme.test;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}";-noimport:=true / .,WEB-INF/classes,WEB-INF/lib /META-INF/plugin-context.xml maven-antrun-plugin generate-xml-files process-resources run org.apache.maven.plugins maven-dependency-plugin package copy org.eclipse.jetty.demos demo-mock-resources ${project.version} jar ** true ${project.build.directory}/lib/jndi org.apache.maven.plugins maven-enforcer-plugin enforce-java enforce org.eclipse.jetty:jetty-util org.eclipse.jetty jetty-maven-plugin ${project.version} 10 ${project.build.directory}/plugin-context.xml src/main/webapp src/main/webapp/WEB-INF/web.xml /test-spec .*/jetty-servlet-api-[^/]*\.jar$ true ${basedir}/src/main/webapp/WEB-INF/jetty-env.xml Test Realm src/etc/realm.properties org.eclipse.jetty.demos demo-mock-resources ${project.version} jakarta.transaction jakarta.transaction-api provided org.eclipse.jetty.toolchain jetty-servlet-api provided jakarta.annotation jakarta.annotation-api provided org.eclipse.jetty.demos demo-web-fragment org.eclipse.jetty.demos demo-container-initializer