[jira] [Commented] (FELIX-6526) The "manifest" goal does not work anymore in modules which are using aspectj-maven-plugin "compile" goal

2022-05-20 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/FELIX-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17540347#comment-17540347
 ] 

Tilman Hausherr commented on FELIX-6526:


Problem no longer occurs with 5.1.6, thanks!

> The "manifest" goal does not work anymore in modules which are using 
> aspectj-maven-plugin "compile" goal
> 
>
> Key: FELIX-6526
> URL: https://issues.apache.org/jira/browse/FELIX-6526
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Affects Versions: maven-bundle-plugin-5.1.5
>Reporter: Thomas Mortagne
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: maven-bundle-plugin-5.1.6
>
>
> I just upgraded from the maven-bundle-plugin from 5.1.4 to 5.1.5 and I'm 
> getting the following error:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status: 
> /media/DATA/xwiki/sources/xwiki-commons/xwiki-commons-core/xwiki-commons-legacy/xwiki-commons-legacy-classloader/xwiki-commons-legacy-classloader-api/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:306)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:211)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:165)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:157)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:121)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:127)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error checking 
> manifest uptodate status
> at 
> org.apache.felix.bundleplugin.ManifestPlugin.getManifestUptodateCheckException
>  (ManifestPlugin.java:449)
> at org.apache.felix.bundleplugin.ManifestPlugin.isMetadataUpToDate 
> (ManifestPlugin.java:442)
> at org.apache.felix.bundleplugin.ManifestPlugin.execute 
> (ManifestPlugin.java:108)
> at org.apache.felix.bundleplugin.BundlePlugin.execute 
> (BundlePlugin.java:380)
> at com.gradle.maven.a.a.e.c.a (SourceFile:26)
> at com.gradle.maven.a.a.e.n.a (SourceFile:23)
> at com.gradle.maven.a.a.e.h.a (SourceFile:28)
> at com.gradle.maven.a.a.e.m.a (SourceFile:27)
> at com.gradle.maven.a.a.e.a.c (SourceFile:115)
> at com.gradle.maven.a.a.e.a.a (SourceFile:61)
> at com.gradle.maven.a.a.e.e.a (SourceFile:27)
> at com.gradle.maven.a.a.e.l.a (SourceFile:17)
> at com.gradle.maven.a.a.e.d.a (SourceFile:42)
> at com.gradle.maven.a.a.e.b.a (SourceFile:26)
> at com.gradle.maven.a.a.e.f$1.run (SourceFile:34)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:29)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:26)

[jira] [Commented] (FELIX-6526) The "manifest" goal does not work anymore in modules which are using aspectj-maven-plugin "compile" goal

2022-05-10 Thread Hannes Wellmann (Jira)


[ 
https://issues.apache.org/jira/browse/FELIX-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17534197#comment-17534197
 ] 

Hannes Wellmann commented on FELIX-6526:


Maybe the title of this issue should be generalized like in the duplicates to 
reflect that this is a general issue not specific to the use of 
"aspectj-maven-plugin".

