You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by rajuchacha007 <ab...@gmail.com> on 2009/10/29 11:17:53 UTC
[jira] Maven and nexus repositroy deployment
Hi all,
I am using maven for building deployable artifacts. Whenever I run mvn
deploy command, error occurs. I am also using nexus for the actual artifact
deployment.
Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository'
cannot be instantiated
Both pom.xml and settings.xml are modified accordingly. No issue about it.
But still I am getting this error. If anyone has faced this problem and if
you have got any clue, please let me know. Thank you very much.
--
View this message in context: http://www.nabble.com/Maven-and-nexus-repositroy-deployment-tp26110419p26110419.html
Sent from the Maven - Issues mailing list archive at Nabble.com.
Re: [jira] Maven and nexus repositroy deployment
Posted by rajuchacha007 <ab...@gmail.com>.
Hello there!!!!!!!
Problem is solved. What I did was, executing mvn deploy:deploy-file
-Durl=file://C:\m2-repo \
-DrepositoryId=some.id \
-Dfile=your-artifact-1.0.jar \
[-DpomFile=your-pom.xml] \
[-DgroupId=org.some.group] \
[-DartifactId=your-artifact] \
[-Dversion=1.0] \
[-Dpackaging=jar] \
[-Dclassifier=test] \
[-DgeneratePom=true] \
[-DgeneratePom.description="My Project Description"]
\
[-DrepositoryLayout=legacy] \
[-DuniqueVersion=false]
command. But having a classical view, if I want to deploy a project via
nexus what steps should be taken? Thanks in advance.
rajuchacha007 wrote:
>
> Hi all,
>
> I am using maven for building deployable artifacts. Whenever I run mvn
> deploy command, error occurs. I am also using nexus for the actual
> artifact deployment.
>
> Cause: Class 'org.apache.maven.artifact.repository.ArtifactRepository'
> cannot be instantiated
>
> Both pom.xml and settings.xml are modified accordingly. No issue about it.
> But still I am getting this error. If anyone has faced this problem and if
> you have got any clue, please let me know. Thank you very much.
>
--
View this message in context: http://old.nabble.com/Maven-and-nexus-repositroy-deployment-tp26110419p26127572.html
Sent from the Maven - Issues mailing list archive at Nabble.com.