I have the following structure in my POM:

<build>
    <plugins>
        <plugin>
            <groupId>org.apache.felix</groupId>
            <artifactId>maven-bundle-plugin</artifactId>
            <extensions>true</extensions>
            <configuration>
                <remoteOBR>repository.xml</remoteOBR>
                <url>scp://foo</url>
                <groupId>${groupId}</groupId>
                <artifactId>${artifactId}</artifactId>
                <version>${version}</version>
                <packaging>${packaging}</packaging>

...

This works great for deploy:bundle, which updates repository.xml (or anything 
else I change that to) remotely just fine. However, when I run 
deploy:bundle-file, it does not even seem to be reading this part of the 
configuration.

If I run it as-is, it complains that I have not specified a URL. If I specify 
one with -Durl=scp://foo then it complains that I have not given a groupId, 
artifactId, version, or packaging. Yet, with the same POM, deploy:bundle 
clearly successfully reads a value from the remoteOBR portion of this 
configuration section just fine.

(For the record, I have also tried absolutely specifying groupId, artifactId, 
version, and packaging in the POM, with no change in result.)

Any idea what I might be doing wrong?

Thanks again,

-Richard



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to