Resources didn't get packaged in EAR
------------------------------------
Key: MNG-4467
URL: http://jira.codehaus.org/browse/MNG-4467
Project: Maven 2
Issue Type: Bug
Components: Bootstrap & Build
Affects Versions: 2.2.1
Environment: "linux" version: "2.6.5-7.244-smp" arch: "i386"
Reporter: Deepak Chavan
Priority: Minor
While building an enterprise application, resources folder didn't get packaged
in ear file since apache-maven-2.0.9.
----------------------------------------------------------------------------------
[INFO] Copying artifact[jar:org.apache.axis:axis-ant:1.4]
to[lib/axis-ant-1.4.jar]
[INFO] Copying artifact[jar:com.sun.xml:saaj-impl:1.6] to[lib/saaj-impl-1.6.jar]
...
...
...
[INFO] Copy ear resources to /home/project/........
----------------------------------------------------------------------------------
Now i have to provide an extra parameter in pom.xml (maven-ear-plugin-2.3.1)
<resourcesDir>${project.build.outputDirectory}/classes</resourcesDir>
this resolves my issue.
But our application contains multiple corporate projects and I have to change
every pom.xml to resolve this issue.
Thanks,
Deepak
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira