-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to build 0.5 version with maven #49
Comments
HI @czjczj20 - I'm seeing the same thing. If you remove SNAPSHOT from the pom.xml files where fcrepo 5.0.0 is reference it will build for you. I don't think SNAPSHOT is available on maven, for whatever reason, and that needs to be fixed. Taking out SNAPSHOT from the pom file will get you up and running though. |
my diff of the pom.xml file with changes:
|
Ticket created: https://jira.lyrasis.org/browse/FCREPO-3275 |
We should probably bump the |
This should now be resolved by: |
when I try to build source code into jar with maven and 0.5 verson fcrepo, it show me some errors:
G:\fcrepo-java-client-master\fcrepo-java-client-master>mvn clean install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.fcrepo.client:fcrepo-java-client:0.5.0-SNAPSHOT: Failure to find org.fcrepo:fcrepo-parent:pom:5.0.0-SNAPSHOT in http://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of snapshots-repo has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 11
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.fcrepo.client:fcrepo-java-client:0.5.0-SNAPSHOT (G:\fcrepo-java-client-master\fcrepo-java-client-master\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.fcrepo.client:fcrepo-java-client:0.5.0-SNAPSHOT: Failure to find org.fcrepo:fcrepo-parent:pom:5.0.0-SNAPSHOT in http://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of snapshots-repo has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 6, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The text was updated successfully, but these errors were encountered: