Skip to content

Commit 9ab2004

Browse files
committed
Added distribution module.
1 parent fb5e4f2 commit 9ab2004

File tree

2 files changed

+96
-5
lines changed

2 files changed

+96
-5
lines changed

dist/pom.xml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<artifactId>jsonix-schema-compiler-dist</artifactId>
6+
<packaging>pom</packaging>
7+
<name>Jsonix Schema Compiler - Distribution</name>
8+
<parent>
9+
<groupId>org.hisrc.jsonix</groupId>
10+
<artifactId>jsonix-schema-compiler-project</artifactId>
11+
<version>2.3.1-SNAPSHOT</version>
12+
</parent>
13+
<dependencies>
14+
<dependency>
15+
<groupId>${project.groupId}</groupId>
16+
<artifactId>jsonix-schema-compiler-sample-po</artifactId>
17+
<type>zip</type>
18+
<classifier>maven-src</classifier>
19+
<version>${project.version}</version>
20+
</dependency>
21+
<dependency>
22+
<groupId>${project.groupId}</groupId>
23+
<artifactId>jsonix-schema-compiler-sample-po</artifactId>
24+
<type>zip</type>
25+
<classifier>ant-src</classifier>
26+
<version>${project.version}</version>
27+
</dependency>
28+
<dependency>
29+
<groupId>${project.groupId}</groupId>
30+
<artifactId>jsonix-schema-compiler-sample-po</artifactId>
31+
<type>zip</type>
32+
<classifier>batch-src</classifier>
33+
<version>${project.version}</version>
34+
</dependency>
35+
<dependency>
36+
<groupId>${project.groupId}</groupId>
37+
<artifactId>jsonix-schema-compiler-sample-po</artifactId>
38+
<type>zip</type>
39+
<classifier>npm-src</classifier>
40+
<version>${project.version}</version>
41+
</dependency>
42+
<dependency>
43+
<groupId>${project.groupId}</groupId>
44+
<artifactId>jsonix-schema-compiler-plugin</artifactId>
45+
<version>${project.version}</version>
46+
</dependency>
47+
<dependency>
48+
<groupId>${project.groupId}</groupId>
49+
<artifactId>jsonix-schema-compiler-full</artifactId>
50+
<version>${project.version}</version>
51+
</dependency>
52+
</dependencies>
53+
<build>
54+
<plugins>
55+
<plugin>
56+
<groupId>org.apache.maven.plugins</groupId>
57+
<artifactId>maven-deploy-plugin</artifactId>
58+
<configuration>
59+
<skip>true</skip>
60+
</configuration>
61+
</plugin>
62+
<plugin>
63+
<groupId>org.apache.maven.plugins</groupId>
64+
<artifactId>maven-dependency-plugin</artifactId>
65+
<executions>
66+
<execution>
67+
<phase>package</phase>
68+
<goals>
69+
<goal>copy-dependencies</goal>
70+
</goals>
71+
<configuration>
72+
<outputDirectory>files</outputDirectory>
73+
<overWriteReleases>true</overWriteReleases>
74+
<overWriteSnapshots>true</overWriteSnapshots>
75+
<includeScope>runtime</includeScope>
76+
</configuration>
77+
</execution>
78+
</executions>
79+
</plugin>
80+
</plugins>
81+
</build>
82+
</project>

pom.xml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,24 @@
5858
<module>tests</module>
5959
</modules>
6060
</profile>
61+
<profile>
62+
<id>samples</id>
63+
<modules>
64+
<module>samples</module>
65+
</modules>
66+
</profile>
67+
<profile>
68+
<id>dist</id>
69+
<modules>
70+
<module>dist</module>
71+
</modules>
72+
</profile>
6173
<profile>
6274
<id>all</id>
63-
<activation>
64-
<property>
65-
<name>all</name>
66-
</property>
67-
</activation>
6875
<modules>
6976
<module>tests</module>
77+
<module>samples</module>
78+
<module>dist</module>
7079
</modules>
7180
</profile>
7281
</profiles>

0 commit comments

Comments
 (0)