aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aspectjmatcher/pom.xml17
-rw-r--r--aspectjrt/pom.xml17
-rw-r--r--aspectjtools/pom.xml17
-rw-r--r--aspectjweaver/pom.xml17
4 files changed, 56 insertions, 12 deletions
diff --git a/aspectjmatcher/pom.xml b/aspectjmatcher/pom.xml
index 48e8f37fe..63e51a155 100644
--- a/aspectjmatcher/pom.xml
+++ b/aspectjmatcher/pom.xml
@@ -98,9 +98,20 @@
<Bundle-Name>AspectJ Matcher</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
- <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
- 2002 Palo Alto Research Center, Incorporated (PARC),
- 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
+ <!--
+ WARNING: Please avoid line breaks in manifest values! They are passed on like this:
+ Assembly Plugin -> Plexus Archiver -> JRE java.util.jar.Manifest.write(OutputStream).
+
+ The JRE Manifest class inserts hard line breaks always after 72 characters, no matter if those
+ 72 characters contain line feeds, tabs or spaces. Hence, it can happen that unwanted blank lines
+ end up in the middle of a manifest section, making the manifest invalid. Calls like e.g.
+ 'java -cp aspectjtools.jar org.aspectj.tools.ajc.Main' can then fail with the absolutely
+ unexpected error 'Could not find or load main class org.aspectj.tools.ajc.Main'.
+
+ In IntelliJ IDEA you can deactivate wrapping text inside XML tags like this:
+ File | Settings | Editor | Code Style | XML | Wrap text -> deactivate
+ -->
+ <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC), 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
</manifestEntries>
</manifestSection>
</manifestSections>
diff --git a/aspectjrt/pom.xml b/aspectjrt/pom.xml
index 94fc003eb..323e2a098 100644
--- a/aspectjrt/pom.xml
+++ b/aspectjrt/pom.xml
@@ -74,9 +74,20 @@
<Bundle-Name>AspectJ Runtime</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
- <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
- 2002 Palo Alto Research Center, Incorporated (PARC),
- 2003-2019 Contributors. All Rights Reserved</Bundle-Copyright>
+ <!--
+ WARNING: Please avoid line breaks in manifest values! They are passed on like this:
+ Assembly Plugin -> Plexus Archiver -> JRE java.util.jar.Manifest.write(OutputStream).
+
+ The JRE Manifest class inserts hard line breaks always after 72 characters, no matter if those
+ 72 characters contain line feeds, tabs or spaces. Hence, it can happen that unwanted blank lines
+ end up in the middle of a manifest section, making the manifest invalid. Calls like e.g.
+ 'java -cp aspectjtools.jar org.aspectj.tools.ajc.Main' can then fail with the absolutely
+ unexpected error 'Could not find or load main class org.aspectj.tools.ajc.Main'.
+
+ In IntelliJ IDEA you can deactivate wrapping text inside XML tags like this:
+ File | Settings | Editor | Code Style | XML | Wrap text -> deactivate
+ -->
+ <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC), 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
</manifestEntries>
</manifestSection>
</manifestSections>
diff --git a/aspectjtools/pom.xml b/aspectjtools/pom.xml
index 6888bc955..cb8d59b55 100644
--- a/aspectjtools/pom.xml
+++ b/aspectjtools/pom.xml
@@ -130,9 +130,20 @@
<Bundle-Name>AspectJ Tools</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
- <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
- 2002 Palo Alto Research Center, Incorporated (PARC),
- 2003-2019 Contributors. All Rights Reserved</Bundle-Copyright>
+ <!--
+ WARNING: Please avoid line breaks in manifest values! They are passed on like this:
+ Assembly Plugin -> Plexus Archiver -> JRE java.util.jar.Manifest.write(OutputStream).
+
+ The JRE Manifest class inserts hard line breaks always after 72 characters, no matter if those
+ 72 characters contain line feeds, tabs or spaces. Hence, it can happen that unwanted blank lines
+ end up in the middle of a manifest section, making the manifest invalid. Calls like e.g.
+ 'java -cp aspectjtools.jar org.aspectj.tools.ajc.Main' can then fail with the absolutely
+ unexpected error 'Could not find or load main class org.aspectj.tools.ajc.Main'.
+
+ In IntelliJ IDEA you can deactivate wrapping text inside XML tags like this:
+ File | Settings | Editor | Code Style | XML | Wrap text -> deactivate
+ -->
+ <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC), 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
</manifestEntries>
</manifestSection>
</manifestSections>
diff --git a/aspectjweaver/pom.xml b/aspectjweaver/pom.xml
index 72c223ad6..daae4574e 100644
--- a/aspectjweaver/pom.xml
+++ b/aspectjweaver/pom.xml
@@ -102,9 +102,20 @@
<Bundle-Name>AspectJ Weaver</Bundle-Name>
<Bundle-Version>${project.version}</Bundle-Version>
- <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation,
- 2002 Palo Alto Research Center, Incorporated (PARC),
- 2003-2019 Contributors. All Rights Reserved</Bundle-Copyright>
+ <!--
+ WARNING: Please avoid line breaks in manifest values! They are passed on like this:
+ Assembly Plugin -> Plexus Archiver -> JRE java.util.jar.Manifest.write(OutputStream).
+
+ The JRE Manifest class inserts hard line breaks always after 72 characters, no matter if those
+ 72 characters contain line feeds, tabs or spaces. Hence, it can happen that unwanted blank lines
+ end up in the middle of a manifest section, making the manifest invalid. Calls like e.g.
+ 'java -cp aspectjtools.jar org.aspectj.tools.ajc.Main' can then fail with the absolutely
+ unexpected error 'Could not find or load main class org.aspectj.tools.ajc.Main'.
+
+ In IntelliJ IDEA you can deactivate wrapping text inside XML tags like this:
+ File | Settings | Editor | Code Style | XML | Wrap text -> deactivate
+ -->
+ <Bundle-Copyright>(C) Copyright 1999-2001 Xerox Corporation, 2002 Palo Alto Research Center, Incorporated (PARC), 2003-2020 Contributors. All Rights Reserved</Bundle-Copyright>
</manifestEntries>
</manifestSection>
</manifestSections>