I want to create a maven profile called "init", such
that a person would type:   $mvn init

and this profile would take jars from the lib/ directory
(on the same level as the pom.xml)
and install every jar in the lib (and subdirectories)
into the local maven repo only.

I have many docs on maven profiles, but no good
examples on integrating that with another plugin
where I could use XML (pom.xml) to configure and install
jars to the local repo.

if anyone has done this and has a code sample
they can post please send.  I have read all
the docs that are available on the subject
and do not need to be pointed there
as I have read and googled all the 
documentation for about 3 hrs with
no resolution.

What I am looking for is the ability to type
        $mvn init
        
and have all jars under lib/ get installed to
the local maven repo (and all /lib/<dir>/*.jar
and so on.

thank you for your assistance
-- 
View this message in context: 
http://www.nabble.com/How-to-install-jars-into-local-maven-repo-%28with-%24mvn-%3Ctarget%3E%29---want-to-configure-init-profile-in-pom.xml-tp24729720p24729720.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to