aboutsummaryrefslogtreecommitdiffstats
path: root/aspectjweaver/pom.xml
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-16 15:30:36 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-04-17 00:14:55 +0700
commit116406fbbc665f6ea6d8fccf150389d808751642 (patch)
tree34e4a1c9e70faa9b1c3ea4e946e85aa8ca8728e1 /aspectjweaver/pom.xml
parent0e7ac59f24f449d6d54d31634075f9bffcb57588 (diff)
downloadaspectj-116406fbbc665f6ea6d8fccf150389d808751642.tar.gz
aspectj-116406fbbc665f6ea6d8fccf150389d808751642.zip
Fix: make sure that source assemblies are attached to build
Previously I renamed the source assemblies from the uniform name 'sources' to something more individual like 'aspectjtools-sources', not realising that the magic name 'sources' in combination with the default configuration value 'appendAssemblyId=true' results in an artifact classifier equal to the assembly ID, i.e. 'sources', which is exactly what we need here, but not quite obvious. Therefore, I documented it with comments in both the assemblies and the POMs. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'aspectjweaver/pom.xml')
-rw-r--r--aspectjweaver/pom.xml4
1 files changed, 2 insertions, 2 deletions
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>