From: Alexander Kriegisch Date: Fri, 16 Apr 2021 08:30:36 +0000 (+0700) Subject: Fix: make sure that source assemblies are attached to build X-Git-Tag: V1_9_7_M2~21^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=116406fbbc665f6ea6d8fccf150389d808751642;p=aspectj.git 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 --- 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"> -aspectjmatcher-sources + + sources jar 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 @@ single - sources - aspectjmatcher-${project.version} + + true diff --git a/aspectjrt/aspectjrt-sources-assembly.xml b/aspectjrt/aspectjrt-sources-assembly.xml index b4c13e2a9..fc030c3c2 100644 --- a/aspectjrt/aspectjrt-sources-assembly.xml +++ b/aspectjrt/aspectjrt-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"> -aspectjrt-sources + + sources jar diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml index 341b83fd6..930ba02ca 100644 --- a/aspectjrt/pom.xml +++ b/aspectjrt/pom.xml @@ -99,14 +99,14 @@ - aspectjrt-src-assembly + aspectjrt-sources-assembly package single - sources - aspectjrt-${project.version} + + true diff --git a/aspectjtools/aspectjtools-sources-assembly.xml b/aspectjtools/aspectjtools-sources-assembly.xml index 7b54c09b2..8317c9f20 100644 --- a/aspectjtools/aspectjtools-sources-assembly.xml +++ b/aspectjtools/aspectjtools-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"> -aspectjtools-sources + + sources jar diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml index cac9b9e2f..62cf15ebf 100644 --- a/aspectjtools/pom.xml +++ b/aspectjtools/pom.xml @@ -119,8 +119,8 @@ single - sources - aspectjtools-${project.version} + + true 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"> -aspectjweaver-sources + + sources jar 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 @@ single - sources - aspectjweaver-${project.version} + + true diff --git a/installer/aspectjinstaller-assembly.xml b/installer/aspectjinstaller-assembly.xml index f7255b345..2a5cfac7b 100644 --- a/installer/aspectjinstaller-assembly.xml +++ b/installer/aspectjinstaller-assembly.xml @@ -3,9 +3,11 @@ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd"> aspectjinstaller + jar + false @@ -20,7 +22,6 @@ ../aj-build/dist/docs files - ../runtime/target/site/apidocs files/doc/runtime-apidocs