You can manually copy these jars in your repository if it's not a repetitive task.
Otherwise you can define a project.xml and a goal in your maven.xml file like this :
<!--==================================================================-->
<!-- Deploys the XXX to the remote repository -->
<!--==================================================================-->
<goal name="XXX:deploy"
description="Deploys the XXX to the remote repository">
<deploy:artifact
artifact="ZZZZZ/AAAA.jar"
type="jars"
assureDirectoryCommand="mkdir -p"
/>
</goal>
Arnaud
> -----Message d'origine-----
> De : Antonio Bemfica [mailto:[EMAIL PROTECTED]
> Envoy� : mardi 1 juin 2004 16:43
> � : Maven Users List
> Objet : Re: Adding artifacts to local repository - how?
>
>
> I do not have the source to create the jars. These are 3rd
> party libraries. From the docs on the plugin it appears that
> the jar:install goal would trigger the jar:jar goal to create
> the jar from source (which I don't have...).
>
> A.
>
> On Tue, 2004-06-01 at 08:49, Brill Pappin wrote:
>
> > whats wrong with jar:install?
> >
> > - Brill Pappin
> >
> > Antonio Bemfica wrote:
> >
> > >Hello - I'm new to Maven and am having some difficulty with what I
> > >thought would be a simple task. I would like to add a few
> artifacts
> > >(jar
> > >files) to my local repository. I have tried to use artifact:install
> >
> >(http://maven.apache.org/reference/plugins/artifact/tags.html
#artifact%3Ainstall) with the command below:
> >
> >%maven -Dmaven.home.local=/red/home/maven artifact:install
> >-Dartifact=mymail.api -Dtype=jar
> >
> >but I get the following result:
> >
> >
> >
> >>BUILD FAILED
> >>Goal "artifact:install" does not exist in this project.
> >>
> >>
> >
> >Is there a better way to add my own artifacts to the local
> >repository? What would that be? Or if the artifact:install method is
> >the way to do it, what am I missing? Any help would be most
> >appreciated.
> >
> >Thanks
> >
> >Antonio
> >
> >
> >
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]