From bb2c903c416f09a3d7df86bf6358e851133635e9 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 9 Jan 2012 12:44:19 +0000 Subject: [PATCH] move application.properties with filtering to have runtime info to webapp-common to use it in webapp-js too git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1229119 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp-common/pom.xml | 71 ++++++++++++++++++- .../filtered-resources/application.properties | 0 .../archiva-web/archiva-webapp/pom.xml | 65 +---------------- 3 files changed, 71 insertions(+), 65 deletions(-) rename archiva-modules/archiva-web/{archiva-webapp => archiva-webapp-common}/src/main/filtered-resources/application.properties (100%) diff --git a/archiva-modules/archiva-web/archiva-webapp-common/pom.xml b/archiva-modules/archiva-web/archiva-webapp-common/pom.xml index 0ab71e5eb..8ca867cb3 100644 --- a/archiva-modules/archiva-web/archiva-webapp-common/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-common/pom.xml @@ -17,7 +17,8 @@ ~ specific language governing permissions and limitations ~ under the License. --> - + 4.0.0 org.apache.archiva @@ -226,4 +227,72 @@ + + + svn-buildnumber + + + .svn + + + + + + org.codehaus.mojo + buildnumber-maven-plugin + + + generate-resources + + create + + + + + false + false + + javasvn + + + + + + + + non-canonical-buildnumber + + + .svn + + + + + + org.codehaus.mojo + buildnumber-maven-plugin + + + generate-resources + + create + + + + + false + false + NON-CANONICAL_{0,date,yyyy-MM-dd_HH-mm}_{1} + + timestamp + ${user.name} + + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/filtered-resources/application.properties b/archiva-modules/archiva-web/archiva-webapp-common/src/main/filtered-resources/application.properties similarity index 100% rename from archiva-modules/archiva-web/archiva-webapp/src/main/filtered-resources/application.properties rename to archiva-modules/archiva-web/archiva-webapp-common/src/main/filtered-resources/application.properties diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 7a0a1cd43..9b61bef24 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -1355,70 +1355,7 @@ - - svn-buildnumber - - - .svn - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - - - generate-resources - - create - - - - - false - false - - javasvn - - - - - - - - non-canonical-buildnumber - - - .svn - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - - - generate-resources - - create - - - - - false - false - NON-CANONICAL_{0,date,yyyy-MM-dd_HH-mm}_{1} - - timestamp - ${user.name} - - - - - - + tdev -- 2.39.5