aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjweaver
diff options
context:
space:
mode:
Diffstat (limited to 'aspectjweaver')
-rw-r--r--aspectjweaver/aspectjweaver-sources-assembly.xml3
-rw-r--r--aspectjweaver/pom.xml4
2 files changed, 4 insertions, 3 deletions
diff --git a/aspectjweaver/aspectjweaver-sources-assembly.xml b/aspectjweaver/aspectjweaver-sources-assembly.xml
index e1760dfe5..61d89a71e 100644
--- a/aspectjweaver/aspectjweaver-sources-assembly.xml
+++ b/aspectjweaver/aspectjweaver-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>aspectjweaver-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/aspectjweaver/pom.xml b/aspectjweaver/pom.xml
index 921401691..3552ab630 100644
--- a/aspectjweaver/pom.xml
+++ b/aspectjweaver/pom.xml
@@ -122,8 +122,8 @@
<goal>single</goal>
</goals>
<configuration>
- <classifier>sources</classifier>
- <finalName>aspectjweaver-${project.version}</finalName>
+ <!-- The assembly ID 'sources' becomes the artifact classifier, exactly what we want -->
+ <appendAssemblyId>true</appendAssemblyId>
<archive>
</archive>
<descriptors>