maven-jar-plugin icon indicating copy to clipboard operation
maven-jar-plugin copied to clipboard

Add warning in strange case

Open cstamas opened this issue 1 year ago • 5 comments
trafficstars

The least we can do: check is "language" of current project packaging is "java" or not (all jar-like outputs are using language="java", only pom and bom packaging uses language="none"), and emit a WARN to user to reconsider.

cstamas avatar Jun 04 '24 12:06 cstamas

The trick does not work with Maven4...

cstamas avatar Jun 04 '24 12:06 cstamas

Groovy, Kotlin?

michael-o avatar Jun 09 '24 13:06 michael-o

Groovy, Kotlin?

Do Groovy or Kotlin use a custom packaging?

slawekjaranowski avatar Jun 09 '24 17:06 slawekjaranowski

Groovy, Kotlin?

Do Groovy or Kotlin use a custom packaging?

I have no clue, was just hinting whether the restricition is complete.

michael-o avatar Jun 09 '24 17:06 michael-o

ok, m-jar-p is not the best place to check it ... the same will be with:

 mvn -N ejb:ejb install:install  

slawekjaranowski avatar Jun 09 '24 21:06 slawekjaranowski