diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-02-20 17:20:50 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2018-02-20 17:34:38 -0800 |
commit | ee3592fab00d443c0e4c6296ca8bc7b0418874da (patch) | |
tree | 115c1f058d17d6d1bf11b3584debbd065f02a65a /veslibrary/ves_javalibrary/evel_javalib2 | |
parent | e3be135d1de6ba9318ae961d4c106370c626198f (diff) |
Correct pom file information
- Correct group ID
- Added needed properties
- Added plugins which the nexus staging depends on
- Added repositories
- Added distribution management
Change-Id: If16768126bd12e28573dafbbad0916c589edf5b5
Issue-ID: VNFSDK-198
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'veslibrary/ves_javalibrary/evel_javalib2')
-rw-r--r-- | veslibrary/ves_javalibrary/evel_javalib2/pom.xml | 82 |
1 files changed, 66 insertions, 16 deletions
diff --git a/veslibrary/ves_javalibrary/evel_javalib2/pom.xml b/veslibrary/ves_javalibrary/evel_javalib2/pom.xml index 40e499e..761cd46 100644 --- a/veslibrary/ves_javalibrary/evel_javalib2/pom.xml +++ b/veslibrary/ves_javalibrary/evel_javalib2/pom.xml @@ -1,33 +1,83 @@ <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>org.onap.vnfsdk.compliance</groupId> + <groupId>org.onap.vnfsdk.ves-agent</groupId> <artifactId>evel_javalib2</artifactId> <version>0.0.1-SNAPSHOT</version> <name>VESJavaLibrary</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <maven.compiler.source>1.7</maven.compiler.source> - <maven.compiler.target>1.7</maven.compiler.target> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>1.7</maven.compiler.source> + <maven.compiler.target>1.7</maven.compiler.target> <!-- If the maven profile "docker" is specified the parameter -Dves.git.url=<MsoGitRepo> must be provided i.e: mvn clean install -P docker -Dves.git.url=https://gerrit.onap.org/r--> - <ves.git.url>${env.GIT_NO_PROJECT}</ves.git.url> - <ves.project.version>${project.version}</ves.project.version> - </properties> + <ves.git.url>${env.GIT_NO_PROJECT}</ves.git.url> + <ves.project.version>${project.version}</ves.project.version> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <nexusproxy>https://nexus.onap.org</nexusproxy> + <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> + <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> + <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> + <sitePath>/content/sites/site/org/onap/vnfsdk-ves-agent/${project.version}</sitePath> + </properties> <repositories> - <repository> - <id>onap-snapshots</id> - <name>ONAP Snapshot Repository</name> - <url>http://nexus.onap.org/content/repositories/snapshots</url> - </repository> + <repository> + <id>ecomp-snapshots</id> + <name>Snapshot Repository</name> + <url>${nexusproxy}/${snapshotNexusPath}</url> + </repository> + <repository> + <id>ecomp-staging</id> + <name>Staging Repository</name> + <url>${nexusproxy}/${stagingNexusPath}</url> + </repository> </repositories> - - + + <distributionManagement> + <repository> + <id>ecomp-releases</id> + <name>Release Repository</name> + <url>${nexusproxy}/${releaseNexusPath}</url> + </repository> + <snapshotRepository> + <id>ecomp-snapshots</id> + <name>Snapshot Repository</name> + <url>${nexusproxy}/${snapshotNexusPath}</url> + </snapshotRepository> + <!-- added for javadoc --> + <site> + <id>ecomp-site</id> + <url>dav:${nexusproxy}${sitePath}</url> + </site> + </distributionManagement> <build> <sourceDirectory>src</sourceDirectory> <plugins> - <plugin> + <plugin> + <groupId>org.sonatype.plugins</groupId> + <artifactId>nexus-staging-maven-plugin</artifactId> + <version>1.6.7</version> + <extensions>true</extensions> + <configuration> + <nexusUrl>${nexusproxy}</nexusUrl> + <stagingProfileId>176c31dfe190a</stagingProfileId> + <serverId>ecomp-staging</serverId> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.6</version> + <dependencies> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-webdav-jackrabbit</artifactId> + <version>2.10</version> + </dependency> + </dependencies> + </plugin> + <plugin> <groupId>org.codehaus.groovy.maven</groupId> <artifactId>gmaven-plugin</artifactId> <executions> |