125 lines
4.6 KiB
XML
125 lines
4.6 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</groupId>
|
|
<artifactId>jetty-project</artifactId>
|
|
<version>10.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>jetty-unixsocket</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Jetty :: UnixSocket</name>
|
|
|
|
<description>Jetty UnixSocket Parent</description>
|
|
|
|
<modules>
|
|
<module>jetty-unixsocket-common</module>
|
|
<module>jetty-unixsocket-client</module>
|
|
<module>jetty-unixsocket-server</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<bundle-symbolic-name>${project.groupId}.unixsocket</bundle-symbolic-name>
|
|
<spotbugs.onlyAnalyze>org.eclipse.jetty.unixsocket.*</spotbugs.onlyAnalyze>
|
|
</properties>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.jnr</groupId>
|
|
<artifactId>jnr-unixsocket</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.github.jnr</groupId>
|
|
<artifactId>jnr-a64asm</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-client</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty.toolchain</groupId>
|
|
<artifactId>jetty-test-helper</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>build-deps-file</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>list</goal>
|
|
</goals>
|
|
<configuration>
|
|
<appendOutput>false</appendOutput>
|
|
<outputFile>${project.build.directory}/deps.txt</outputFile>
|
|
<sort>true</sort>
|
|
<excludeGroupIds>org.eclipse.jetty,javax.servlet</excludeGroupIds>
|
|
<prependGroupId>true</prependGroupId>
|
|
<includeScope>runtime</includeScope>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>process-deps</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<copy file="${project.build.directory}/deps.txt" tofile="${project.build.directory}/deps-orig.txt" />
|
|
<!-- regex the deps with classifiers first -->
|
|
<replaceregexp file="${project.build.directory}/deps.txt" match=" *(.*):(.*):jar:(.*):(.*):.*$" replace="maven://\1/\2/\4/jar/\3|lib/jnr/\2-\4-\3.jar" byline="true" />
|
|
<!-- regex the normal deps -->
|
|
<replaceregexp file="${project.build.directory}/deps.txt" match=" *(.*):(.*):jar:(.*):.*$" replace="maven://\1/\2/\3|lib/jnr/\2-\3.jar" byline="true" />
|
|
<replaceregexp file="${project.build.directory}/deps.txt" match="The following files have been resolved:" replace="[files]" />
|
|
<concat destfile="${project.build.directory}/unixsocket.mod">
|
|
<fileset file="src/main/config-template/modules/unixsocket-prefix.mod" />
|
|
<fileset file="${project.build.directory}/deps.txt" />
|
|
<fileset file="src/main/config-template/modules/unixsocket-suffix.mod" />
|
|
</concat>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/assembly/config.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
>>>>>>> jetty-9.4.x
|
|
</project>
|