-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function
Description
Gili opened MBUILDCACHE-116 and commented
- Create a project with dependencies that contains:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<useBaseVersion>false</useBaseVersion>
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>
- Run "mvn verify".
- Notice that the "target" directory contains the main JAR file and "target/lib" contains the JAR file's dependencies
- Delete the target directory
- Run "mvn verify" again.
- Notice that "target" directory contains the main JAR file but the "target/lib" directory is missing.
{}Expected behavior{}: "mvn verify" should always generate the same output.
This might be a regression of https://issues.apache.org/jira/browse/MBUILDCACHE-67. Per https://stackoverflow.com/q/78057064/14731 this issue existed back in version 1.0.1, was fixed by version 1.1.0, but it seems to be back now.
Can someone please take a look at this?
Affects: 1.2.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority:majorMajor loss of functionMajor loss of function