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]
