-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
226 lines (193 loc) · 6.65 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.telosys</groupId> <!-- New group id for deployment on Sonatype servers -->
<artifactId>telosys-tools-parent</artifactId>
<version>4.x.x</version>
<packaging>pom</packaging>
<name>telosys-tools-parent</name>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- <skip-license>true</skip-license> -->
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-commons</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-database</artifactId>
<version>4.0.0</version>
</dependency>
<!-- MODELS -->
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-generic-model</artifactId>
<version>4.1.0</version>
</dependency>
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-dsl-parser</artifactId>
<version>4.1.1</version>
</dependency>
<!-- GENERATOR -->
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-generator</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-generator-engine-velocity17</artifactId>
<version>4.1.0</version>
</dependency>
<!-- VELOCITY (moved in module)-->
<!-- TELOSYS API -->
<dependency>
<groupId>org.telosys</groupId>
<artifactId>telosys-tools-api</artifactId>
<version>4.2.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>../telosys-tools-commons</module>
<module>../telosys-tools-generic-model</module>
<module>../telosys-tools-database</module>
<module>../telosys-tools-dsl-parser</module>
<module>../telosys-tools-generator-engine-velocity17</module>
<module>../telosys-tools-generator</module>
<module>../telosys-tools-api</module>
<!-- Special module to build the "uber jar" -->
<module>../telosys-tools-all</module>
</modules>
<!-- The UBER JAR "telosys-tools-X.X.X.jar" is built by "maven-shade-plugin"
in "telosys-tools-api" module (see "pom.xml") and available in the "dist"
folder -->
<profiles>
<profile>
<!-- Profile activated if the license file is in the current directory
( build at "parent" level ) -->
<id>parent-profile</id>
<activation>
<file>
<exists>src/license/license-header.txt</exists>
</file>
</activation>
<properties>
<!-- <skip-license>false</skip-license> -->
<license-file>src/license/license-header.txt</license-file>
</properties>
</profile>
<profile>
<!-- Profile activated if the license file is in the parent directory
( build at "module" level ) -->
<id>module-profile</id>
<activation>
<file>
<exists>../telosys-tools-parent/src/license/license-header.txt</exists>
</file>
</activation>
<properties>
<!-- <skip-license>false</skip-license> -->
<license-file>../telosys-tools-parent/src/license/license-header.txt</license-file>
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> <!-- for Surefire with JaCoCo -->
</properties>
</profile>
</profiles>
<!-- Distribution Management configuration (used by the deploy plugin) -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencies>
<!-- FOR TESTS -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<!-- <skip>${skip-license}</skip> -->
<!-- <header>src/license/license-header.txt</header> -->
<header>${license-file}</header>
<includes>
<include>src/main/java/**</include>
</includes>
<strictCheck>true</strictCheck>
</configuration>
<executions>
<execution>
<goals>
<!-- check : verify if some files miss license header format : add
the license header when missing. If a header is existing, it is updated to
the new one remove : remove existing license header -->
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version> <!-- Last stable version / 2016 May -->
<extensions>true</extensions>
<configuration>
<!-- The server "id" element from settings to use authentication from -->
<serverId>ossrh</serverId>
<!-- nexusUrl = The Base URL of Nexus instance where we want to stage -->
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<description>${project.artifactId}-${project.version}</description>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- <version>2.12.4</version> -->
<version>2.22.2</version> <!-- Required fo JaCoCo plugin -->
<configuration>
<!--
forkCount = maximum number of JVM processes that Surefire will spawn concurrently to execute the tests
The default setting is forkCount=1/reuseForks=true, which means that Surefire creates
one new JVM process to execute all tests in one maven module.
-->
<!--
<forkCount>3</forkCount>
<reuseForks>true</reuseForks>
-->
<!-- <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> -->
</configuration>
</plugin>
</plugins>
</build>
<!-- <distributionManagement> <repository> <id>bintray-telosys-maven-TelosysTools</id>
<name>telosys-maven-TelosysTools</name> <url>https://api.bintray.com/maven/telosys/maven/TelosysTools</url>
</repository> </distributionManagement> -->
</project>