You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Arnold deVos (Commented) (JIRA)" <ji...@apache.org> on 2011/10/12 06:23:11 UTC

[jira] [Commented] (FELIX-3073) can't deploy snapshot bundle to remote OBR

    [ https://issues.apache.org/jira/browse/FELIX-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125583#comment-13125583 ] 

Arnold deVos commented on FELIX-3073:
-------------------------------------

I ran into the same problem today. Preconditions and results are as described above except I am using artifactory.  I am also uncertain if I am driving the plugin correctly or if it is a bug. 

                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira