Build failure
-------------
Key: CLEREZZA-361
URL: https://issues.apache.org/jira/browse/CLEREZZA-361
Project: Clerezza
Issue Type: Bug
Environment: Debian 64 bit
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Reporter: Andreas Kuckartz
Priority: Critical
I just downloaded Clerezza for the first time and did not succeed building it.
I used this description by Henry Story:
http://foaf.markmail.org/thread/qxvh3g7py6krab7k
$ mvn clean install
results in:
-------------------------------------------------------------------------------
Test set:
org.apache.clerezza.platform.dashboard.blackbox.osgi.FelixContextualMenuGeneratorTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 342.56 sec <<<
FAILURE!
checkMenu
[felix](org.apache.clerezza.platform.dashboard.blackbox.osgi.FelixContextualMenuGeneratorTest)
Time elapsed: 342.383 sec <<< FAILURE!
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at
org.apache.clerezza.platform.dashboard.blackbox.osgi.FelixContextualMenuGeneratorTest.checkMenu(FelixContextualMenuGeneratorTest.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.injectContextAndInvoke(CallableTestMethodImpl.java:143)
at
org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:105)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
---
$ mvn install -o -Dmaven.test.skip=true
results in:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) net.rootdev:java-rdfa:jar:0.4.2-RC2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.rootdev -DartifactId=java-rdfa
-Dversion=0.4.2-RC2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.rootdev -DartifactId=java-rdfa
-Dversion=0.4.2-RC2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1)
org.apache.clerezza:org.apache.clerezza.rdf.rdfa:bundle:0.1-incubating-SNAPSHOT
2) net.rootdev:java-rdfa:jar:0.4.2-RC2
2) net.rootdev:java-rdfa-htmlparser:jar:0.4.2-RC2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.rootdev
-DartifactId=java-rdfa-htmlparser -Dversion=0.4.2-RC2 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.rootdev
-DartifactId=java-rdfa-htmlparser -Dversion=0.4.2-RC2 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.clerezza:org.apache.clerezza.rdf.rdfa:bundle:0.1-incubating-SNAPSHOT
2) net.rootdev:java-rdfa-htmlparser:jar:0.4.2-RC2
3) nu.validator.htmlparser:htmlparser:jar:1.2.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=nu.validator.htmlparser
-DartifactId=htmlparser -Dversion=1.2.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=nu.validator.htmlparser
-DartifactId=htmlparser -Dversion=1.2.0 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -DrepositoryId=[id]
Path to dependency:
1)
org.apache.clerezza:org.apache.clerezza.rdf.rdfa:bundle:0.1-incubating-SNAPSHOT
2) nu.validator.htmlparser:htmlparser:jar:1.2.0
----------
3 required artifacts are missing.
for artifact:
org.apache.clerezza:org.apache.clerezza.rdf.rdfa:bundle:0.1-incubating-SNAPSHOT
from the specified remote repositories:
ops4j (http://repo1.maven.org/maven2/),
central (http://repo1.maven.org/maven2),
apache (http://repository.apache.org/content/groups/snapshots-group)
NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.