From 4c3df034d004483ddf589a0882298a3cfb861716 Mon Sep 17 00:00:00 2001 From: chrismathis Date: Thu, 23 Jan 2020 19:12:54 +0100 Subject: [PATCH] Use the flatten-maven-plugin to include the necessary version --- plugins/jnario-maven-plugin/pom.xml | 150 ++++++++++++-------- plugins/jnario-maven-report-plugin/pom.xml | 68 ++++++--- plugins/org.jnario.standalone.maven/pom.xml | 25 ++++ plugins/org.jnario.standalone/pom.xml | 2 - 4 files changed, 161 insertions(+), 84 deletions(-) diff --git a/plugins/jnario-maven-plugin/pom.xml b/plugins/jnario-maven-plugin/pom.xml index a93c942c2..26fec7a00 100644 --- a/plugins/jnario-maven-plugin/pom.xml +++ b/plugins/jnario-maven-plugin/pom.xml @@ -1,19 +1,20 @@ - 4.0.0 jnario-maven-plugin maven-plugin Jnario Maven Plugin org.jnario - + - ../.. - org.jnario - jnario - ${revision} - - - + ../.. + org.jnario + jnario + ${revision} + + + UTF-8 UTF-8 @@ -21,16 +22,16 @@ 3.6.2 - - xtend.release - https://oss.sonatype.org/content/repositories/central/ - - true - - - true - - + + xtend.release + https://oss.sonatype.org/content/repositories/central/ + + true + + + true + + @@ -38,16 +39,16 @@ org.eclipse.xtext.xbase ${xtext.version} - - org.eclipse.xtext - xtext-maven-plugin - ${xtext.version} - - - org.eclipse.xtext - org.eclipse.xtext.smap - ${xtext.version} - + + org.eclipse.xtext + xtext-maven-plugin + ${xtext.version} + + + org.eclipse.xtext + org.eclipse.xtext.smap + ${xtext.version} + org.jnario org.jnario.standalone @@ -61,26 +62,24 @@ org.apache.maven.plugin-tools maven-plugin-annotations - 3.4 - provided + 3.4 + provided - - org.apache.maven - maven-core - ${version.maven} - - - - org.eclipse.platform - org.eclipse.equinox.common - 3.10.0 - - + + org.apache.maven + maven-core + ${version.maven} + + + + org.eclipse.platform + org.eclipse.equinox.common + 3.10.0 + + @@ -113,12 +112,12 @@ maven-plugin-plugin 3.5.2 - - - default-descriptor - process-classes - - + + + default-descriptor + process-classes + + jnario @@ -160,10 +159,36 @@ 1.8 + + + org.codehaus.mojo + flatten-maven-plugin + 1.2.1 + + true + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + - + org.eclipse.m2e lifecycle-mapping @@ -201,19 +226,22 @@ Eclipse Public License v1.0 - All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.htm - + All rights reserved. This program and the accompanying + materials are made available under the terms of the Eclipse Public + License v1.0 which accompanies this distribution, and is available at + http://www.eclipse.org/legal/epl-v10.htm + - http://www.jnario.org/ - + http://www.jnario.org/ + 2012 Github Issues -https://github.com/sebastianbenz/Jnario/issues - + https://github.com/sebastianbenz/Jnario/issues + BMW Car IT diff --git a/plugins/jnario-maven-report-plugin/pom.xml b/plugins/jnario-maven-report-plugin/pom.xml index 916e109c5..b7adae0d8 100644 --- a/plugins/jnario-maven-report-plugin/pom.xml +++ b/plugins/jnario-maven-report-plugin/pom.xml @@ -1,4 +1,5 @@ - 4.0.0 report @@ -6,12 +7,12 @@ Jnario Maven Report Plugin org.jnario - - ../.. - org.jnario - jnario - ${revision} - + + ../.. + org.jnario + jnario + ${revision} + UTF-8 @@ -43,7 +44,7 @@ jnario-maven-plugin ${project.version} - + commons-lang commons-lang @@ -79,26 +80,50 @@ 1.3 test - - org.apache.maven.plugin-tools - maven-plugin-annotations - 3.4 - provided - + + org.apache.maven.plugin-tools + maven-plugin-annotations + 3.4 + provided + maven-plugin-plugin 3.5.2 - - - default-descriptor - process-classes - - + + + default-descriptor + process-classes + + + + + + + org.codehaus.mojo + flatten-maven-plugin + 1.2.1 + true + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + org.apache.maven.plugins @@ -167,7 +192,8 @@ - + org.eclipse.m2e lifecycle-mapping diff --git a/plugins/org.jnario.standalone.maven/pom.xml b/plugins/org.jnario.standalone.maven/pom.xml index ee0777bd2..ac10b5b53 100644 --- a/plugins/org.jnario.standalone.maven/pom.xml +++ b/plugins/org.jnario.standalone.maven/pom.xml @@ -79,8 +79,33 @@ + + + org.codehaus.mojo + flatten-maven-plugin + 1.2.1 + + true + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + maven-antrun-plugin 1.7 diff --git a/plugins/org.jnario.standalone/pom.xml b/plugins/org.jnario.standalone/pom.xml index 2cd21e685..fd12763da 100755 --- a/plugins/org.jnario.standalone/pom.xml +++ b/plugins/org.jnario.standalone/pom.xml @@ -13,6 +13,4 @@ org.jnario.standalone org.jnario.plugin eclipse-plugin - -