Probably not a bad idea. I've chewed through enough brain cells today. Thanks
-----Original Message----- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: September 19, 2007 03:37 PM To: Maven Users List Subject: Re: Maven install:install-file not working for sources Just copy and paste the jar (assuming it is named properly) into the directory under ~/.m2 and be done with it. You may have a "bad" version of the install plugin or you've run into a bug or something else entirely. Unless you are really inspired to figure it out, I'd just take the pragmatic route suggested above. Wayne On 9/19/07, Dave Rathnow <[EMAIL PROTECTED]> wrote: > > Nope. That doesn't work. These are separater sources that I got with > the download off the web. They are not sources from my project. > > Dave > > -----Original Message----- > From: Wayne Fay [mailto:[EMAIL PROTECTED] > Sent: September 19, 2007 03:09 PM > To: Maven Users List > Subject: Re: Maven install:install-file not working for sources > > Remove the generatePom and see if that helps. The pom should be > created when the Jar is installed. The sources and javadocs do not > write the pom. > > Also, if this is a project built by Maven, you can attach the sources > (and javadocs) to the build so they get automatically installed when > "mvn install" is called. > > Wayne > > On 9/19/07, Dave Rathnow <[EMAIL PROTECTED]> wrote: > > Could someone tell me how to install sources into the repository? > > As far as I can make out from the doc, the following command should work: > > > > mvn install:install-file > > -DgroupId=myGroupId-DartifactId=myArtifactId > > -Dfile=myArtifact-1.0-sources.jar -Dversion=1.0 -Dpackaging=jar > > -DgeneratePom=true -Dclassifier=sources > > > > but it doesn't. It overrides the original artifact, in this case my > > jar file. > > > > Dave. > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
