Commit be702657df161cc7992b4e4afa83f33753d43df6

Authored by Mickael Boiziot
1 parent 8fae67ef
Exists in master

Simplify the pom.xml file using a parent pom

Showing 1 changed file with 6 additions and 96 deletions   Show diff stats
pom.xml
... ... @@ -4,12 +4,16 @@
4 4  
5 5 <!-- Basic informations -->
6 6 <modelVersion>4.0.0</modelVersion>
  7 + <parent>
  8 + <groupId>eu.omp.irap.cassis</groupId>
  9 + <artifactId>parent</artifactId>
  10 + <version>0.0.1-SNAPSHOT</version>
  11 + </parent>
7 12 <groupId>eu.omp.irap.vespa</groupId>
8 13 <artifactId>epntapclient</artifactId>
9 14 <version>1.2-SNAPSHOT</version>
10 15 <name>epnTAPCLient</name>
11 16 <description>The Epn-TAP library aims to provide methods to manage resources, services and dataset wich implements the epn-TAP core, in order to get data and deal with it with any other software, ie. though a SAMP hub. It also comes with a GUI, initialy built to be integrated on the Cassis sofware, but it can be launch as standalone.</description>
12   - <url>http://cassis.irap.omp.eu/</url>
13 17  
14 18 <!-- The developer of the library. -->
15 19 <developers>
... ... @@ -22,6 +26,7 @@
22 26 </roles>
23 27 </developer>
24 28 </developers>
  29 +
25 30 <reporting>
26 31 <outputDirectory>${basedir}/target/site</outputDirectory>
27 32 <plugins>
... ... @@ -77,13 +82,8 @@
77 82  
78 83 </plugins>
79 84 </reporting>
80   - <!-- The files encoding. -->
81   - <properties>
82   - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
83   - </properties>
84 85  
85 86 <build>
86   -
87 87 <plugins>
88 88 <plugin>
89 89 <artifactId>maven-assembly-plugin</artifactId>
... ... @@ -110,42 +110,6 @@
110 110 </dependency>
111 111 </dependencies>
112 112 </plugin>
113   - <!-- Tell to Maven wich Java version is used. -->
114   - <plugin>
115   - <artifactId>maven-compiler-plugin</artifactId>
116   - <version>3.3</version>
117   - <configuration>
118   - <source>1.7</source>
119   - <target>1.7</target>
120   - </configuration>
121   - </plugin>
122   -
123   - <!-- Sign the jar in order to push it to cassis repository. -->
124   - <plugin>
125   - <groupId>org.apache.maven.plugins</groupId>
126   - <artifactId>maven-jarsigner-plugin</artifactId>
127   - <version>1.4</version>
128   - <executions>
129   - <execution>
130   - <id>sign</id>
131   - <goals>
132   - <goal>sign</goal>
133   - </goals>
134   - </execution>
135   - <execution>
136   - <id>verify</id>
137   - <goals>
138   - <goal>verify</goal>
139   - </goals>
140   - </execution>
141   - </executions>
142   - <configuration>
143   - <keystore>cassis.jks</keystore>
144   - <alias>certificat</alias>
145   - <storepass>{dCC5JS1OnVcHrOvu9pC6n7EzbASrDafLzK7JhWvZp7Q=}</storepass>
146   - <verbose>true</verbose>
147   - </configuration>
148   - </plugin>
149 113  
150 114 <!-- Generate model classes (voTable and voResource) from xsd schemas -->
151 115 <plugin>
... ... @@ -266,58 +230,4 @@
266 230 </dependency>
267 231 </dependencies>
268 232  
269   - <profiles>
270   - <!-- This profile is activated by the "-P jenkins" switch when run on the
271   - build server by Jenkins (continuous integration) -->
272   - <profile>
273   - <id>jenkins</id>
274   - <build>
275   - <plugins>
276   - <plugin>
277   - <artifactId>maven-enforcer-plugin</artifactId>
278   - <executions>
279   - <execution>
280   - <goals>
281   - <goal>enforce</goal>
282   - </goals>
283   - <configuration>
284   - <rules>
285   - <evaluateBeanshell>
286   - <!-- Jenkins should only build -SNAPSHOTs -->
287   - <condition>"${project.version}".endsWith("-SNAPSHOT")</condition>
288   - <message>Jenkins should only build -SNAPSHOT versions</message>
289   - </evaluateBeanshell>
290   - </rules>
291   - <fail>true</fail>
292   - </configuration>
293   - </execution>
294   - </executions>
295   - </plugin>
296   - </plugins>
297   - </build>
298   - </profile>
299   - </profiles>
300   -
301   - <!-- The repository where to deploy the project. -->
302   - <repositories>
303   - <repository>
304   - <id>IRAP-NEXUS</id>
305   - <url>https://nexus.irap.omp.eu/content/groups/public</url>
306   - </repository>
307   - </repositories>
308   -
309   - <!-- For using it, (with mvn deploy) it need the <server(s)> config on ~/m2/settings.xml
310   - with the logins for nexus. -->
311   - <distributionManagement>
312   - <repository>
313   - <id>deploymentIRAPReleases</id>
314   - <name>Releases (Nexus)</name>
315   - <url>https://nexus.irap.omp.eu/content/repositories/releases</url>
316   - </repository>
317   - <snapshotRepository>
318   - <id>deploymentIRAPSnapshots</id>
319   - <name>Snapshots (Nexus)</name>
320   - <url>https://nexus.irap.omp.eu/content/repositories/snapshots</url>
321   - </snapshotRepository>
322   - </distributionManagement>
323 233 </project>
... ...