> The "manifest" goal does not work anymore in modules which are using 
> aspectj-maven-plugin "compile" goal
> 
>
> Key: FELIX-6526
> URL: https://issues.apache.org/jira/browse/FELIX-6526
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Affects Versions: maven-bundle-plugin-5.1.5
>Reporter: Thomas Mortagne
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: maven-bundle-plugin-5.1.6
>
>
> I just upgraded from the maven-bundle-plugin from 5.1.4 to 5.1.5 and I'm 
> getting the following error:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status: 
> /media/DATA/xwiki/sources/xwiki-commons/xwiki-commons-core/xwiki-commons-legacy/xwiki-commons-legacy-classloader/xwiki-commons-legacy-classloader-api/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:306)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:211)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:165)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:157)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:121)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:127)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error checking 
> manifest uptodate status
> at 
> org.apache.felix.bundleplugin.ManifestPlugin.getManifestUptodateCheckException
>  (ManifestPlugin.java:449)
> at org.apache.felix.bundleplugin.ManifestPlugin.isMetadataUpToDate 
> (ManifestPlugin.java:442)
> at org.apache.felix.bundleplugin.ManifestPlugin.execute 
> (ManifestPlugin.java:108)
> at org.apache.felix.bundleplugin.BundlePlugin.execute 
> (BundlePlugin.java:380)
> at com.gradle.maven.a.a.e.c.a (SourceFile:26)
> at com.gradle.maven.a.a.e.n.a (SourceFile:23)
> at com.gradle.maven.a.a.e.h.a (SourceFile:28)
> at com.gradle.maven.a.a.e.m.a (SourceFile:27)
> at com.gradle.maven.a.a.e.a.c (SourceFile:115)
> at com.gradle.maven.a.a.e.a.a (SourceFile:61)
> at com.gradle.maven.a.a.e.e.a (SourceFile:27)
> at com.gradle.maven.a.a.e.l.a (SourceFile:17)
> at com.gradle.maven.a.a.e.d.a (SourceFile:42)
> at com.gradle.maven.a.a.e.b.a (SourceFile:26)
> at com.gradle.maven.a.a.e.f$1.run (SourceFile:34)
> at 

[jira] [Commented] (FELIX-6526) The "manifest" goal does not work anymore in modules which are using aspectj-maven-plugin "compile" goal

2022-05-08 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/FELIX-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17533431#comment-17533431
 ] 

Tilman Hausherr commented on FELIX-6526:


Same problem in Apache tika ( https://github.com/apache/tika/ ). Not always, 
but jdk11 seemed to have it the most.
{quote}
[ERROR] Failed to execute goal 
org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
project tika-parser-html-commons: Error checking manifest uptodate status: 
/home/jenkins/jenkins-agent/workspace/Tika/tika-main-jdk11/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-html-commons/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
 -> [Help 1]
{quote}
To test, search for "maven.bundle.version" in the parent pom.xml .

> The "manifest" goal does not work anymore in modules which are using 
> aspectj-maven-plugin "compile" goal
> 
>
> Key: FELIX-6526
> URL: https://issues.apache.org/jira/browse/FELIX-6526
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Affects Versions: maven-bundle-plugin-5.1.5
>Reporter: Thomas Mortagne
>Priority: Major
>
> I just upgraded from the maven-bundle-plugin from 5.1.4 to 5.1.5 and I'm 
> getting the following error:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status: 
> /media/DATA/xwiki/sources/xwiki-commons/xwiki-commons-core/xwiki-commons-legacy/xwiki-commons-legacy-classloader/xwiki-commons-legacy-classloader-api/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:306)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:211)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:165)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:157)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:121)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:127)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error checking 
> manifest uptodate status
> at 
> org.apache.felix.bundleplugin.ManifestPlugin.getManifestUptodateCheckException
>  (ManifestPlugin.java:449)
> at org.apache.felix.bundleplugin.ManifestPlugin.isMetadataUpToDate 
> (ManifestPlugin.java:442)
> at org.apache.felix.bundleplugin.ManifestPlugin.execute 
> (ManifestPlugin.java:108)
> at org.apache.felix.bundleplugin.BundlePlugin.execute 
> (BundlePlugin.java:380)
> at com.gradle.maven.a.a.e.c.a (SourceFile:26)
> at com.gradle.maven.a.a.e.n.a (SourceFile:23)
> at com.gradle.maven.a.a.e.h.a (SourceFile:28)
> at com.gradle.maven.a.a.e.m.a (SourceFile:27)
> at com.gradle.maven.a.a.e.a.c (SourceFile:115)
> at 

[jira] [Commented] (FELIX-6526) The "manifest" goal does not work anymore in modules which are using aspectj-maven-plugin "compile" goal

2022-05-02 Thread Thomas Mortagne (Jira)


[ 
https://issues.apache.org/jira/browse/FELIX-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530662#comment-17530662
 ] 

Thomas Mortagne commented on FELIX-6526:


Thanks for the fast reaction guys :)

