Use gradle-ospackage-plugin in a maven project - maven

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.

Related

Using jaxb2-rich-contract-plugin with gradle

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

Use of maven with artifactory and jenkins

I am very new to maven, artifactory and jenkins as well. I made a directory 'repository' under path /home/apache-maven-3.2.1/.m2/repository. I am trying to deploy a jar through artifactory UI into this directory. Please suggest some configuration so that i can do this. Jars which i deployed already were deployed successfully but when I see inside repository, there is nothing in it.
One other question is how to set dependencies while deploying any artifacts?
These questions may be silly because i don't know anything about the above three tools and i am unable to set relation between them also.
Thanks in advance.
I'm also quite new to maven and still struggling with it, but the thing to do is try to configure a pom.xml file with your settings. Since you didn't give any indication on how the jar file has to be build, you got to find a guide in order to do it.
Useful links:
https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
https://www.tutorialspoint.com/maven/maven_pom.htm
Hope this can help!

Maven without the mouse

I thought maven was a way to build a project without relying on your IDE. I've been following instructions that involve my IDE only to find the project only works from within the IDE.
I happen to be using intellij but I wish I didn't even have to tell you that. Am I wrong or is there a way to build a maven project using keystrokes not "click this, then that" mouse instructions that change lord knows what in the IDE. A way that will work within an IDE but not be dependent on that IDE?
I'm hoping I have been following some instructions that simply didn't have this as a goal. Is there a way to build a maven project that will work just as well in intellij as eclipse? If so how do I find it? Is there a keyword I need to know to search for?
I'm probably misunderstanding something but I hope I've made my goal of having my project only depend on maven itself clear.
You can build a maven project from its directory using -
mvn clean install
Of course this requires Maven installed on the machine you are running it from.
Please look further into the documentation here as well.

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

Resources