Thanks for the reply. It tells me the reason for the "BUILD FAILED"
message. Perhaps I should rephrase my question:

        Is there a sanctioned/accepted/"right" way of adding local
        artifacts to a local repository?

I had a look at the repository plugin and found that the command below
works well:
        
        maven repository:copy-jar
        -Dartifact=mymail.jar
        -DgroupId=myown
        -Dmaven.repo.central=localhost
        -Dmaven.repo.central.directory=/red/home/maven/repository
        -Dmaven.username=maven
        
I have no qualms admitting my ignorance on the matter, so any
clarification here would be welcomed.

A.

On Mon, 2004-05-31 at 16:10, Chuck Daniels wrote:

> The artifact plugin does not define any goals.  It defines tags.  See the
> docs: http://maven.apache.org/reference/plugins/artifact/index.html.
> 
> > -----Original Message-----
> > From: Antonio Bemfica [mailto:[EMAIL PROTECTED]
> > Sent: Monday, May 31, 2004 3:51 PM
> > To: [EMAIL PROTECTED]
> > Subject: Adding artifacts to local repository - how?
> >
> >
> > 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#arti
> > fact%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]

Reply via email to