In a special assembly of the geotools platform (actually OSGi), one of the modules compiles correctly when I try to build it separately. But when I build the whole project - it does not work at the compile stage, because it cannot find specific packages / classes. Howerver is subject to an allowed state.
here is the dependency on the pom.xml module:
<dependency> <groupId>org.picocontainer</groupId> <artifactId>com.springsource.org.picocontainer</artifactId> <version>1.2.0</version> </dependency>
part of the maven build error:
... \ GeoTools-OSGi \ Modules \ extension \ XSD \ XSD-kernel \ SRC \ main \ Java \ org \ GeoTools \ xs \ bindings \ XSGroupBinding.java: [19,24] org.picocon tainer package does not exist
... \ geotools-osgi \ modules \ extension \ xsd \ xsd-core \ src \ main \ java \ org \ geotools \ xml \ AbstractComplexBinding.java: [20,24] org.picocon tainer package does not exist
... \ GeoTools-OSGi \ Modules \ extension \ XSD \ XSD-kernel \ SRC \ main \ Java \ org \ GeoTools \ XML \ ComplexBinding.java: [21,24] org.picocontainer package does not exist
if I change pom.xml dependecy - it fails with some kind of “cannot resolve the package”.
The project is really large and the number of packs and child / parent priests. Therefore, I cannot post them here. So my question is: what is the possible cause of this kind of trouble? Could this be a dependency conflict between parent / child?
maven dependencies osgi
Alex Stybaev
source share