Move version.properties as its not configurable
[aaf/sms.git] / sms-client / java / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <groupId>org.onap.aaf.sms</groupId>
5     <artifactId>sms-client</artifactId>
6     <packaging>jar</packaging>
7     <version>2.0.0-SNAPSHOT</version>
8     <name>sms-client</name>
9
10     <properties>
11         <nexusproxy>https://nexus.onap.org</nexusproxy>
12         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
13         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
14         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
15         <sitePath>/content/sites/site/org/onap/aaf/sms/${project.artifactId}/${project.version}</sitePath>
16         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17         <maven.compiler.source>1.8</maven.compiler.source>
18         <maven.compiler.target>1.8</maven.compiler.target>
19     </properties>
20     <dependencies>
21         <dependency>
22             <groupId>org.json</groupId>
23             <artifactId>json</artifactId>
24             <version>20180130</version>
25         </dependency>
26         <dependency>
27             <groupId>junit</groupId>
28             <artifactId>junit</artifactId>
29             <version>4.12</version>
30         </dependency>
31     </dependencies>
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.apache.maven.plugins</groupId>
36                 <artifactId>maven-deploy-plugin</artifactId>
37                 <configuration>
38                     <skip>false</skip>
39                 </configuration>
40             </plugin>
41             <plugin>
42                 <groupId>org.sonatype.plugins</groupId>
43                 <artifactId>nexus-staging-maven-plugin</artifactId>
44                 <extensions>true</extensions>
45                 <configuration>
46                     <nexusUrl>${nexusproxy}</nexusUrl>
47                     <stagingProfileId>176c31dfe190a</stagingProfileId>
48                     <serverId>ecomp-staging</serverId>
49                 </configuration>
50             </plugin>
51             <plugin>
52                 <groupId>org.apache.maven.plugins</groupId>
53                 <artifactId>maven-shade-plugin</artifactId>
54                 <version>2.1</version>
55                 <executions>
56                     <execution>
57                         <phase>package</phase>
58                         <goals>
59                             <goal>shade</goal>
60                         </goals>
61                         <configuration>
62                             <transformers>
63                                 <transformer
64                                     implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
65                                     <mainClass>org.onap.aaf.sms.ClientTestRunner</mainClass>
66                                 </transformer>
67                             </transformers>
68                         </configuration>
69                     </execution>
70                 </executions>
71             </plugin>
72         </plugins>
73     </build>
74
75     <distributionManagement>
76         <repository>
77             <id>ecomp-releases</id>
78             <name>AAF SMS Release Repository</name>
79             <url>${nexusproxy}${releaseNexusPath}</url>
80         </repository>
81         <snapshotRepository>
82             <id>ecomp-snapshots</id>
83             <name>AAF SMS Snapshot Repository</name>
84             <url>${nexusproxy}${snapshotNexusPath}</url>
85         </snapshotRepository>
86         <site>
87             <id>ecomp-site</id>
88             <url>dav:${nexusproxy}${sitePath}</url>
89         </site>
90     </distributionManagement>
91
92 </project>