jetty.project/jetty-cdi/pom.xml

89 lines
2.9 KiB
XML
Raw Normal View History

<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">
<parent>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-project</artifactId>
2023-04-11 14:23:25 -04:00
<version>10.0.16-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Issue #3804 - Update Decorator integration for various CDI implementations (#3838) * Jetty Issue #3804 WELD-2587 Support CDI integration: + cdi2 module exposes jetty APIs + cdi module uses DecorationListener Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Remove DecoratingListener tests from test-jetty-webapp Signed-off-by: Greg Wilkins <gregw@webtide.com> * improve CDI test Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Reverted test to use released CDI and cdi2 module for now. To test new mechanism, you need to build the weld snapshot locally, rebuild and switch to cdi module Signed-off-by: Greg Wilkins <gregw@webtide.com> * remove cdi2 webapp references Signed-off-by: Greg Wilkins <gregw@webtide.com> * document attribute Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * logging Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Fixed version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Reverted to also provide the DecoratingListener in the decorate module. Renamed cdi-demo to weld-cdi-demo Signed-off-by: Greg Wilkins <gregw@webtide.com> * revert from Weld SNAPSHOT Signed-off-by: Greg Wilkins <gregw@webtide.com> * test all 3 weld integrations Signed-off-by: Greg Wilkins <gregw@webtide.com> * updated destory implementation to release creationalcontext Signed-off-by: Greg Wilkins <gregw@webtide.com> * reverted to released Weld version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #3804 CDI integration dispose and release context in destroy Signed-off-by: Greg Wilkins <gregw@webtide.com> * Improved CDI module documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * WIP on OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Updates from review Parameterised CDITests Signed-off-by: Greg Wilkins <gregw@webtide.com> * share webapp resources for cdi webapp test Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * Initialize OWB with a SCI so that listeners can be decorated Signed-off-by: Greg Wilkins <gregw@webtide.com> * Added OwbDecorator so that cdi2 module can be tested with OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Lookup attribute name Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanups Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Don't do lazy bindings Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Treat partial CDI same as no CDI Signed-off-by: Greg Wilkins <gregw@webtide.com> * fix maven it test no more need of weld-servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * cleanup it parent pom removing non needed weld servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * upgraded to Weld 3.1.2.Final Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-08-07 22:04:07 -04:00
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-cdi</artifactId>
<name>Jetty :: CDI</name>
<packaging>jar</packaging>
<properties>
Issue #3804 - Update Decorator integration for various CDI implementations (#3838) * Jetty Issue #3804 WELD-2587 Support CDI integration: + cdi2 module exposes jetty APIs + cdi module uses DecorationListener Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Remove DecoratingListener tests from test-jetty-webapp Signed-off-by: Greg Wilkins <gregw@webtide.com> * improve CDI test Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Reverted test to use released CDI and cdi2 module for now. To test new mechanism, you need to build the weld snapshot locally, rebuild and switch to cdi module Signed-off-by: Greg Wilkins <gregw@webtide.com> * remove cdi2 webapp references Signed-off-by: Greg Wilkins <gregw@webtide.com> * document attribute Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * logging Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Fixed version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Reverted to also provide the DecoratingListener in the decorate module. Renamed cdi-demo to weld-cdi-demo Signed-off-by: Greg Wilkins <gregw@webtide.com> * revert from Weld SNAPSHOT Signed-off-by: Greg Wilkins <gregw@webtide.com> * test all 3 weld integrations Signed-off-by: Greg Wilkins <gregw@webtide.com> * updated destory implementation to release creationalcontext Signed-off-by: Greg Wilkins <gregw@webtide.com> * reverted to released Weld version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #3804 CDI integration dispose and release context in destroy Signed-off-by: Greg Wilkins <gregw@webtide.com> * Improved CDI module documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * WIP on OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Updates from review Parameterised CDITests Signed-off-by: Greg Wilkins <gregw@webtide.com> * share webapp resources for cdi webapp test Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * Initialize OWB with a SCI so that listeners can be decorated Signed-off-by: Greg Wilkins <gregw@webtide.com> * Added OwbDecorator so that cdi2 module can be tested with OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Lookup attribute name Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanups Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Don't do lazy bindings Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Treat partial CDI same as no CDI Signed-off-by: Greg Wilkins <gregw@webtide.com> * fix maven it test no more need of weld-servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * cleanup it parent pom removing non needed weld servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * upgraded to Weld 3.1.2.Final Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-08-07 22:04:07 -04:00
<bundle-symbolic-name>${project.groupId}.cdi</bundle-symbolic-name>
</properties>
Issue #3804 - Update Decorator integration for various CDI implementations (#3838) * Jetty Issue #3804 WELD-2587 Support CDI integration: + cdi2 module exposes jetty APIs + cdi module uses DecorationListener Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Remove DecoratingListener tests from test-jetty-webapp Signed-off-by: Greg Wilkins <gregw@webtide.com> * improve CDI test Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Reverted test to use released CDI and cdi2 module for now. To test new mechanism, you need to build the weld snapshot locally, rebuild and switch to cdi module Signed-off-by: Greg Wilkins <gregw@webtide.com> * remove cdi2 webapp references Signed-off-by: Greg Wilkins <gregw@webtide.com> * document attribute Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * logging Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Fixed version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Reverted to also provide the DecoratingListener in the decorate module. Renamed cdi-demo to weld-cdi-demo Signed-off-by: Greg Wilkins <gregw@webtide.com> * revert from Weld SNAPSHOT Signed-off-by: Greg Wilkins <gregw@webtide.com> * test all 3 weld integrations Signed-off-by: Greg Wilkins <gregw@webtide.com> * updated destory implementation to release creationalcontext Signed-off-by: Greg Wilkins <gregw@webtide.com> * reverted to released Weld version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #3804 CDI integration dispose and release context in destroy Signed-off-by: Greg Wilkins <gregw@webtide.com> * Improved CDI module documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * WIP on OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Updates from review Parameterised CDITests Signed-off-by: Greg Wilkins <gregw@webtide.com> * share webapp resources for cdi webapp test Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * Initialize OWB with a SCI so that listeners can be decorated Signed-off-by: Greg Wilkins <gregw@webtide.com> * Added OwbDecorator so that cdi2 module can be tested with OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Lookup attribute name Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanups Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Don't do lazy bindings Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Treat partial CDI same as no CDI Signed-off-by: Greg Wilkins <gregw@webtide.com> * fix maven it test no more need of weld-servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * cleanup it parent pom removing non needed weld servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * upgraded to Weld 3.1.2.Final Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-08-07 22:04:07 -04:00
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
Issue #3804 - Update Decorator integration for various CDI implementations (#3838) * Jetty Issue #3804 WELD-2587 Support CDI integration: + cdi2 module exposes jetty APIs + cdi module uses DecorationListener Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Remove DecoratingListener tests from test-jetty-webapp Signed-off-by: Greg Wilkins <gregw@webtide.com> * improve CDI test Signed-off-by: Greg Wilkins <gregw@webtide.com> * Jetty Issue #3804 WELD-2587 Reverted test to use released CDI and cdi2 module for now. To test new mechanism, you need to build the weld snapshot locally, rebuild and switch to cdi module Signed-off-by: Greg Wilkins <gregw@webtide.com> * remove cdi2 webapp references Signed-off-by: Greg Wilkins <gregw@webtide.com> * document attribute Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * logging Signed-off-by: Greg Wilkins <gregw@webtide.com> * improved javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Fixed version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Reverted to also provide the DecoratingListener in the decorate module. Renamed cdi-demo to weld-cdi-demo Signed-off-by: Greg Wilkins <gregw@webtide.com> * revert from Weld SNAPSHOT Signed-off-by: Greg Wilkins <gregw@webtide.com> * test all 3 weld integrations Signed-off-by: Greg Wilkins <gregw@webtide.com> * updated destory implementation to release creationalcontext Signed-off-by: Greg Wilkins <gregw@webtide.com> * reverted to released Weld version Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #3804 CDI integration dispose and release context in destroy Signed-off-by: Greg Wilkins <gregw@webtide.com> * Improved CDI module documentation Signed-off-by: Greg Wilkins <gregw@webtide.com> * WIP on OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Updates from review Parameterised CDITests Signed-off-by: Greg Wilkins <gregw@webtide.com> * share webapp resources for cdi webapp test Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * Initialize OWB with a SCI so that listeners can be decorated Signed-off-by: Greg Wilkins <gregw@webtide.com> * Added OwbDecorator so that cdi2 module can be tested with OWB Signed-off-by: Greg Wilkins <gregw@webtide.com> * Lookup attribute name Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanups Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Don't do lazy bindings Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Treat partial CDI same as no CDI Signed-off-by: Greg Wilkins <gregw@webtide.com> * fix maven it test no more need of weld-servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * cleanup it parent pom removing non needed weld servlet Signed-off-by: olivier lamy <oliver.lamy@gmail.com> * upgraded to Weld 3.1.2.Final Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com> * Cleanup from Review Signed-off-by: Greg Wilkins <gregw@webtide.com>
2019-08-07 22:04:07 -04:00
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Require-Capability>
osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"
</Require-Capability>
<Provide-Capability>
osgi.serviceloader; osgi.serviceloader=org.eclipse.jetty.webapp.Configuration,
osgi.serviceloader; osgi.serviceloader=javax.servlet.ServletContainerInitializer
</Provide-Capability>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<!--<argLine>
@{argLine} ${jetty.surefire.argLine} &#45;&#45;add-opens=org.eclipse.jetty.cdi/org.eclipse.jetty.cdi=ALL-UNNAMED
</argLine>-->
<additionalClasspathElements />
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdk16</id>
<activation>
<jdk>[16,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>