You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Harry Klerks <ha...@gmail.com> on 2008/01/25 11:30:42 UTC
How to regenerate the manifest for a binary artefact
Hi,
I have an EAR file (containing several modules and other dependencies) from
an external source that I want to integrate into my Maven based build
system.
The EAR file and its contents are built by an ANT based build system and
some of the artefacts do not comply with the Maven filenaming conventions (
i.e. they do not contain version numbers).
I have installed all the binaries in our own repository and created POMs for
them containing the (runtime) dependencies mentioned in the manifest
classpath.
But now the classpaths in the manifest files are incorrect because they do
not contain version numbers.
What I want to do is roughly the following:
- use dependency:unpack to unpack the archive
- skip compile phase and let Maven complete the build of the artefact
including generation of a correct manifest based on the POM that I installed
in the repository
- repackage
Question then is; is this the correct way to go about it and how can I
accomplish this?
Regards,
Harry Klerks