Gokul Singaraju | 8b80537 | 2018-03-13 15:53:18 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <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">
|
| 3 | <parent>
|
| 4 | <artifactId>oparent</artifactId>
|
| 5 | <groupId>org.onap.oparent</groupId>
|
Victor Gao | 1bfae56 | 2019-07-18 19:51:06 +0800 | [diff] [blame^] | 6 | <version>2.0.0</version>
|
Gokul Singaraju | 8b80537 | 2018-03-13 15:53:18 -0400 | [diff] [blame] | 7 | <relativePath>../pom.xml/pom.xml</relativePath>
|
| 8 | </parent>
|
| 9 | <modelVersion>4.0.0</modelVersion>
|
| 10 | <groupId>org.onap.vnfsdk.ves-agent</groupId>
|
| 11 | <artifactId>evel_javalib2</artifactId>
|
| 12 | <name>vnfsdk-ves-agent-vesjavalibrary</name>
|
| 13 | <build>
|
| 14 | <plugins>
|
| 15 | <plugin>
|
| 16 | <artifactId>maven-compiler-plugin</artifactId>
|
| 17 | <version>3.5</version>
|
| 18 | <configuration>
|
| 19 | <source>1.8</source>
|
| 20 | <target>1.8</target>
|
| 21 | </configuration>
|
| 22 | </plugin>
|
| 23 | <plugin>
|
| 24 | <groupId>org.codehaus.mojo</groupId>
|
| 25 | <artifactId>build-helper-maven-plugin</artifactId>
|
| 26 | <version>1.9.1</version>
|
| 27 | <executions>
|
| 28 | <execution>
|
| 29 | <id>add-source</id>
|
| 30 | <phase>generate-sources</phase>
|
| 31 | <goals>
|
| 32 | <goal>add-source</goal>
|
| 33 | </goals>
|
| 34 | <configuration>
|
| 35 | <sources>
|
| 36 | <source>src/gen/java</source>
|
| 37 | </sources>
|
| 38 | </configuration>
|
| 39 | </execution>
|
| 40 | <execution>
|
| 41 | <id>regex-property</id>
|
| 42 | <goals>
|
| 43 | <goal>regex-property</goal>
|
| 44 | </goals>
|
| 45 | <configuration>
|
| 46 | <name>docker.version</name>
|
| 47 | <value>${project.version}</value>
|
| 48 | <regex>(^[0-9]+.[0-9]+.[0-9]+$)</regex>
|
| 49 | <replacement>$1-STAGING</replacement>
|
| 50 | <failIfNoMatch>false</failIfNoMatch>
|
| 51 | </configuration>
|
| 52 | </execution>
|
| 53 | </executions>
|
| 54 | </plugin>
|
| 55 | <plugin>
|
| 56 | <artifactId>maven-shade-plugin</artifactId>
|
| 57 | <version>2.4.3</version>
|
| 58 | <executions>
|
| 59 | <execution>
|
| 60 | <phase>package</phase>
|
| 61 | <goals>
|
| 62 | <goal>shade</goal>
|
| 63 | </goals>
|
| 64 | <configuration>
|
| 65 | <transformers>
|
| 66 | <transformer />
|
| 67 | <transformer>
|
| 68 | <mainClass>org.onap.dcae.inventory.InventoryApplication</mainClass>
|
| 69 | </transformer>
|
| 70 | </transformers>
|
| 71 | </configuration>
|
| 72 | </execution>
|
| 73 | </executions>
|
| 74 | </plugin>
|
| 75 | <plugin>
|
| 76 | <groupId>com.spotify</groupId>
|
| 77 | <artifactId>docker-maven-plugin</artifactId>
|
| 78 | <version>1.0.0</version>
|
| 79 | <configuration>
|
| 80 | <imageName>${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}</imageName>
|
| 81 | <baseImage>openjdk:8-jre</baseImage>
|
| 82 | <entryPoint>["java", "-jar", "/opt/${project.build.finalName}.jar", "server"]</entryPoint>
|
| 83 | <resources>
|
| 84 | <resource>
|
| 85 | <targetPath>/opt</targetPath>
|
| 86 | <directory>${project.build.directory}</directory>
|
| 87 | <include>${project.build.finalName}.jar</include>
|
| 88 | </resource>
|
| 89 | </resources>
|
| 90 | <exposes>
|
| 91 | <expose>8080</expose>
|
| 92 | </exposes>
|
| 93 | <imageTags>
|
| 94 | <imageTag>${project.version}-${maven.build.timestamp}</imageTag>
|
| 95 | <imageTag>latest</imageTag>
|
| 96 | </imageTags>
|
| 97 | <serverId>${onap.nexus.dockerregistry.daily}</serverId>
|
| 98 | </configuration>
|
| 99 | </plugin>
|
| 100 | <plugin>
|
| 101 | <artifactId>maven-site-plugin</artifactId>
|
| 102 | <version>3.6</version>
|
| 103 | <dependencies>
|
| 104 | <dependency>
|
| 105 | <groupId>org.apache.maven.wagon</groupId>
|
| 106 | <artifactId>wagon-webdav-jackrabbit</artifactId>
|
| 107 | <version>2.10</version>
|
| 108 | </dependency>
|
| 109 | </dependencies>
|
| 110 | </plugin>
|
| 111 | <plugin>
|
| 112 | <groupId>org.codehaus.mojo</groupId>
|
| 113 | <artifactId>sonar-maven-plugin</artifactId>
|
| 114 | <version>3.2</version>
|
| 115 | </plugin>
|
| 116 | <plugin>
|
| 117 | <groupId>org.sonatype.plugins</groupId>
|
| 118 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 119 | <version>1.6.7</version>
|
| 120 | <extensions>true</extensions>
|
| 121 | <configuration>
|
| 122 | <serverId>ecomp-staging</serverId>
|
| 123 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 124 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 125 | </configuration>
|
| 126 | </plugin>
|
| 127 | <plugin>
|
| 128 | <artifactId>maven-surefire-plugin</artifactId>
|
| 129 | <version>2.20.1</version>
|
| 130 | <dependencies>
|
| 131 | <dependency>
|
| 132 | <groupId>org.apache.maven.surefire</groupId>
|
| 133 | <artifactId>surefire-junit47</artifactId>
|
| 134 | <version>2.20.1</version>
|
| 135 | </dependency>
|
| 136 | </dependencies>
|
| 137 | </plugin>
|
| 138 | </plugins>
|
| 139 | </build>
|
| 140 | <repositories>
|
| 141 | <repository>
|
| 142 | <id>ecomp-snapshots</id>
|
| 143 | <name>Snapshot Repository</name>
|
| 144 | <url>${nexusproxy}/${snapshotNexusPath}</url>
|
| 145 | </repository>
|
| 146 | <repository>
|
| 147 | <id>ecomp-staging</id>
|
| 148 | <name>Staging Repository</name>
|
| 149 | <url>${nexusproxy}/${stagingNexusPath}</url>
|
| 150 | </repository>
|
| 151 | </repositories>
|
| 152 | <dependencies>
|
| 153 | <dependency>
|
| 154 | <groupId>junit</groupId>
|
| 155 | <artifactId>junit</artifactId>
|
| 156 | <version>4.12</version>
|
| 157 | <scope>test</scope>
|
| 158 | <exclusions>
|
| 159 | <exclusion>
|
| 160 | <artifactId>hamcrest-core</artifactId>
|
| 161 | <groupId>org.hamcrest</groupId>
|
| 162 | </exclusion>
|
| 163 | </exclusions>
|
| 164 | </dependency>
|
| 165 | <dependency>
|
| 166 | <groupId>org.mockito</groupId>
|
| 167 | <artifactId>mockito-all</artifactId>
|
| 168 | <version>2.0.2-beta</version>
|
| 169 | <scope>test</scope>
|
| 170 | </dependency>
|
| 171 | <dependency>
|
| 172 | <groupId>org.powermock</groupId>
|
| 173 | <artifactId>powermock-module-junit4</artifactId>
|
| 174 | <version>1.6.5</version>
|
| 175 | <scope>test</scope>
|
| 176 | <exclusions>
|
| 177 | <exclusion>
|
| 178 | <artifactId>powermock-module-junit4-common</artifactId>
|
| 179 | <groupId>org.powermock</groupId>
|
| 180 | </exclusion>
|
| 181 | </exclusions>
|
| 182 | </dependency>
|
| 183 | <dependency>
|
| 184 | <groupId>org.powermock</groupId>
|
| 185 | <artifactId>powermock-api-mockito</artifactId>
|
| 186 | <version>1.6.5</version>
|
| 187 | <scope>test</scope>
|
| 188 | <exclusions>
|
| 189 | <exclusion>
|
| 190 | <artifactId>mockito-core</artifactId>
|
| 191 | <groupId>org.mockito</groupId>
|
| 192 | </exclusion>
|
| 193 | <exclusion>
|
| 194 | <artifactId>powermock-api-mockito-common</artifactId>
|
| 195 | <groupId>org.powermock</groupId>
|
| 196 | </exclusion>
|
| 197 | <exclusion>
|
| 198 | <artifactId>hamcrest-core</artifactId>
|
| 199 | <groupId>org.hamcrest</groupId>
|
| 200 | </exclusion>
|
| 201 | </exclusions>
|
| 202 | </dependency>
|
| 203 | </dependencies>
|
| 204 | <reporting>
|
| 205 | <plugins>
|
| 206 | <plugin>
|
| 207 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 208 | <version>2.10.4</version>
|
| 209 | <configuration>
|
| 210 | <failOnError>false</failOnError>
|
| 211 | <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
|
| 212 | <docletArtifact>
|
| 213 | <groupId>org.umlgraph</groupId>
|
| 214 | <artifactId>umlgraph</artifactId>
|
| 215 | <version>5.6</version>
|
| 216 | </docletArtifact>
|
| 217 | <additionalparam>-views</additionalparam>
|
| 218 | <useStandardDocletOptions>true</useStandardDocletOptions>
|
| 219 | </configuration>
|
| 220 | </plugin>
|
| 221 | </plugins>
|
| 222 | </reporting>
|
| 223 | <properties>
|
| 224 | <dropwizard.version>1.1.1</dropwizard.version>
|
| 225 | <ves.git.url>${env.GIT_NO_PROJECT}</ves.git.url>
|
| 226 | <sitePath>content/sites/site/org/onap/vnfsdk-ves-agent/${project.version}</sitePath>
|
| 227 | <stagingNexusPath>content/repositories/staging/</stagingNexusPath>
|
| 228 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
| 229 | <releaseNexusPath>content/repositories/releases/</releaseNexusPath>
|
Jessica Wagantall | 4ba9e7c | 2018-04-04 18:26:29 -0700 | [diff] [blame] | 230 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
|
Tim Jones | d63199d | 2018-04-17 11:13:19 +0100 | [diff] [blame] | 231 | <sonar.exclusions>src_test/evel_javalibrary/att/com/maindir/Main.java, src/test/java/*</sonar.exclusions>
|
Gokul Singaraju | 8b80537 | 2018-03-13 15:53:18 -0400 | [diff] [blame] | 232 | <swagger-core.version>1.5.8</swagger-core.version>
|
| 233 | <snapshots.path>content/repositories/snapshots/</snapshots.path>
|
| 234 | <logback.version>1.2.3</logback.version>
|
| 235 | <site.path>content/sites/site/org/onap/vnfsdk-ves-agent/${project.version}/</site.path>
|
| 236 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
| 237 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 238 | <ves.project.version>${project.version}</ves.project.version>
|
| 239 | <releases.path>content/repositories/releases/</releases.path>
|
| 240 | <ecomp.inceptionYear>2017</ecomp.inceptionYear>
|
| 241 | <ecomp.organizationName>AT&T Intellectual Property. All rights reserved.</ecomp.organizationName>
|
| 242 | <snapshotNexusPath>content/repositories/snapshots/</snapshotNexusPath>
|
| 243 | </properties>
|
| 244 | </project>
|
| 245 |
|