java - Adding a Maven dependency composed by several modules -
i'm having problems add dependency project. it's framework structure, once maven-installed, composed several modules, looking (simplified) this:
- build-xxx (containing .pom)
- build-xxx-root (containing .pom)
- build-xxx-superpom (containing .pom)
- filters (containing .pom)
- build-filters (containing .pom)
- filter1 (containing .jar)
- filter2 (containing .jar)
what want add whole framework dependency, use content of of jars. thought adding superpom, build-xxx-root
or build-xxx
solve it, adding children modules automatically; didn't work.
the remote repository can accessed in link (cloudbees); it's open-source project, in case wonders original file structure it can found here (bitbucket).
i have added remote repository pom.xml
in following way:
<repositories> <repository> <id>okapi-release</id> <name>okapi release</name> <url>http://repository-okapi.forge.cloudbees.com/release/</url> </repository> </repositories>
and have tried different dependencies:
<dependency> <groupid>net.sf.okapi</groupid> <artifactid>build-okapi-superpom</artifactid> <version>0.27</version> <type>pom</type> </dependency>
or
<dependency> <groupid>net.sf.okapi</groupid> <artifactid>build-okapi</artifactid> <version>0.27</version> <type>pom</type> </dependency>
but neither of them worked.
i'm not obtaining error , inside of it, 2 dependencies recognized, cannot import packages framework or use of classes.
i'm familiar basic maven, structure composed poms, child poms, , child jars, confuses me; after several hours , random tries, have decided ask here... suggestion?
Comments
Post a Comment