Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.5
-
Fix Version/s: 2.5
-
Component/s: WTP support
-
Labels:None
-
Environment:Maven 2.0.7 on Linux, WTP 2.0
-
Number of attachments :
Description
When using wtp 2.0 support MANIFEST.MF file is written to src/main/webapp/META-INF/MANIFEST.MF for webapplications (packaging WAR). According to the documentation this location is configurable using <manifest/>, which is silently ignored. The issues I have with this is a) that output is written to src/main (which is IMHO against maven conventions) and b) that the output location should be configurable according to docs, but is not.
My configuration in the pom.xml is like this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.5-SNAPSHOT</version>
<configuration>
<wtpversion>2.0</wtpversion>
<wtpmanifest>true</wtpmanifest>
</configuration>
</plugin>
For some discussion see also this thread on nabble.
A related issue to this one is MECLIPSE-389.
Issue Links
- is related to
-
MECLIPSE-389
After running "clean" phase, eclipse detects some errors due to missing folder.
-
The manifest parameter is now correctly used to generate the file. You can test the version maven-eclipse-plugin-2.5-20080309.224617-25 deployed on the snapshots repository.