Then, install it using the command:
   mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.cluster.mgt.admin.server.feature
-Dversion=3.1.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
   mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.cluster.mgt.admin.server.feature
-Dversion=3.1.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


 
org.wso2.carbon:org.wso2.carbon.cluster.mgt.admin.server.feature:zip:3.1.0-SNAPSHOT

from the specified remote repositories:
 wso2-maven2-snapshot-repository (http://dist.wso2.org/snapshots/maven2),
 central (http://repo1.maven.org/maven2),
 wso2-maven2-repository (http://dist.wso2.org/maven2)


       at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
       at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
       at
org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
       ... 21 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
       at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:349)
       at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
       ... 23 more
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] ERROR

Thanks,
Samisa...

Samisa Abeysinghe
VP Engineering
WSO2 Inc.
http://wso2.com
http://wso2.org
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to