From d5dd6089610906a722435139da92f1914e9d951a Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Wed, 15 Feb 2017 22:48:51 +0300 Subject: [PATCH] Fix ${project.version} in maven archetype. Add default value for optimizationLevel --- tools/maven/webapp/pom.xml | 25 +++++++++++++++++++ .../resources/archetype-resources/pom.xml | 25 +++++++++++-------- 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/tools/maven/webapp/pom.xml b/tools/maven/webapp/pom.xml index 4db1b64ca..404096841 100644 --- a/tools/maven/webapp/pom.xml +++ b/tools/maven/webapp/pom.xml @@ -29,7 +29,32 @@ maven-archetype-plugin 2.2 + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + + + + + + src/main/resources + true + + archetype-resources/pom.xml + + + + src/main/resources + false + + archetype-resources/pom.xml + + + \ No newline at end of file diff --git a/tools/maven/webapp/src/main/resources/archetype-resources/pom.xml b/tools/maven/webapp/src/main/resources/archetype-resources/pom.xml index f146ba319..f2bc95a2d 100644 --- a/tools/maven/webapp/src/main/resources/archetype-resources/pom.xml +++ b/tools/maven/webapp/src/main/resources/archetype-resources/pom.xml @@ -2,9 +2,9 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - ${groupId} - ${artifactId} - ${version} + \${groupId} + \${artifactId} + \${version} war @@ -18,7 +18,7 @@ org.teavm teavm-classlib - ${teavm.version} + \${teavm.version} provided @@ -26,7 +26,7 @@ org.teavm teavm-jso-apis - ${teavm.version} + \${teavm.version} provided @@ -46,8 +46,8 @@ maven-compiler-plugin 3.1 - ${java.version} - ${java.version} + \${java.version} + \${java.version} @@ -58,7 +58,7 @@ - ${project.build.directory}/generated/js + \${project.build.directory}/generated/js @@ -68,7 +68,7 @@ org.teavm teavm-maven-plugin - ${teavm.version} + \${teavm.version} web-client @@ -78,10 +78,10 @@ - ${project.build.directory}/generated/js/teavm + \${project.build.directory}/generated/js/teavm - ${package}.Client + \${package}.Client @@ -96,6 +96,9 @@ true + + + ADVANCED