> The "manifest" goal does not work anymore in modules which are using 
> aspectj-maven-plugin "compile" goal
> 
>
> Key: FELIX-6526
> URL: https://issues.apache.org/jira/browse/FELIX-6526
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Affects Versions: maven-bundle-plugin-5.1.5
>Reporter: Thomas Mortagne
>Priority: Major
>
> I just upgraded from the maven-bundle-plugin from 5.1.4 to 5.1.5 and I'm 
> getting the following error:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status: 
> /media/DATA/xwiki/sources/xwiki-commons/xwiki-commons-core/xwiki-commons-legacy/xwiki-commons-legacy-classloader/xwiki-commons-legacy-classloader-api/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:306)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:211)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:165)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:157)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:121)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:127)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error checking 
> manifest uptodate status
> at 
> org.apache.felix.bundleplugin.ManifestPlugin.getManifestUptodateCheckException
>  (ManifestPlugin.java:449)
> at org.apache.felix.bundleplugin.ManifestPlugin.isMetadataUpToDate 
> (ManifestPlugin.java:442)
> at org.apache.felix.bundleplugin.ManifestPlugin.execute 
> (ManifestPlugin.java:108)
> at org.apache.felix.bundleplugin.BundlePlugin.execute 
> (BundlePlugin.java:380)
> at com.gradle.maven.a.a.e.c.a (SourceFile:26)
> at com.gradle.maven.a.a.e.n.a (SourceFile:23)
> at com.gradle.maven.a.a.e.h.a (SourceFile:28)
> at com.gradle.maven.a.a.e.m.a (SourceFile:27)
> at com.gradle.maven.a.a.e.a.c (SourceFile:115)
> at com.gradle.maven.a.a.e.a.a (SourceFile:61)
> at com.gradle.maven.a.a.e.e.a (SourceFile:27)
> at com.gradle.maven.a.a.e.l.a (SourceFile:17)
> at com.gradle.maven.a.a.e.d.a (SourceFile:42)
> at com.gradle.maven.a.a.e.b.a (SourceFile:26)
> at com.gradle.maven.a.a.e.f$1.run (SourceFile:34)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:29)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:26)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute 
> (SourceFile:66)
> 

[jira] [Commented] (FELIX-6526) The "manifest" goal does not work anymore in modules which are using aspectj-maven-plugin "compile" goal

2022-05-02 Thread Hannes Wellmann (Jira)


[ 
https://issues.apache.org/jira/browse/FELIX-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530658#comment-17530658
 ] 

Hannes Wellmann commented on FELIX-6526:


> [~HannesWellmann] can you take a look what might be wrong here?

Yes, I forgot the case that the incremental manifest data do not exist in a 
regular build.
Created [https://github.com/apache/felix-dev/pull/146] to fix that.

> The "manifest" goal does not work anymore in modules which are using 
> aspectj-maven-plugin "compile" goal
> 
>
> Key: FELIX-6526
> URL: https://issues.apache.org/jira/browse/FELIX-6526
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Affects Versions: maven-bundle-plugin-5.1.5
>Reporter: Thomas Mortagne
>Priority: Major
>
> I just upgraded from the maven-bundle-plugin from 5.1.4 to 5.1.5 and I'm 
> getting the following error:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status: 
> /media/DATA/xwiki/sources/xwiki-commons/xwiki-commons-core/xwiki-commons-legacy/xwiki-commons-legacy-classloader/xwiki-commons-legacy-classloader-api/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:306)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:211)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:165)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:157)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:121)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:127)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error checking 
> manifest uptodate status
> at 
> org.apache.felix.bundleplugin.ManifestPlugin.getManifestUptodateCheckException
>  (ManifestPlugin.java:449)
> at org.apache.felix.bundleplugin.ManifestPlugin.isMetadataUpToDate 
> (ManifestPlugin.java:442)
> at org.apache.felix.bundleplugin.ManifestPlugin.execute 
> (ManifestPlugin.java:108)
> at org.apache.felix.bundleplugin.BundlePlugin.execute 
> (BundlePlugin.java:380)
> at com.gradle.maven.a.a.e.c.a (SourceFile:26)
> at com.gradle.maven.a.a.e.n.a (SourceFile:23)
> at com.gradle.maven.a.a.e.h.a (SourceFile:28)
> at com.gradle.maven.a.a.e.m.a (SourceFile:27)
> at com.gradle.maven.a.a.e.a.c (SourceFile:115)
> at com.gradle.maven.a.a.e.a.a (SourceFile:61)
> at com.gradle.maven.a.a.e.e.a (SourceFile:27)
> at com.gradle.maven.a.a.e.l.a (SourceFile:17)
> at com.gradle.maven.a.a.e.d.a (SourceFile:42)
> at com.gradle.maven.a.a.e.b.a (SourceFile:26)
> at com.gradle.maven.a.a.e.f$1.run (SourceFile:34)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:29)
> at 

