can't deploy snapshot bundle to remote OBR
------------------------------------------
Key: FELIX-3073
URL: https://issues.apache.org/jira/browse/FELIX-3073
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-2.3.5, maven-bundle-plugin-2.4.0
Environment: maven3.0.3, felix-3.3.0-SNAPSHOT, m2eclipse-1.0, sonatype
nexus 1.9.1
Reporter: drhades
Deploy Goals:
clean install deploy -DremoteOBR=repository-A.xml
-DprefixUrl=http://localhost:8080/nexus/content/groups/public/
maven build error log:
[INFO] --- maven-bundle-plugin:2.4.0-SNAPSHOT:deploy (default-deploy) @ A ---
[ERROR] file doesn't exist:
file:/C:/Users/me/.m2/repository/com/A/1.1.2-SNAPSHOT/A-1.1.2-20110809.143012-26.jar
problem:
In local maven repository, there's only A-1.1.2-SNAPSHOT artifact;
In remote nexus repository, there're many timestamp snapshot artifact;
Now, the jar/pom artifacts deploy ok;
But, when maven-bundle-plugin create the remote OBR repository, it attempts to
find the A-timestamp-version artifact in local maven repository, so it fails to
find out and build the remote OBR repository xml correctly.
Is it a known problem?
Or, is there some rules need to pay attention with maven-bundle-plugin?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira