I am getting the following error when building 4.0.5 kernel patch release
branch. It seems 4.0.4 release artifacts are not in the public m2 repo.

Rajika

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5:p2-feature-gen
(4-p2-feature-generation) on project org.wso2.carbon.core.common.feature:
ERROR: Could not find artifact
org.wso2.carbon:org.wso2.carbon.core:jar:4.0.4 in wso2-nexus (
http://maven.wso2.org/nexus/content/groups/wso2-public/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.core -Dversion=4.0.4 -Dpackaging=jar
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon
-DartifactId=org.wso2.carbon.core -Dversion=4.0.4 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.wso2.carbon:org.wso2.carbon.core:jar:4.0.4
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/,
releases=true, snapshots=true),
[ERROR] central (http://repo1.maven.org/maven2, releases=true,
snapshots=false)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :org.wso2.carbon.core.common.feature
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to