Skip to content
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

compiling latest git version fails at prov-rdf #44

Closed
satra opened this issue Dec 12, 2012 · 9 comments
Closed

compiling latest git version fails at prov-rdf #44

satra opened this issue Dec 12, 2012 · 9 comments

Comments

@satra
Copy link
Contributor

satra commented Dec 12, 2012

on osx 10.8.2

[ERROR] Failed to execute goal on project prov-rdf: Could not resolve dependencies for project org.openprovenance.prov:prov-rdf:jar:0.0.3-SNAPSHOT: The following artifacts could not be resolved: org.openprovenance.prov:prov-n:jar:tests:0.0.3-SNAPSHOT, org.openprovenance.prov:prov-xml:jar:tests:0.0.3-SNAPSHOT: Failure to find org.openprovenance.prov:prov-n:jar:tests:0.0.3-SNAPSHOT in http://repo.aduna-software.org/maven2/releases was cached in the local repository, resolution will not be reattempted until the update interval of aduna-opensource.releases has elapsed or updates are forced -> [Help 1]

@lucmoreau
Copy link
Owner

I suspect it's the same issue as #20
#20

I am don't know what happens here. See
https://github.com/lucmoreau/ProvToolbox/wiki/ProvToolbox-Home

Suggestion welcome!

Professor Luc Moreau
Electronics and Computer Science
University of Southampton
Southampton SO17 1BJ
United Kingdom

On 12 Dec 2012, at 18:13, "Satrajit Ghosh" <notifications@github.commailto:notifications@github.com> wrote:

on osx 10.8.2

[ERROR] Failed to execute goal on project prov-rdf: Could not resolve dependencies for project org.openprovenance.prov:prov-rdf:jar:0.0.3-SNAPSHOT: The following artifacts could not be resolved: org.openprovenance.prov:prov-n:jar:tests:0.0.3-SNAPSHOT, org.openprovenance.prov:prov-xml:jar:tests:0.0.3-SNAPSHOT: Failure to find org.openprovenance.prov:prov-n:jar:tests:0.0.3-SNAPSHOT in http://repo.aduna-software.org/maven2/releases was cached in the local repository, resolution will not be reattempted until the update interval of aduna-opensource.releases has elapsed or updates are forced -> [Help 1]


Reply to this email directly or view it on GitHubhttps://github.com//issues/44.

@satra
Copy link
Contributor Author

satra commented Dec 13, 2012

it seems like this does the trick:

$ export MAVEN_OPTS=-Xmx512m
$ mvn install

@satra satra closed this as completed Dec 13, 2012
@lucmoreau
Copy link
Owner

Thanks, Satra, it did for me too, I'll close the related issue and update the wiki.

Professor Luc Moreau
Electronics and Computer Science
University of Southampton
Southampton SO17 1BJ
United Kingdom

On 13 Dec 2012, at 02:27, "Satrajit Ghosh" <notifications@github.commailto:notifications@github.com> wrote:

it seems like this does the trick:

$ export MAVEN_OPTS=-Xmx512m
$ mvn install


Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-11319862.

@idea-launch-lab
Copy link

Hi,
I am trying to use ProvToolbox0.4.0 on Linux RedHat el6 CentOS but am failing to build prov-xml due to error below. I can't seem to find repositories for 0.4.0 at http://mvnrepository.com/artifact/org.openprovenance.prov. I am using default pom.xml that came with ProvToolbox source code.
Thanks.
Sid

[provtoolbox0.4.0/prov-xml]$ sudo mvn install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building PROV-XML 0.4.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.024s
[INFO] Finished at: Tue Jul 21 14:41:14 EDT 2015
[INFO] Final Memory: 5M/239M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project prov-xml: Could not resolve dependencies for project org.openprovenance.prov:prov-xml:jar:0.4.0: Failed to collect dependencies for [org.openprovenance.prov:prov-model:jar:0.4.0 (compile), javax.xml.bind:jaxb-api:jar:2.2.4 (compile), org.jvnet.jaxb2_commons:runtime:jar:0.4.1.5 (compile), commons-collections:commons-collections:jar:3.2.1 (compile), log4j:log4j:jar:1.2.17 (compile), junit:junit:jar:4.11 (test)]: Failed to read artifact descriptor for org.openprovenance.prov:prov-model:jar:0.4.0: Failure to find org.openprovenance.prov:ProvToolbox:pom:0.4.0 in http://download.java.net/maven/2 was cached in the local repository, resolution will not be reattempted until the update interval of maven2-repository.dev.java.net has elapsed or updates are forced -> [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/DependencyResolutionException

@lucmoreau
Copy link
Owner

Hi,
The latest is 0.6.2, whereas you are trying to compile 0.4.0.
You need to check out the latest version. Only 0.6.2 and 0.6.1 can
be found in maven central.
Luc

@idea-launch-lab
Copy link

@lucmoreau Thanks; But a project I am using depends on 0.4.0, how can I link to that version? Thanks.

@lucmoreau
Copy link
Owner

No, the maven artefacts were not published then.

You will need to recompile the whole source tree, starting from the root, and not from the subproject prov-xml

Luc

@lucmoreau
Copy link
Owner

Btw, I really advise to upgrade!

@idea-launch-lab
Copy link

Cool, thanks for the updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants