Hi Subash,
On 03/10/13 19:59, Subash Chaturanga wrote:
I gave it a try again, but building with the tests. Now the build is
successful. Apparently Marmotta cannot build without tests. Seems, it's
referring some test jars at build time.
This is an old issue that we have, right. We have some dependencies on
test jars (for instance [1]). But even if they are with scope test, if
you run the build skipping the tests, so then such dependency was not
built, the build fails before it misses it. If you know how to improve
such detail of the maven build, any idea would be welcomed.
Besides that, I'd recommend you to use the version 3.1.0-incubating,
which is going to be released tomorrow. In case you'd like to follow the
latest developments introduced in the project, you can find it at the
develop branch [3]. At the web site you can find further details about
the development of the project [4].
Thanks for you interest.
Cheers,
[1]
https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=blob;f=libraries/kiwi/kiwi-transactions/pom.xml;h=41fc7425c3fe523d65cb07128c8747f59c4f2d85;hb=refs/heads/develop#l90
[2]
https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=commit;h=c66a4eb5743820c89fcf0446efab60a50965c6de
[3]
https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;a=shortlog;h=refs/heads/develop
[4] http://marmotta.incubator.apache.org/development.html
On Thu, Oct 3, 2013 at 11:11 PM, Subash Chaturanga <[email protected]>wrote:
Hi all,
I am getting following build failure when building the source code at [1]
.
FYI: I am using maven 3 for building the source and building without
tests as per docs. I hope it's OK.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 47.848s
[INFO] Finished at: Thu Oct 03 22:57:26 IST 2013
[INFO] Final Memory: 81M/803M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project kiwi-transactions: Could not
resolve dependencies for project
org.apache.marmotta:kiwi-transactions:jar:3.1.0-incubating-SNAPSHOT: Could
not find artifact
org.apache.marmotta:kiwi-triplestore:jar:tests:3.1.0-incubating-SNAPSHOT in
apache.releases (
https://repository.apache.org/content/repositories/releases/) -> [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 <goals> -rf :kiwi-transactions
[1] - https://git-wip-us.apache.org/repos/asf/incubator-marmotta.git
--
Subash Chaturanga
Sri Lanka
Blog - http://subashsdm.blogspot.com/
Twitter - http://twitter.com/subash89
--
Sergio Fernández
Salzburg Research
+43 662 2288 318
Jakob-Haringer Strasse 5/II
A-5020 Salzburg (Austria)
http://www.salzburgresearch.at