Hi Reto,
just to be sure, I eventually re-introduced the explicit junit
dependency in all bundles with unit tests, in case this would help maven
2 compatibility.
let me know if this fixes anything on your side
Alessandro
On 10/8/12 9:07 AM, Alessandro Adamou wrote:
Hi Reto,
works for me and apparently Jenkins too. what svn revision / maven
version are you on?
I didn't have to add junit as a dependency since ontolgymanager still
refers to the Stanbol parent.
alessandro
On 10/7/12 3:52 PM, Reto Bachmann-Gmür wrote:
I'm getting the following error trying to compile without
-Dmaven.test.skip=true
Reto
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:testCompile
(default-testCompile) on project
org.apache.stanbol.ontologymanager.sources.clerezza: Compilation
failure:
Compilation failure:
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[22,23]
package org.junit does not exist
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[22,0]
static import only from classes and interfaces
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[30,16]
package org.junit does not exist
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[31,16]
package org.junit does not exist
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[32,16]
package org.junit does not exist
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[33,16]
package org.junit does not exist
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[41,5]
cannot find symbol
[ERROR] symbol : class BeforeClass
[ERROR] location: class
org.apache.stanbol.ontologymanager.sources.clerezza.TestClerezzaInputSources
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[48,5]
cannot find symbol
[ERROR] symbol : class Before
[ERROR] location: class
org.apache.stanbol.ontologymanager.sources.clerezza.TestClerezzaInputSources
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[53,5]
cannot find symbol
[ERROR] symbol : class After
[ERROR] location: class
org.apache.stanbol.ontologymanager.sources.clerezza.TestClerezzaInputSources
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[91,5]
cannot find symbol
[ERROR] symbol : class Test
[ERROR] location: class
org.apache.stanbol.ontologymanager.sources.clerezza.TestClerezzaInputSources
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[105,8]
cannot find symbol
[ERROR] symbol : method
assertNotNull(org.apache.stanbol.ontologymanager.servicesapi.io.OntologyInputSource<org.apache.clerezza.rdf.core.TripleCollection>)
[ERROR] location: class
org.apache.stanbol.ontologymanager.sources.clerezza.TestClerezzaInputSources
[ERROR]
[ERROR]
/home/reto/projects/apache/stanbol/ontologymanager/sources/clerezza/src/test/java/org/apache/stanbol/ontologymanager/sources/clerezza/TestClerezzaInputSources.java:[106,8]
cannot find symbol
[ERROR] symbol : method
assertNotNull(org.apache.clerezza.rdf.core.TripleCollection)
[ERROR] location: class
org.apache.stanbol.ontologymanager.sources.clerezza.TestClerezzaInputSources
[ERROR] -> [Help 1]
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"I will give you everything, just don't demand anything."
(Ettore Petrolini, 1917)
Not sent from my iSnobTechDevice