[jira] [Commented] (FELIX-6526) The "manifest" goal does not work anymore in modules which are using aspectj-maven-plugin "compile" goal

2022-05-02 Thread Jira


[ 
https://issues.apache.org/jira/browse/FELIX-6526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17530637#comment-17530637
 ] 

Christoph Läubrich commented on FELIX-6526:
---

[~HannesWellmann] can you take a look what might be wrong here?

> The "manifest" goal does not work anymore in modules which are using 
> aspectj-maven-plugin "compile" goal
> 
>
> Key: FELIX-6526
> URL: https://issues.apache.org/jira/browse/FELIX-6526
> Project: Felix
>  Issue Type: Bug
>  Components: Maven Bundle Plugin
>Affects Versions: maven-bundle-plugin-5.1.5
>Reporter: Thomas Mortagne
>Priority: Major
>
> I just upgraded from the maven-bundle-plugin from 5.1.4 to 5.1.5 and I'm 
> getting the following error:
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status: 
> /media/DATA/xwiki/sources/xwiki-commons/xwiki-commons-core/xwiki-commons-legacy/xwiki-commons-legacy-classloader/xwiki-commons-legacy-classloader-api/target/maven-bundle-plugin/org.apache.felix_maven-bundle-plugin_manifest_xx
>  -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:5.1.5:manifest (bundle-manifest) on 
> project xwiki-commons-legacy-classloader-api: Error checking manifest 
> uptodate status
> at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute 
> (MojoExecutor.java:306)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:211)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:165)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:157)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:121)
> at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
> at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:56)
> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:127)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)
> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke (Method.java:566)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:282)
> at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:225)
> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
> (Launcher.java:406)
> at org.codehaus.plexus.classworlds.launcher.Launcher.main 
> (Launcher.java:347)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error checking 
> manifest uptodate status
> at 
> org.apache.felix.bundleplugin.ManifestPlugin.getManifestUptodateCheckException
>  (ManifestPlugin.java:449)
> at org.apache.felix.bundleplugin.ManifestPlugin.isMetadataUpToDate 
> (ManifestPlugin.java:442)
> at org.apache.felix.bundleplugin.ManifestPlugin.execute 
> (ManifestPlugin.java:108)
> at org.apache.felix.bundleplugin.BundlePlugin.execute 
> (BundlePlugin.java:380)
> at com.gradle.maven.a.a.e.c.a (SourceFile:26)
> at com.gradle.maven.a.a.e.n.a (SourceFile:23)
> at com.gradle.maven.a.a.e.h.a (SourceFile:28)
> at com.gradle.maven.a.a.e.m.a (SourceFile:27)
> at com.gradle.maven.a.a.e.a.c (SourceFile:115)
> at com.gradle.maven.a.a.e.a.a (SourceFile:61)
> at com.gradle.maven.a.a.e.e.a (SourceFile:27)
> at com.gradle.maven.a.a.e.l.a (SourceFile:17)
> at com.gradle.maven.a.a.e.d.a (SourceFile:42)
> at com.gradle.maven.a.a.e.b.a (SourceFile:26)
> at com.gradle.maven.a.a.e.f$1.run (SourceFile:34)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:29)
> at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute 
> (SourceFile:26)
> at