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

UnifiedViews/Core build fails on T-RDFMerger #218

Closed
hanecak opened this issue Oct 29, 2014 · 4 comments
Closed

UnifiedViews/Core build fails on T-RDFMerger #218

hanecak opened this issue Oct 29, 2014 · 4 comments

Comments

@hanecak
Copy link

hanecak commented Oct 29, 2014

What I did just few minutes ago, with UnifiedViews checkout out some times ago:

git checkout master
git pull
mvn clean
mvn package

Shortened output at the end:

...
[INFO] Building T-RDFMerger 1.3.1
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dpu-api-helpers/1.0.1/uv-dpu-api-helpers-1.0.1.jar
Downloading: http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dataunit-files/1.0.1/uv-dataunit-files-1.0.1.jar
Downloading: http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dpu-api/1.0.1/uv-dpu-api-1.0.1.jar
Downloading: http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dataunit-rdf/1.0.1/uv-dataunit-rdf-1.0.1.jar
Downloading: http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dataunit-helpers/1.0.1/uv-dataunit-helpers-1.0.1.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ODCleanStore ...................................... SUCCESS [2.781s]
[INFO] dataunit .......................................... SUCCESS [5.310s]
[INFO] dataunit-file ..................................... SUCCESS [26.613s]
[INFO] dataunit-file-impl ................................ SUCCESS [4.545s]
[INFO] dataunit-rdf ...................................... SUCCESS [3.996s]
[INFO] dataunit-rdf-impl ................................. SUCCESS [3.496s]
[INFO] commons-app ....................................... SUCCESS [50.787s]
[INFO] frontend .......................................... SUCCESS [4:03.447s]
[INFO] backend ........................................... SUCCESS [17.281s]
[INFO] lib ............................................... SUCCESS [0.011s]
[INFO] lib-core .......................................... SUCCESS [0.761s]
[INFO] module-test ....................................... SUCCESS [2.295s]
[INFO] T-RDFMerger ....................................... FAILURE [1.527s]
[INFO] T-FilesMerger ..................................... SKIPPED
[INFO] uv-core-dpus ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6:03.845s
[INFO] Finished at: Wed Oct 29 21:06:45 CET 2014
[INFO] Final Memory: 76M/765M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project uv-t-rdfMerger: Could not resolve dependencies for project eu.unifiedviews.plugins:uv-t-rdfMerger:bundle:1.3.1: The following artifacts could not be resolved: eu.unifiedviews:uv-dpu-api:jar:1.0.1, eu.unifiedviews:uv-dpu-api-helpers:jar:1.0.1, eu.unifiedviews:uv-dataunit-rdf:jar:1.0.1, eu.unifiedviews:uv-dataunit-files:jar:1.0.1, eu.unifiedviews:uv-dataunit-helpers:jar:1.0.1: Could not find artifact eu.unifiedviews:uv-dpu-api:jar:1.0.1 in central (http://repo.maven.apache.org/maven2) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :uv-t-rdfMerger

Might be same or related to issue #152 ?

@hanecak
Copy link
Author

hanecak commented Oct 29, 2014

Commit at HEAD in master is 418f5a1 .

@hanecak
Copy link
Author

hanecak commented Oct 29, 2014

To iste ale v develop branch zbehlo OK.
Update (translation to English): Same, but in develop branch went OK.

@ghost
Copy link

ghost commented Oct 30, 2014

Oh yeah, those are bugs in 1.3.1 release, not updated all pom files.
Try release/UV_Core_v1.4.0 branch, just to make sure we fixed it in next
release.
Thanks

On 10/29/2014 09:23 PM, Peter Hanecak wrote:

What I did just few minutes ago, with UnifiedViews checkout out some
times ago:

git checkout master
git pull
mvn clean
mvn package

Shortened output at the end:

...
[INFO] Building T-RDFMerger 1.3.1

[INFO]

Downloading:
http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dpu-api-helpers/1.0.1/uv-dpu-api-helpers-1.0.1.jar
Downloading:
http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dataunit-files/1.0.1/uv-dataunit-files-1.0.1.jar
Downloading:
http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dpu-api/1.0.1/uv-dpu-api-1.0.1.jar
Downloading:
http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dataunit-rdf/1.0.1/uv-dataunit-rdf-1.0.1.jar
Downloading:
http://repo.maven.apache.org/maven2/eu/unifiedviews/uv-dataunit-helpers/1.0.1/uv-dataunit-helpers-1.0.1.jar

[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] ODCleanStore ...................................... SUCCESS
[2.781s]
[INFO] dataunit .......................................... SUCCESS
[5.310s]
[INFO] dataunit-file ..................................... SUCCESS
[26.613s]
[INFO] dataunit-file-impl ................................ SUCCESS
[4.545s]
[INFO] dataunit-rdf ...................................... SUCCESS
[3.996s]
[INFO] dataunit-rdf-impl ................................. SUCCESS
[3.496s]
[INFO] commons-app ....................................... SUCCESS
[50.787s]
[INFO] frontend .......................................... SUCCESS
[4:03.447s]
[INFO] backend ........................................... SUCCESS
[17.281s]
[INFO] lib ............................................... SUCCESS
[0.011s]
[INFO] lib-core .......................................... SUCCESS
[0.761s]
[INFO] module-test ....................................... SUCCESS
[2.295s]
[INFO] T-RDFMerger ....................................... FAILURE
[1.527s]
[INFO] T-FilesMerger ..................................... SKIPPED
[INFO] uv-core-dpus ...................................... SKIPPED

[INFO]

[INFO] BUILD FAILURE

[INFO]

[INFO] Total time: 6:03.845s
[INFO] Finished at: Wed Oct 29 21:06:45 CET 2014
[INFO] Final Memory: 76M/765M

[INFO]

[ERROR] Failed to execute goal on project uv-t-rdfMerger: Could not
resolve dependencies for project
eu.unifiedviews.plugins:uv-t-rdfMerger:bundle:1.3.1: The following
artifacts could not be resolved: eu.unifiedviews:uv-dpu-api:jar:1.0.1,
eu.unifiedviews:uv-dpu-api-helpers:jar:1.0.1,
eu.unifiedviews:uv-dataunit-rdf:jar:1.0.1,
eu.unifiedviews:uv-dataunit-files:jar:1.0.1,
eu.unifiedviews:uv-dataunit-helpers:jar:1.0.1: Could not find artifact
eu.unifiedviews:uv-dpu-api:jar:1.0.1 in central
(http://repo.maven.apache.org/maven2) -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the command
[ERROR] mvn -rf :uv-t-rdfMerger

Might be same or related to issue #152
#152 ?


Reply to this email directly or view it on GitHub
#218.

@ghost
Copy link

ghost commented Oct 30, 2014

Known bug in 1.3.1. Won't fix.
Edit
this file:
https://github.com/UnifiedViews/Core/blob/UV_Core_v1.3.1/core-dpus/dpu-core-base-pom.xml
to look like this file:
https://github.com/UnifiedViews/Core/blob/develop/core-dpus/dpu-core-base-pom.xml

The important part is:

    <repositories>
<repository>
<id>maven.eea.sk</id>
<name>maven.eea.sk-public</name>
<url>http://maven.eea.sk/artifactory/public/</url>
</repository>
</repositories>

at the end. Do not change versions!
Also, there is a bug in RDFMerger, in release 1.3.1 pom.xml:
Change this file
https://github.com/UnifiedViews/Core/blob/UV_Core_v1.3.1/core-dpus/t-rdfMerger/pom.xml
the line:

 <dpu.mainClass>RDFMerger</dpu.mainClass>

to

 <dpu.mainClass>RdfMerger</dpu.mainClass>

I have adjusted release notes to 1.3.1 release to match this issue:
https://github.com/UnifiedViews/Core/releases/tag/UV_Core_v1.3.1
(see bottom, known issues).
Thanks for reporting.

@ghost ghost closed this as completed Oct 30, 2014
@skrchnavy skrchnavy modified the milestone: no_release Mar 26, 2015
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants