[
https://issues.apache.org/jira/browse/MJLINK-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliotte Rusty Harold updated MJLINK-82:
----------------------------------------
Priority: Major (was: Blocker)
> Don't add POM dependencies
> --------------------------
>
> Key: MJLINK-82
> URL: https://issues.apache.org/jira/browse/MJLINK-82
> Project: Maven JLink Plugin
> Issue Type: Bug
> Affects Versions: 3.2.0
> Environment: any
> Reporter: Christian Kohlschütter
> Priority: Major
> Attachments:
> 0001-MJLINK-82-Skip-POM-dependencies-when-assemling-jlink.patch
>
>
> I'm trying to use maven-jlink-plugin with a project that has a Maven
> dependency with {{<type>pom</type>}} (which functions as an umbrella
> dependency bundle with several jars as its dependencies).
> Currently, maven-jlink-plugin fails in this case with the following error
> message:
> {quote}[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-jlink-plugin:3.2.0:jlink (default) on project
> junixsocket-demo-jpackagejlink: The given dependency
> /Users/ck/.m2/repository/com/kohlschutter/junixsocket/junixsocket-core/2.9.1-SNAPSHOT/junixsocket-core-2.9.1-SNAPSHOT.pom
> does not have a module-info.java file. So it can't be linked. -> [Help 1]
> {quote}
> See
> https://github.com/kohlschutter/junixsocket/commit/a73ce7f100a5f886f232a49e5b12fda98cf9f2d7
> for an example.
> For what it's worth, the setup works just fine with jlink-maven-plugin
> (https://github.com/Akman/jlink-maven-plugin)
> Patch is attached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)