maven-compiler-plugin
Polyglot for Maven
maven-compiler-plugin | Polyglot for Maven | |
---|---|---|
4 | 12 | |
187 | 865 | |
1.6% | 0.1% | |
8.0 | 6.7 | |
3 days ago | about 2 months ago | |
Java | Java | |
- | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
maven-compiler-plugin
-
Using JDK21 Preview Features and/or incubator classes
The configuration enablePreview exists since version 3.10.1 of the Maven Compiler Plugin. So in general I recommend to use the most recent versions of the plugins otherwise it might happen that some configuration options or alike might not exist at all or special things for newer JDK versions.
-
Why did Spring Initializr Change the Default to Gradle?
Once you have built and debugged your first simple plugin, check out how mainstream/official plugins are built (you can find them on GitHub) and experiment. It really takes a week to get going, maybe less, that's it.
-
A Maven project that produces Java 17 and Java 8 JAR files
The Maven Compiler Plugin uses JDK 8 and compiles only 3 source files. This is different from the 5 source files compiled in the Java 17 version.
-
How are library developers expected to test multi-release jars?
Like, check out how the compiler plugin itself is tested: https://github.com/apache/maven-compiler-plugin/blob/master/pom.xml#L254
Polyglot for Maven
-
Was Rust Worth It?
And you don't even need to use XML with Polyglot Maven
https://github.com/takari/polyglot-maven
-
Why did Spring Initializr Change the Default to Gradle?
If you prefer the shorter alternative, you might want to use the Polyglot XML extension https://github.com/takari/polyglot-maven/tree/master/polyglot-xml
-
Gradle 8.0
Here you go: https://github.com/takari/polyglot-maven
- Does something like Javas Jhipster exist for Python?
- Maven Polyglot
-
Maven is turning 20 today 🥳 To many more years of stable Java builds 🍻
Fun fact, POM files can be in formats other than XML (although I have no idea if IJ would tolerate such shenanigans): https://github.com/takari/polyglot-maven/blob/polyglot-0.4.8/polyglot-yaml/src/test/resources/snakeyaml/pom.yaml
-
From Maven 3 to Maven 5
There is a certain argument to be made for user ergonomy. Many developers are drawn to Gradle and friends, or to work with polyglot Maven, because they support a more concise syntax. This is not necessarily a contradiction with Maven's Goals!
- Why doesn't everyone use gradle?
-
The Maven Wrapper has now been officially released from the Apache Maven Project
I wished they‘d finally embrace polyglot maven https://github.com/takari/polyglot-maven. pom.yaml rule the world.
-
Gradle 7.0 Released
It seems merely adding a file to the .mvn directory will do as you wish: https://github.com/takari/polyglot-maven#usage
I have avoided that road because it's one more thing that is a snowflake in the very area where I don't want to blazing trails. But I have personally tried their approach before and can confirm it does work as advertised. I can't recall if IJ lost its mind over pulling a stunt like that, but arguably if it did, then filing a YouTrack is an appropriate next step
What are some alternatives?
Apache Maven - Apache Maven core
Joda-Money - Java library to represent monetary amounts.
jdk21 - JDK 21 Test repo
Maven Wrapper - The easiest way to integrate Maven into your project!
maven-sources - Apache Maven Sources
Membrane Service Proxy - API gateway for REST, OpenAPI, GraphQL and SOAP written in Java.
RoaringBitmap - A better compressed bitset in Java: used by Apache Spark, Netflix Atlas, Apache Pinot, Tablesaw, and many others
J2ObjC - A Java to iOS Objective-C translation tool and runtime.
maven-mvnd - Apache Maven Daemon
Codename One - Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.
tycho - Tycho project repository (tycho)
sitemapgen4j - SitemapGen4j is a library to generate XML sitemaps in Java.