135 lines
4.5 KiB
XML
135 lines
4.5 KiB
XML
|
<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.ee10</groupId>
|
||
|
<artifactId>jetty-ee10</artifactId>
|
||
|
<version>12.0.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<groupId>org.eclipse.jetty.ee10.osgi</groupId>
|
||
|
<artifactId>jetty-ee10-osgi-project</artifactId>
|
||
|
<name>EE10 :: Jetty :: OSGi</name>
|
||
|
<packaging>pom</packaging>
|
||
|
|
||
|
<properties>
|
||
|
<osgi-version>3.17.200</osgi-version>
|
||
|
<osgi-services-version>3.10.200</osgi-services-version>
|
||
|
<osgi-util-version>3.6.100</osgi-util-version>
|
||
|
<equinox-http-servlet-version>1.0.0-v20070606</equinox-http-servlet-version>
|
||
|
</properties>
|
||
|
|
||
|
<modules>
|
||
|
<module>jetty-ee10-osgi-boot</module>
|
||
|
<module>jetty-ee10-osgi-boot-jsp</module>
|
||
|
<module>jetty-ee10-osgi-boot-warurl</module>
|
||
|
<module>test-jetty-ee10-osgi-webapp</module>
|
||
|
<module>test-jetty-ee10-osgi-webapp-resources</module>
|
||
|
<module>test-jetty-ee10-osgi-context</module>
|
||
|
<module>test-jetty-ee10-osgi-fragment</module>
|
||
|
<module>test-jetty-ee10-osgi-server</module>
|
||
|
<module>jetty-ee10-osgi-alpn</module>
|
||
|
<module>test-jetty-ee10-osgi</module>
|
||
|
</modules>
|
||
|
|
||
|
<build>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>META-INF/..</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<excludes>
|
||
|
<exclude>**/.*</exclude>
|
||
|
<exclude>**/*.jar</exclude>
|
||
|
<exclude>.settings/**/*</exclude>
|
||
|
<exclude>pom.xml</exclude>
|
||
|
<!-- exclude>META-INF/**/*</exclude -->
|
||
|
<exclude>jettyhome/**/*</exclude>
|
||
|
<exclude>src/**/*</exclude>
|
||
|
<exclude>target/**/*</exclude>
|
||
|
<exclude>build.properties</exclude>
|
||
|
</excludes>
|
||
|
<includes>
|
||
|
<include>META-INF/**/*</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>src/main/java</directory>
|
||
|
<excludes>
|
||
|
<exclude>**/*.java</exclude>
|
||
|
</excludes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<plugins>
|
||
|
<!-- necessary because x.y.x-SNAPSHOT is not a valid osgi version -->
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>build-helper-maven-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>set-servlet-api-version</id>
|
||
|
<phase>validate</phase>
|
||
|
<goals>
|
||
|
<goal>parse-version</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<versionString>${jetty.servlet.api.version}</versionString>
|
||
|
<propertyPrefix>servletImpl</propertyPrefix>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<manifest>prevent/overwriting/by/pointing/to/nonexisting/MANIFEST.MF</manifest>
|
||
|
<pde>true</pde>
|
||
|
<downloadSources>true</downloadSources>
|
||
|
<sourceExcludes>
|
||
|
<sourceExclude>**/.svn/**</sourceExclude>
|
||
|
</sourceExcludes>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.jacoco</groupId>
|
||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<skip>true</skip>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<dependencyManagement>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.eclipse.platform</groupId>
|
||
|
<artifactId>org.eclipse.osgi.services</artifactId>
|
||
|
<version>${osgi-services-version}</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<!-- we use the servlet jar from orbit -->
|
||
|
<groupId>jakarta.servlet</groupId>
|
||
|
<artifactId>servlet-api</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<!-- cannot override core java classes with Java 9+ -->
|
||
|
<groupId>org.apache.felix</groupId>
|
||
|
<artifactId>org.osgi.foundation</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.eclipse.platform</groupId>
|
||
|
<artifactId>org.eclipse.osgi</artifactId>
|
||
|
<version>${osgi-version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.eclipse.equinox.http</groupId>
|
||
|
<artifactId>servlet</artifactId>
|
||
|
<version>${equinox-http-servlet-version}</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
</dependencyManagement>
|
||
|
|
||
|
</project>
|