Hello

I'm copying dependencies with the following directive:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.1</version>
        <executions>
                <execution>
                        <goals>
                                <goal>copy-dependencies</goal>
                        </goals>
                        <id>copy-security-as-framework-bundles</id>
                        <configuration>
                        <useRepositoryLayout>true</useRepositoryLayout> 
<outputDirectory>${basedir}/target/framework-bundles</outputDirectory>  
<includeArtifactIds>org.trialox.platform.security</includeArtifactIds>
                </configuration>
                </execution>
</plugin>

In the created directory
target/framework-bundles/org/trialox/org.trialox.platform.security/0.2-SNAPSHOT/
 I have two files:
org.trialox.platform.security-0.2-20090416.175419-944.jar as well as
org.trialox.platform.security-0.2-SNAPSHOT.jar

I'd like to have only one version of the snapshot dependency and haven't
found out how to do this, using overwriteSnapshots and stripVersion had
no effect.

Cheers,
reto

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to