aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjmatcher
diff options
context:
space:
mode:
Diffstat (limited to 'aspectjmatcher')
-rw-r--r--aspectjmatcher/aspectjmatcher-sources-assembly.xml3
-rw-r--r--aspectjmatcher/pom.xml4
2 files changed, 4 insertions, 3 deletions
diff --git a/aspectjmatcher/aspectjmatcher-sources-assembly.xml b/aspectjmatcher/aspectjmatcher-sources-assembly.xml
index c3f925a4a..0425ccbe8 100644
--- a/aspectjmatcher/aspectjmatcher-sources-assembly.xml
+++ b/aspectjmatcher/aspectjmatcher-sources-assembly.xml
@@ -2,7 +2,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
-<id>aspectjmatcher-sources</id>
+ <!-- Do not change this ID. It becomes the artifact classifier with appendAssemblyId=true. -->
+ <id>sources</id>
<formats>
<format>jar</format>
diff --git a/aspectjmatcher/pom.xml b/aspectjmatcher/pom.xml
index 3aa998b6c..b183bd3d6 100644
--- a/aspectjmatcher/pom.xml
+++ b/aspectjmatcher/pom.xml
@@ -103,8 +103,8 @@
<goal>single</goal>
</goals>
<configuration>
- <classifier>sources</classifier>
- <finalName>aspectjmatcher-${project.version}</finalName>
+ <!-- The assembly ID 'sources' becomes the artifact classifier, exactly what we want -->
+ <appendAssemblyId>true</appendAssemblyId>
<archive>
</archive>
<descriptors>