Build failure after mvn clean initialize

42 views
Skip to first unread message

Timo Mihaljov

unread,
Jun 27, 2013, 2:51:06 PM6/27/13
to clojured...@googlegroups.com
Hi,

I cloned the CCW repo and tried to run `mvn clean initialize`, as
instructed in the build instructions, but I got the following error:

[INFO] parent ............................................ SUCCESS [0.109s]
[INFO] Counterclockwise Eclipse 3.7 Target Platform (Target) SUCCESS
[0.002s]
[INFO] Counterclockwise Eclipse 4.2 Target Platform (Target) SUCCESS
[0.001s]
[INFO] ccw.branding ...................................... SUCCESS [0.095s]
[INFO] paredit.clj ....................................... SUCCESS [0.100s]
[INFO] ccw.core .......................................... FAILURE [0.512s]
[INFO] ccw.core.test ..................................... SKIPPED
[INFO] ccw.feature ....................................... SKIPPED
[INFO] ccw.updatesite .................................... SKIPPED
[INFO] Counterclockwise Product (Repository) ............. SKIPPED
[INFO] aggregator ........................................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1:24.483s
[INFO] Finished at: Thu Jun 27 21:18:38 EEST 2013
[INFO] Final Memory: 79M/399M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ccw.core: Could not resolve
dependencies for project ccw:ccw.core:eclipse-plugin:0.12.4-SNAPSHOT:
The following artifacts could not be resolved:
ccw:ccw.branding:jar:0.12.4-SNAPSHOT,
ccw:paredit.clj:jar:0.12.4-SNAPSHOT: Failure to find
ccw:ccw.branding:jar:0.12.4-SNAPSHOT in http://clojars.org/repo was
cached in the local repository, resolution will not be reattempted until
the update interval of clojars.org has elapsed or updates are forced ->
[Help 1]

noid@dougal ~/code/ccw $ javac -version
javac 1.6.0_27

noid@dougal ~/code/ccw $ mvn -version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-35-generic", arch: "amd64", family: "unix"

Any ideas?

--
Timo

Laurent PETIT

unread,
Jun 27, 2013, 3:35:03 PM6/27/13
to counterclockwise
No idea right now. That's weird, because I've been successful in
building it from my OS X regular laptop, as well as from a Linux Box
(ubuntu 10.10).

instead of just clean initialize, please try clean verify.

And also clean install.

Note that I'm using maven 3.0.5. Don't know if that does count, but
who knows, since Tycho is a project moving fast, maybe it is not
retro-compatible, in its latest (0.18.0) version with maven 3.0.4 bugs
?


2013/6/27 Timo Mihaljov <ti...@mihaljov.info>:
> --
> You received this message because you are subscribed to the Google Groups "counterclockwise" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-dev...@googlegroups.com.
> To post to this group, send email to clojured...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojuredev-devel.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Timo Mihaljov

unread,
Jun 29, 2013, 8:00:14 AM6/29/13
to clojured...@googlegroups.com
On 27.06.2013 22:35, Laurent PETIT wrote:
> instead of just clean initialize, please try clean verify.
>
> And also clean install.

`clean verify` completed successfully (despite some
NullPointerExceptions during the tests), but didn't help with the issue
with `initialize`. `clean install` also completed successfully (with the
same NullPointerExceptions), and after it had run, `clean initialize`
started working.

Apparently the `initialize` task depends on some artifacts that the
`install` task installs into the local Maven cache. Perhaps the
HowToBuild page should instruct the user to call `mvn clean install
initialize` instead of just `mvn clean initialize`?

Thanks for your help! Now I'll continue with setting up Eclipse for CCW
development...

--
Timo
Reply all
Reply to author
Forward
0 new messages