Hi,

this is supported since version 2.5.
Read http://maven.apache.org/plugins/maven-install-plugin/examples/custom-pom-installation.html for the details.

thanks,
Robert

Op Mon, 13 Oct 2014 13:56:26 +0200 schreef Johan Ekesparr <johan....@gmail.com>:

Is there any way of installing the pom.xml file from inside an existing
artifact using the maven-install-plugin ?

Currently when we have an artifact created in a maven build the artifact
includes the pom.xml file. Using the goal install:install-file we can
install the arrtifact(jar-file) and the install plugin will read the
pom.xml insiden the artifact to get the groupId and name of the artifact
during the installation.
We would like the installer to also be able to extract and install the
pom.xml file from the artifact at the same time. I find it odd that it's
not done during the installation of the artifact since it's already reading
the pom.xml the logical step from my point of view is to also install it.

Currently I'm forced to create a small ant-script to extract the pom.xml
file and install it separatly.

So is it possible to do this with the current tool that I have missed or
could someone suggest a way to get this into the suggested improvment list
for the project ?

/J

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to