[INFO] Adobe I/O - Java SDK - OSGI bundle ................. FAILURE [ 4.098 s]
[INFO] Adobe I/O - AEM Core - OSGI bundle ................. SKIPPED
[INFO] Adobe I/O - AEM Events Management - OSGI bundle .... SKIPPED
[INFO] Adobe I/O - AEM Events Publishing - OSGI bundle .... SKIPPED
[INFO] Adobe I/O - AEM OSGI Events Mapper - OSGI bundle ... SKIPPED
[INFO] Adobe I/O - AEM Events Package ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.755 s
[INFO] Finished at: 2023-08-24T09:23:25Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.1:install (default-install) on project aio-lib-osgi: The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error:
Error: After correcting the problems, you can resume the build with the command
Error: mvn <args> -rf :aio-lib-osgi
Error: Process completed with exit code 1.
workaround
downgrading maven-install-plugin to 2.5.2 fixes it ...
it looks like 3.1.1 has a similar bug to https://issues.apache.org/jira/browse/MINSTALL-151
bug description
Our last PR upgraded
maven-install-plugin
from2.5.2
to3.1.1
. But this caused ourAEM 6.5
profile build to fail seesee https://github.com/adobe/aio-lib-java/actions/runs/5961896409/job/16172001866#step:5:22627
workaround
downgrading
maven-install-plugin
to2.5.2
fixes it ... it looks like3.1.1
has a similar bug tohttps://issues.apache.org/jira/browse/MINSTALL-151