no this is after a "mvn clean package"

cheers,
reto

Brian Fox said the following on 04/20/2009 03:27 PM:
> This could only happen in two passes of the plugin without a clean in
> between. The two files are indeed the same version, but it isn't
> checking the target folder exhaustively to see if there's a file there
> with another timestamped version...the overwrite only gets triggered if
> the exact same file already exists.
> 
> Reto Bachmann-Gmür wrote:
>> 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
>>
>>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 

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

Reply via email to