diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-04-09 18:18:11 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-04-09 18:18:11 +0700 |
commit | 569ac18874b6cee33cf8ad6dd9f89bc34b75f4f2 (patch) | |
tree | 7cf743d223b75c6cee9fb97dfa75cf641d6451a0 | |
parent | a618e29cf3449adc38074a020adb270ca9865138 (diff) | |
download | aspectj-569ac18874b6cee33cf8ad6dd9f89bc34b75f4f2.tar.gz aspectj-569ac18874b6cee33cf8ad6dd9f89bc34b75f4f2.zip |
Use additional Maven Clean execution in 'libx'
Before, the Maven Clean configuration overrode the one from the parent
POM. Now it leaves it intact, adding a separate module-specific
execution to delete the downloads and libraries.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
-rw-r--r-- | libx/pom.xml | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/libx/pom.xml b/libx/pom.xml index 4c4817e79..f3fb97e5e 100644 --- a/libx/pom.xml +++ b/libx/pom.xml @@ -553,26 +553,36 @@ </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> - <configuration> - <filesets> - <fileset> - <directory>.</directory> - <includes> - <include>ant/**</include> - <include>asm/**</include> - <include>commons/**</include> - <include>jarjar/**</include> - <include>jdiff/**</include> - <include>jdtcore-aj/**</include> - <include>junit/**</include> - <include>regexp/**</include> - <include>saxon/**</include> - </includes> - <followSymlinks>false</followSymlinks> - </fileset> - </filesets> - </configuration> + <executions> + <execution> + <id>clean-up-libs</id> + <phase>clean</phase> + <goals> + <goal>clean</goal> + </goals> + <configuration> + <filesets> + <fileset> + <directory>.</directory> + <includes> + <include>ant/**</include> + <include>asm/**</include> + <include>commons/**</include> + <include>jarjar/**</include> + <include>jdiff/**</include> + <include>jdtcore-aj/**</include> + <include>junit/**</include> + <include>regexp/**</include> + <include>saxon/**</include> + </includes> + <followSymlinks>false</followSymlinks> + </fileset> + </filesets> + </configuration> + </execution> + </executions> </plugin> </plugins> |