Skip to content

Commit 5fb903a

Browse files
committed
Update pom.xml
1 parent 12e674e commit 5fb903a

File tree

1 file changed

+45
-1
lines changed

1 file changed

+45
-1
lines changed

rdap-client/pom.xml

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<artifactId>rdap</artifactId>
99
<version>${rdap.version}</version>
1010
</parent>
11-
<groupId>org.restfulwhois.rdap.client.client</groupId>
11+
<groupId>org.restfulwhois.rdap</groupId>
1212
<artifactId>rdap-client</artifactId>
1313
<version>${rdap.version}</version>
1414
<name>rdap-client</name>
@@ -63,4 +63,48 @@
6363
<scope>test</scope>
6464
</dependency>
6565
</dependencies>
66+
<build>
67+
<finalName>rdap-client-${rdap.version}</finalName>
68+
<plugins>
69+
<plugin>
70+
<groupId>org.apache.maven.plugins</groupId>
71+
<artifactId>maven-jar-plugin</artifactId>
72+
<version>2.5</version>
73+
<configuration>
74+
<excludes>
75+
<exclude>**/*.properties</exclude>
76+
<exclude>assemble/**</exclude>
77+
</excludes>
78+
<archive>
79+
<manifest>
80+
<mainClass>org.restfulwhois.rdap.port43.server.Main</mainClass>
81+
</manifest>
82+
</archive>
83+
</configuration>
84+
</plugin>
85+
<plugin>
86+
<artifactId>maven-assembly-plugin</artifactId>
87+
<version>2.4.1</version>
88+
<configuration>
89+
<descriptorRefs>
90+
<descriptorRef>jar-with-dependencies</descriptorRef>
91+
</descriptorRefs>
92+
<archive>
93+
<manifest>
94+
<mainClass>org.restfulwhois.rdap.port43.server.Main</mainClass>
95+
</manifest>
96+
</archive>
97+
</configuration>
98+
<executions>
99+
<execution>
100+
<id>make-assembly</id>
101+
<phase>package</phase>
102+
<goals>
103+
<goal>single</goal>
104+
</goals>
105+
</execution>
106+
</executions>
107+
</plugin>
108+
</plugins>
109+
</build>
66110
</project>

0 commit comments

Comments
 (0)