Using jaxb2-rich-contract-plugin with gradle - maven

As a last resort before converting my project to maven, I wanted to ask if you have any idea how to use this plugin (http://mklemm.github.io/jaxb2-rich-contract-plugin/dependency-info.html) with gradle. I cannot find any documentation about how to use it with gradle, only maven.
Any help appreciated.
Thanks in advance

Related

Use gradle-ospackage-plugin in a maven project

I Need to user gradle-ospackage-plugin in maven project. Examples found googling are done with gradle.
Can someone help or point to a resource?
Thanks in advance.
Since i'm using maven, i finally switch to rpm-maven-plugin. To use it in windows environment however, you'll need to use cygwin and install rpm packages.
Hope this will help another guy in the future.

Gradle equivalent for Maven Java formatter that uses com.googlecode.maven-java-formatter-plugin

I'm switching a large project from Maven to Gradle. Existing Maven project uses com.googlecode.maven-java-formatter-plugin to format the Java code. Looked for the equivalent in Gradle. Found https://plugins.gradle.org/plugin/com.github.sherter.google-java-format, but it spewed a bunch of errors out, was really slow, and didn't generate the same output as the Maven plugin.
Also looked here: https://github.com/google/google-java-format - no help.
Is there a Gradle plugin which will give me same result as the Maven plugin?
There is this other Gradle plugin, which uses the Eclipse formatter. Maybe you can tweak it to achieve the same results as with the maven plugin you mentioned (I'm not using this plugin myself).
Note that it is an explicit non-goal of google-java-format and the corresponding Gradle plugin to be configurable. If you are not happy with the formatting style then this tool is probably not appropriate for you.
(if you have technical problems with my Gradle plugin, feel free to provide more details or open a ticket on Github)

What is the difference between Sonatype.Aether and Eclipse.Aether

Currently I am working with 'Aether'. But I am confusing which is the most suitable 'Aether' library. And which one is the most suitable for maven plugin development. Thank you!
It is the same , if you click on the github of the sonatype Aether you will see the following :
DEPRECATED: This project moved to Eclipse, please follow the link below to find the new sources. http://www.eclipse.org/aether/

jar dependencies Maven

I am a beginner, I'd worked with Maven to manage my dependencies and no look for get the jar on the internet then added the classPath project.
Currently I'm working with program that has attacked a database so I need to work with hibernat but at my level I do not know where I can find groupId and artifactId for Hibernate. if someone have ideas or track let me know and I'd be really grateful.
Thank you in advance.
You can use MvnRepository to search artifacts. And there is a quick link for Hibernate there at the very top of the home page:
follow the below which i have provided
http://geeklabs.co.in/mvn/smpmvnapp_eclipse.html

Noticeable projects in build tools ( ant , maven and gradle )?

I'm comparing ant, maven and gradle to suggest one tool to my project. I have found projects like hiberante, grails, groovy and spring uses gradle. But could not found any noticeable projects in ant and maven. Does anybody knows such projects ?
Also i would like read your comments on these build tools so I can choose the best one.
Thanks in advance
One prominent Open source project that uses Ant is Apache Tomcat. You can find their build script here.
Apache Wicket and Apache Camel come to mind as popular projects that use Maven.
As for Ant, I don't really know. Spring used to, but as you said it now uses Gradle.
Take a look at https://builds.apache.org there you will find many examples for all tools

Resources