Skip to content

Commit 24767c2

Browse files
committed
switch 2.0 and add packing
1 parent 0b890f2 commit 24767c2

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>org.ruleml.translation</groupId>
66
<artifactId>ruleml2tptp</artifactId>
7-
<version>1.1</version>
7+
<version>2.0</version>
88
<packaging>jar</packaging>
99

1010
<name>ruleml2tptp</name>
@@ -82,6 +82,24 @@
8282
</execution>
8383
</executions>
8484
</plugin>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-assembly-plugin</artifactId>
88+
<version>2.5.3</version>
89+
<executions>
90+
<execution>
91+
<phase>package</phase>
92+
<goals>
93+
<goal>single</goal>
94+
</goals>
95+
<configuration>
96+
<descriptors>
97+
<descriptor>src/assembly/bin.xml</descriptor>
98+
</descriptors>
99+
</configuration>
100+
</execution>
101+
</executions>
102+
</plugin>
85103
</plugins>
86104
</build>
87105

src/assembly/bin.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
4+
<id>bin</id>
5+
<formats>
6+
<format>tar.gz</format>
7+
<format>zip</format>
8+
</formats>
9+
<fileSets>
10+
<fileSet>
11+
<directory>${project.basedir}</directory>
12+
<outputDirectory></outputDirectory>
13+
<includes>
14+
<include>README*</include>
15+
<include>LICENSE*</include>
16+
<include>NOTICE*</include>
17+
</includes>
18+
</fileSet>
19+
<fileSet>
20+
<directory>${project.build.directory}</directory>
21+
<outputDirectory></outputDirectory>
22+
<includes>
23+
<include>*.jar</include>
24+
</includes>
25+
</fileSet>
26+
<fileSet>
27+
<directory>${project.build.directory}/site</directory>
28+
<outputDirectory>docs</outputDirectory>
29+
</fileSet>
30+
</fileSets>
31+
<dependencySets>
32+
<dependencySet>
33+
<useProjectArtifact>false</useProjectArtifact>
34+
<outputDirectory>dependency</outputDirectory>
35+
</dependencySet>
36+
</dependencySets>
37+
</assembly>

0 commit comments

Comments
 (0)