How to use maven plugin package
Hello, Newbie question. I saw in TW repo there are some maven plugin packages, for example: - maven-resources-plugin - maven-compiler-plugin - maven-jar-plugin - maven-surefire-plugin May I ask how to use them? After installing these package, I used `mvn package -o` in my simple maven project, trying to use these local packages, but got error: "The POM for org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1 is missing, no dependency information available". It seems it tried to use remote maven repo. ` # cd /usr/share/maven/lib/ # ln -s ../../java/maven-resources-plugin/maven-resources-plugin.jar maven-resources-plugin.jar ` also doens't work. May I ask how to use package instead of remote repo ones? Thank you.
Hi, On Tue, 2024-02-06 at 14:28 +0000, Obs Geeko wrote:
Hello,
Newbie question.
I saw in TW repo there are some maven plugin packages, for example: - maven-resources-plugin - maven-compiler-plugin - maven-jar-plugin - maven-surefire-plugin May I ask how to use them?
I would first start by asking why do you want to use the Maven packages as they are found in the openSUSE repos? I _think_ they are used for building packages like Maven for the distribution, but as a Java developer I never use them. Thanks, Robert
participants (2)
-
Obs Geeko
-
Robert Munteanu