It could be that the dependency inherited the version from the parent
pom in the past, which recently changed a lot.
Anyway, the web/pom.xml file is very bad done, so a general cleanup
there is necessary, I will open a  dedicated issue for that (and take
care of this)

Enrico

On 13 December 2011 10:43, Alberto Musetti (Created) (JIRA)
<[email protected]> wrote:
> Build error: dependency version on reasoners.web
> ------------------------------------------------
>
>                 Key: STANBOL-419
>                 URL: https://issues.apache.org/jira/browse/STANBOL-419
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Reasoners
>            Reporter: Alberto Musetti
>
>
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.apache.felix:org.apache.felix.scr:jar -> version 1.4.0 
> vs 1.6.0 @ org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT, 
> /workspace/Stanbol/parent/pom.xml, line 1363, column 17
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.apache.felix:org.apache.felix.scr:jar -> version 1.4.0 
> vs 1.6.0 @ org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT, 
> /workspace/Stanbol/parent/pom.xml, line 1363, column 17
> [WARNING] 'parent.relativePath' points at org.apache.stanbol:stanbol-parent 
> instead of org.apache.stanbol:org.apache.stanbol.entityhub.parent, please 
> verify your project structure @ line 23, column 11
> [WARNING] 
> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
>  must be unique: org.apache.felix:org.apache.felix.scr:jar -> version 1.4.0 
> vs 1.6.0 @ org.apache.stanbol:stanbol-parent:0.9.0-incubating-SNAPSHOT, 
> ~/.m2/repository/org/apache/stanbol/stanbol-parent/0.9.0-incubating-SNAPSHOT/stanbol-parent-0.9.0-incubating-SNAPSHOT.pom,
>  line 1363, column 17
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must 
> be unique: org.slf4j:slf4j-log4j12:jar -> duplicate declaration of version 
> (?) @ line 80, column 15
>
> [ERROR]   The project 
> org.apache.stanbol:org.apache.stanbol.reasoners.web:0.9.0-incubating-SNAPSHOT 
> (/workspace/Stanbol/reasoners/web/pom.xml) has 2 errors
> [ERROR]     'dependencies.dependency.version' for 
> org.ops4j.pax.exam:pax-exam-junit:jar is missing. @ line 284, column 17
> [ERROR]     'dependencies.dependency.version' for 
> org.ops4j.pax.exam:pax-exam-container-default:jar is missing. @ line 289, 
> column 17
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA 
> administrators: 
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>



-- 
Enrico Daga

--
http://www.enridaga.net
skype: enri-pan

Reply via email to