diff options
author | JoeOLeary <joseph.o.leary@est.tech> | 2019-11-08 15:59:50 +0000 |
---|---|---|
committer | JoeOLeary <joseph.o.leary@est.tech> | 2019-11-11 12:02:14 +0000 |
commit | 44b967ef19f5aec3a92db3026c7113ad816d682a (patch) | |
tree | 5f5916bf73a6e7ed4b0701b27385af101c8a27da /blueprint-generator/pom.xml | |
parent | 32b25b04e604a804616a1193087eeec4740ebc6a (diff) |
Update Blueprint Generator run procedure
Issue-ID: DCAEGEN2-1914
Signed-off-by: JoeOLeary <joseph.o.leary@est.tech>
Change-Id: I37855b0610f4c260edea5cd0e7222955ec0818a8
Diffstat (limited to 'blueprint-generator/pom.xml')
-rw-r--r-- | blueprint-generator/pom.xml | 67 |
1 files changed, 50 insertions, 17 deletions
diff --git a/blueprint-generator/pom.xml b/blueprint-generator/pom.xml index cb798d2..680473e 100644 --- a/blueprint-generator/pom.xml +++ b/blueprint-generator/pom.xml @@ -29,7 +29,7 @@ </parent> <groupId>org.onap.dcaegen2.platform.cli</groupId> <artifactId>blueprint-generator</artifactId> - <version>1.2.0-SNAPSHOT</version> + <version>1.2.1-SNAPSHOT</version> <properties> <maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.target>1.6</maven.compiler.target> @@ -40,7 +40,8 @@ <sonar.junit.reportsPath>${project.basedir}/target/surefire-reports</sonar.junit.reportsPath> <sonar.surefire.reportsPath>${project.basedir}/target/surefire-reports</sonar.surefire.reportsPath> <sonar.cobertura.reportPath>${project.basedir}/target/site/cobertura/coverage.xml</sonar.cobertura.reportPath> - + <shade.main>org.onap.blueprintgenerator.core.App</shade.main> + <shade.transformer>org.apache.maven.plugins.shade.resource.ManifestResourceTransformer</shade.transformer> </properties> <build> @@ -66,7 +67,6 @@ </execution> </executions> - </plugin> <plugin> @@ -115,7 +115,36 @@ <artifactId>sonar-maven-plugin</artifactId> <version>3.0.2</version> </plugin> - + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>3.2.1</version> + <executions> + <execution> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <shadedArtifactAttached>true</shadedArtifactAttached> + <shadedClassifierName>executable</shadedClassifierName> + <transformers> + <transformer + implementation="${shade.transformer}"> + <mainClass>${shade.main}</mainClass> + </transformer> + </transformers> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>8</source> + <target>8</target> + </configuration> + </plugin> </plugins> </build> @@ -139,26 +168,30 @@ <dependencies> <dependency> - <groupId>org.projectlombok</groupId> - <artifactId>lombok</artifactId> - <version>1.18.2</version> - <scope>provided</scope> - </dependency> - - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.2</version> - </dependency> - - <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>3.1.0</version> + <scope>test</scope> + </dependency> <dependency> + <groupId>info.picocli</groupId> + <artifactId>picocli</artifactId> + <version>3.9.6</version> + </dependency> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>1.18.2</version> + <scope>provided</scope> + </dependency> + <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> <version>2.9.8</version> |