Maven fails if I state dependency explicitly but works without it -


i build set of projects (locally , jenkins) depend on each other. had added link ape emm. worked fine. had no dependencies stated in pom. repository:

<repositories>     <repository>         <id>modelmigration</id>         <layout>p2</layout>         <url>${repobase}/modelmigration-maven/${repopath}org.muml.emm.repository/target/repository</url>     </repository> </repositories> 

if remove repository build fails.

missing requirement: org.muml.ape.migrator 1.0.0.qualifier requires 'bundle org.muml.emm 0.0.0' not found 

if add explicit dependency , enable snapshots repository, build fails.

    <dependencies>       <dependency>          <groupid>org.muml.emm.group</groupid>          <artifactid>org.muml.emm</artifactid>          <version>1.0.0-snapshot</version>       </dependency>    </dependencies>    <repositories>         <repository>             <id>modelmigration</id>             <layout>p2</layout>             <url>${repobase}/modelmigration-maven/${repopath}org.muml.emm.repository/target/repository</url>             <snapshots>                 <enabled>true</enabled>             </snapshots>         </repository>     </repositories>          

here's error message:

[error] failed execute goal on project org.muml.ape: not resolve dependencies project org.muml.ape.group:org.muml.ape:eclipse-plugin:1.0.0-snapshot: not find artifact org.muml.emm.group:org.muml.emm:jar:1.0.0-snapshot -> [help 1] 

this ids , version missing plugin:

  <groupid>org.muml.emm.group</groupid>   <artifactid>org.muml.emm</artifactid>   <version>1.0.0-snapshot</version>   <packaging>eclipse-plugin</packaging> 

the version , ids seem correct, jar in repository , works without explicit dependency. problem snapshot dependency?

jar mentioned needs additional dependencies seems. or have problem jar while downloading.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -