the jars are only duplicate when using the
<useRepositoryLayout>true</useRepositoryLayout>
directive.
unfortunately, that's what I need.
Reto
Reto Bachmann-Gmür said the following on 04/20/2009 03:29 PM:
> 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: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]