By the way here is my Maven build section:
| <build> |
| <finalName>rich-test</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.1.1</version> |
| |
| | | | <configuration> |
| | | | | | <archive> |
| | | | | | | <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> |
| <!-- |
| | | | | | <manifestEntries> |
| | | | | | <Dependencies>${jboss.dependencies}</Dependencies> |
| | | | </manifestEntries> |
| --> |
| | | | </archive> |
| | | </configuration> |
| </plugin> |
| </plugins> |
| </build> |
It doesn't matter whether i try and include a key/value pair as an entry or specify a pre-created MANIFEST.MF file. In either circumstance Maven truncates the Dependencies line.