2019-02-12 07:05:41 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-06-24 11:42:39 -04:00
|
|
|
<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/xsd/maven-4.0.0.xsd">
|
2019-02-12 07:05:41 -05:00
|
|
|
<parent>
|
|
|
|
<artifactId>jetty-unixsocket</artifactId>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
2020-07-10 03:38:29 -04:00
|
|
|
<version>10.0.0-SNAPSHOT</version>
|
2019-02-12 07:05:41 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>jetty-unixsocket-server</artifactId>
|
|
|
|
<name>Jetty :: UnixSocket :: Server</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<bundle-symbolic-name>${project.groupId}.unixsocket.server</bundle-symbolic-name>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-unixsocket-common</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2020-03-19 18:46:41 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-slf4j-impl</artifactId>
|
2020-03-20 12:12:08 -04:00
|
|
|
<scope>test</scope>
|
2020-03-19 18:46:41 -04:00
|
|
|
</dependency>
|
2019-02-12 07:05:41 -05:00
|
|
|
</dependencies>
|
2020-10-08 15:04:28 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<onlyAnalyze>org.eclipse.jetty.unixsocket.*</onlyAnalyze>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<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,org.slf4j</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>
|
|
|
|
<tasks>
|
|
|
|
<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>
|
|
|
|
</tasks>
|
|
|
|
</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>
|
2019-02-12 07:05:41 -05:00
|
|
|
</project>
|