From 0b170a81064833bccbd063d5138e7ddd9f6cf939 Mon Sep 17 00:00:00 2001 From: felipeal Date: Tue, 16 Nov 2004 06:01:44 +0000 Subject: [PATCH] fix for MPEAR-27: using lib.name instead of lib.file.name as the name of the dependency (so it uses the right name when maven.jar.overrides is set to true git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116238 13f79535-47bb-0310-9956-ffa450edef68 --- ear/plugin.jelly | 2 +- ear/src/plugin-test/test06/maven.xml | 44 ++++++++++++++++++ ear/src/plugin-test/test06/project.properties | 17 +++++++ ear/src/plugin-test/test06/project.xml | 46 +++++++++++++++++++ ear/xdocs/changes.xml | 1 + 5 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 ear/src/plugin-test/test06/maven.xml create mode 100644 ear/src/plugin-test/test06/project.properties create mode 100644 ear/src/plugin-test/test06/project.xml diff --git a/ear/plugin.jelly b/ear/plugin.jelly index 4200a24c..e27e7db5 100644 --- a/ear/plugin.jelly +++ b/ear/plugin.jelly @@ -106,7 +106,7 @@ - + diff --git a/ear/src/plugin-test/test06/maven.xml b/ear/src/plugin-test/test06/maven.xml new file mode 100644 index 00000000..035ff053 --- /dev/null +++ b/ear/src/plugin-test/test06/maven.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ear/src/plugin-test/test06/project.properties b/ear/src/plugin-test/test06/project.properties new file mode 100644 index 00000000..ac903d50 --- /dev/null +++ b/ear/src/plugin-test/test06/project.properties @@ -0,0 +1,17 @@ +# ------------------------------------------------------------------- +# Copyright 2001-2004 The Apache Software Foundation. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ------------------------------------------------------------------- +maven.jar.override=on +maven.jar.fakeSar=project.xml diff --git a/ear/src/plugin-test/test06/project.xml b/ear/src/plugin-test/test06/project.xml new file mode 100644 index 00000000..b78e32fd --- /dev/null +++ b/ear/src/plugin-test/test06/project.xml @@ -0,0 +1,46 @@ + + + + + 3 + Test project for Maven Ear Plugin 06 + test-maven-ear-plugin-06 + 2004 + Makes sure a SAR dependency is bundled + Makes sure a SAR dependency is bundled (see issues MPEAR-3 and MPEAR-10) + + + + Felipe Leme + felipeal + Jelly Developer + + + + + ${pom.groupId} + fakeSar + 1.0 + sar + + true + + + + diff --git a/ear/xdocs/changes.xml b/ear/xdocs/changes.xml index 5264718a..6adfc778 100644 --- a/ear/xdocs/changes.xml +++ b/ear/xdocs/changes.xml @@ -25,6 +25,7 @@ + Fixed the name of the bundled dependency when maven.jar.overrides is used. Properties maven.ear.src and maven.ear.resources now cannot have the same value. application.xml is now generated at maven.build.dir Add new property dependency (ear.bundle.name) to define the name a dependency should have the EAR.