blob: 8cc2d003a37c075f98452f08393a4dbc46649916 [file] [log] [blame]
Michael Lando4e33d892017-02-15 16:02:49 +02001<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/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03004
Pavel Aharonib90a1412017-03-29 14:27:51 +03005 <groupId>org.openecomp.sdc.sdc-distribution-client</groupId>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03006 <artifactId>sdc-main-distribution-client</artifactId>
Michael Lando8884c1d2017-03-15 19:44:41 +02007 <version>1.1.0-SNAPSHOT</version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +03008 <packaging>pom</packaging>
9
10 <modules>
11 <module>jython-tosca-parser</module>
12 <module>sdc-tosca-parser</module>
13 <module>sdc-distribution-client</module>
14 <module>sdc-distribution-ci</module>
15 </modules>
16
17 <properties>
18
19 <!-- ==================== -->
20 <!-- Generic properties -->
21 <!-- ==================== -->
22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
24 <!-- ==================== -->
25 <!-- Versions -->
26 <!-- ==================== -->
27 <!-- Global project version -->
28
29 <!-- Dependencies projects version -->
30 <org.glassfish.jersey.version>2.24</org.glassfish.jersey.version>
31 <functionaljava.version>4.2</functionaljava.version>
32 <httpclient.version>4.4.1</httpclient.version>
33 <commons-logging.version>1.2.1-SNAPSHOT</commons-logging.version>
Michael Lando4e33d892017-02-15 16:02:49 +020034 <httpcore.version>4.4.1</httpcore.version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030035 <logback.version>1.1.2</logback.version>
36 <junit.version>4.12</junit.version>
Michael Lando4e33d892017-02-15 16:02:49 +020037 <snakeyaml.version>1.14</snakeyaml.version>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030038
Michael Lando4e33d892017-02-15 16:02:49 +020039 <sonar.skipDesign>true</sonar.skipDesign>
40 <sonar.projectBaseDir>${project.basedir}</sonar.projectBaseDir>
ml636re5855182017-02-23 14:46:45 +020041 <sonar.jacoco.reportPath>${project.basedir}/target/jacoco.exec</sonar.jacoco.reportPath>
ig6133fe9130c2017-04-04 14:43:03 +030042 <nexus.proxy>https://nexus.onap.org</nexus.proxy>
43 <sitePath>/content/sites/site/org/openecomp/sdc-distribution-client/${project.version}</sitePath>
Pavel Aharoni1df0b722017-04-03 10:06:16 +030044 <snapshots.path>snapshots</snapshots.path>
45 <releases.path>releases</releases.path>
ml636re5855182017-02-23 14:46:45 +020046 <staging.profile.id>176c31dfe190a</staging.profile.id>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030047
Michael Lando4e33d892017-02-15 16:02:49 +020048 </properties>
Michael Lando4e33d892017-02-15 16:02:49 +020049 <reporting>
50 <plugins>
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-javadoc-plugin</artifactId>
54 <version>2.10.4</version>
55 <configuration>
56 <failOnError>false</failOnError>
57 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
58 <docletArtifact>
59 <groupId>org.umlgraph</groupId>
60 <artifactId>umlgraph</artifactId>
61 <version>5.6</version>
62 </docletArtifact>
63 <additionalparam>-views</additionalparam>
64 <useStandardDocletOptions>true</useStandardDocletOptions>
65 </configuration>
66 </plugin>
67 </plugins>
68 </reporting>
Pavel Aharonie2cc2532017-03-29 13:35:45 +030069
Michael Lando4e33d892017-02-15 16:02:49 +020070 <build>
71 <plugins>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-site-plugin</artifactId>
75 <version>3.4</version>
76 <dependencies>
77 <dependency>
78 <groupId>org.apache.maven.wagon</groupId>
79 <artifactId>wagon-webdav-jackrabbit</artifactId>
80 <version>2.10</version>
81 </dependency>
82 </dependencies>
83 </plugin>
84
85 <plugin>
86 <groupId>org.jacoco</groupId>
87 <artifactId>jacoco-maven-plugin</artifactId>
88 <version>0.7.8</version>
89 <executions>
90 <!-- Unit-Tests -->
91 <execution>
92 <id>prepare-agent</id>
93 <goals>
94 <goal>prepare-agent</goal>
95 </goals>
96 <configuration>
97 <destFile>${sonar.jacoco.reportPath}</destFile>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
102
ml636re5855182017-02-23 14:46:45 +0200103 <!-- Staging Plugin -->
104 <plugin>
105 <groupId>org.sonatype.plugins</groupId>
106 <artifactId>nexus-staging-maven-plugin</artifactId>
107 <version>1.6.7</version>
108 <extensions>true</extensions>
109 <configuration>
110 <nexusUrl>${nexus.proxy}</nexusUrl>
111 <stagingProfileId>${staging.profile.id}</stagingProfileId>
112 <serverId>ecomp-staging</serverId>
113 </configuration>
114 </plugin>
115
Michael Lando4e33d892017-02-15 16:02:49 +0200116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-compiler-plugin</artifactId>
119 <version>2.5.1</version>
120 <inherited>true</inherited>
121 <configuration>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300122 <source>1.8</source>
123 <target>1.8</target>
Michael Lando4e33d892017-02-15 16:02:49 +0200124 </configuration>
125 </plugin>
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-javadoc-plugin</artifactId>
129 <version>2.10.3</version>
130 <configuration/>
131 </plugin>
132 <plugin>
133 <groupId>org.codehaus.mojo</groupId>
134 <artifactId>license-maven-plugin</artifactId>
135 <version>1.10</version>
136 <configuration>
137 <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
138 <processStartTag>============LICENSE_START=======================================================</processStartTag>
139 <processEndTag>============LICENSE_END=========================================================</processEndTag>
140 <sectionDelimiter>================================================================================</sectionDelimiter>
141 <licenseName>apache_v2</licenseName>
142 <inceptionYear>2017</inceptionYear>
143 <organizationName>AT&amp;T Intellectual Property. All rights reserved.</organizationName>
144 <projectName>sdc-distribution-client</projectName>
145 <canUpdateCopyright>true</canUpdateCopyright>
146 <canUpdateDescription>true</canUpdateDescription>
147 <canUpdateLicense>true</canUpdateLicense>
148 <emptyLineAfterHeader>true</emptyLineAfterHeader>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300149 <verbose>false</verbose>
150 <includes>
151 <include>**/*.java</include>
152 </includes>
Michael Lando4e33d892017-02-15 16:02:49 +0200153 </configuration>
154 <executions>
155 <execution>
156 <id>first</id>
157 <goals>
158 <goal>update-file-header</goal>
159 </goals>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300160 <!--phase>process-sources</phase -->
Michael Lando4e33d892017-02-15 16:02:49 +0200161 </execution>
162 </executions>
163 </plugin>
164 </plugins>
165 </build>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300166
ml636r054e5672017-02-15 18:36:14 +0200167 <repositories>
168 <repository>
169 <id>central</id>
170 <name>Official Maven repository</name>
171 <url>http://repo2.maven.org/maven2/</url>
172 </repository>
173 <repository>
174 <id>ecomp-releases</id>
175 <name>Release Repository</name>
176 <url>${nexus.proxy}/content/repositories/releases/</url>
177 </repository>
178 <repository>
179 <id>ecomp-staging</id>
180 <name>Staging Repository</name>
181 <url>${nexus.proxy}/content/repositories/staging/</url>
182 </repository>
183 </repositories>
Michael Lando4e33d892017-02-15 16:02:49 +0200184
ml636r054e5672017-02-15 18:36:14 +0200185 <distributionManagement>
186 <repository>
187 <id>ecomp-releases</id>
188 <name>Release Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300189 <url>${nexus.proxy}/content/repositories/${releases.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200190 </repository>
191 <snapshotRepository>
192 <id>ecomp-snapshots</id>
193 <name>Snapshot Repository</name>
Pavel Aharoni1df0b722017-04-03 10:06:16 +0300194 <url>${nexus.proxy}/content/repositories/${snapshots.path}/</url>
ml636r054e5672017-02-15 18:36:14 +0200195 </snapshotRepository>
ig6133fe9130c2017-04-04 14:43:03 +0300196 <site>
197 <id>ecomp-site</id>
198 <url>dav:${nexus.proxy}${sitePath}</url>
199 </site>
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300200 </distributionManagement>
Michael Lando4e33d892017-02-15 16:02:49 +0200201
Pavel Aharonie2cc2532017-03-29 13:35:45 +0300202
Michael Lando4e33d892017-02-15 16:02:49 +0200203</project>
ml636re5855182017-02-23 14:46:45 +0200204