What steps will reproduce the problem?
1.Declare the depency and compile
2.
3.
What is the expected output? What do you see instead?
Maven can't find the following artifact:
org.eclipse.osgi:org.eclipse.osgi:jar:3.2.0-v20060601
What version of the product are you using? On what operating system?
I have used the following artifacts:
<groupId>org.bsc.framework</groupId>
<artifactId>beanmanager-jpa</artifactId>
<version>1.4</version>
<groupId>org.bsc.framework</groupId>
<artifactId>beanmanager-core</artifactId>
<version>1.4</version>
Please provide any additional information below.
The stacktrace of the error:
Missing:
----------
1) org.eclipse.osgi:org.eclipse.osgi:jar:3.2.0-v20060601
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.eclipse.osgi -DartifactId=org.eclipse.osgi -Dversion=3.2.0-v20060601 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.eclipse.osgi -DartifactId=org.eclipse.osgi -Dversion=3.2.0-v20060601 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) it.soulsoftware:amplifon-gwt:war:1.1-SNAPSHOT
2) it.soulsoftware:amplifon-services:jar:1.1-SNAPSHOT
3) org.bsc.framework:beanmanager-core:jar:1.4
4) org.eclipse.osgi:org.eclipse.osgi:jar:3.2.0-v20060601
----------
1 required artifact is missing.
for artifact:
it.soulsoftware:amplifon-gwt:war:1.1-SNAPSHOT
from the specified remote repositories:
gwtupload (http://gwtupload.googlecode.com/svn/mavenrepo/),
central (http://repo1.maven.org/maven2),
java.net (http://download.java.net/maven/2/),
google-bean-manager (http://bean-manager.googlecode.com/svn/trunk/mavenrepo),
apache-repo-snapshots (https://repository.apache.org/content/repositories/snapshots/),
apache-repo (https://repository.apache.org)
As workaround, i have excluded the artifact from the dependency :
<exclusions>
<exclusion>
<artifactId>org.eclipse.osgi</artifactId>
<groupId>org.eclipse.osgi</groupId>
</exclusion>
</exclusions>