maven-2 Questions

6

I am currently in the process of replacing the IBM WebService framework with Axis2. When generating the code from the WSDL file, I use the Maven plugin WSDL2Code. However, the code created is alway...
Cicatrix asked 2/12, 2008 at 12:34

16

Is there an easy way to find the root of a multi-module Maven project, like Gradle's rootDir? Background: I want to use the maven-dependency-plugin to copy artifacts from all sub-modules of my mul...
Violetteviolin asked 21/6, 2010 at 12:34

2

Is there a Maven goal to list the artifacts that are stored in my local Maven repository?
Kalisz asked 14/1, 2010 at 10:17

16

Solved

I have scoured the internet for almost five days now looking for a fix to this issue, but I cannot seem to find and fix it on my own, mainly because I am so new to both Maven and PlayN so I'm not e...
Jumbled asked 1/11, 2012 at 4:14

38

I have been trying from a couple of days to resolve the following error but I am unable to resolve it :( My module's pom.xml file is: <project xmlns="http://maven.apache.org/POM/4.0.0"...
Kamerman asked 5/4, 2016 at 13:32

5

Solved

I am using maven-compile plugin to compile classes. Now I would like to add one jar file into the current classpath. That file stays in another location (let's say c:/jars/abc.jar . I prefer to lea...
Giantess asked 4/8, 2010 at 23:3

6

Solved

I am trying to find a way to copy a resource file to a new name in the target directory in a Maven build. Pretty much everything I have found while searching suggests workarounds involving multiple...
Philosophy asked 22/10, 2010 at 15:53

4

Solved

I am fairly new to Maven and pom.xml. Is there a way I can find out which of my dependencies that are outdated, so that I can update version numbers in my pom.xml. In other languages, for instance...
Quezada asked 18/8, 2010 at 20:46

5

Solved

I'm currently in the process of moving some project from Ant to Maven. Conformist as I am, I want to use well-established conventions for finding groupId and artifactId, but I can't find any detail...
Trudytrue asked 16/9, 2010 at 7:7

4

I get the following error BUILD ERROR Error occured in starting fork, check output in log when using Maven 2.2.1 and Surefire plugin 2.11 while running junit test cases. How can I fix it?
Griseous asked 16/2, 2012 at 23:18

10

Solved

dependency:tree can be used to see the dependency tree for a given project. But what I need is to see the dependency tree for a 3rd party artifact. I guess I can create an empty project, but I'm l...
Faint asked 27/7, 2010 at 11:3

22

Solved

I want to add the oracle jdbc driver to my project as dependency (runtime scope) - ojdbc14. In MVNrepository site the dependency to put in the POM is: <dependency> <groupId>com.oracle...
Castalia asked 2/7, 2009 at 14:55

7

Solved

I'm relatively new to the Maven mantra, but I'm trying to build a command-line runnable jar with Maven. I've setup my dependencies, but when I run mvn install and attempt to run the jar, two things...
Hornbeam asked 7/1, 2010 at 16:57

34

Solved

Previous I issued a question on how to change Maven project vesion from command line which lead me to a new issue. Previously I was able to get the version number since the version was stored as a ...
Sceptre asked 23/8, 2010 at 6:53

5

Solved

I would like to have Maven download the JARs listed in a pom.xml file. How do I do that? Currently, Maven wants to compile the project (and it fails). I don't care about compiling it because I'm co...
Tortoni asked 26/9, 2011 at 18:26

6

Solved

I have been learning a lot about Maven lately and am very impressed. Where can I find information about communicating with, deploying to and retrieving from a repository in the same manner as Maven...
Cruciform asked 3/4, 2013 at 16:39

9

Solved

I'm working with a Maven (jar) Project in Netbeans (Windows), which creates Checkstyle reports with the Maven Checkstyle plugin. No matter what I do, I always get the message: File does not end wi...
Torrietorrin asked 15/6, 2009 at 16:21

7

Solved

I have a project that consist of 3 different libraries. When I run install script it takes all libraries from repo and run mvn clean install on them. But this version of library already installed i...
Overman asked 30/6, 2010 at 8:50

2

Solved

For statistical reasons, we need to know how often our library (jar) is used. When users download the jar from our website, we have a built-in script that counts the downloads. We have recently als...
Meanwhile asked 27/4, 2010 at 6:19

3

Java, mvn tool, how to using mvn uninstall package? Have some plugin, tool, shell script and command method?
Floristic asked 13/7, 2020 at 12:56

2

Solved

How can I set up the < localRepository > tag with an environment user var. I tried this path: %myRepo%/repo but it doesn't works (myRepo=C:/maven/repo). I can't use an absolute path for portabil...
Incurious asked 21/9, 2011 at 15:55

6

Solved

I'm converting a largish Ant build to Maven. As part of the Ant build, we have several steps which created Java classes by invoking one of the project's classes, simplified as: javac SomeGenerator...
Shipmaster asked 27/1, 2010 at 13:27

2

Solved

There is a multi-module project. Inside the child I need to do some complicated stuff (integration test with deploying to application server and so on). So there is an integrationtest child, and fr...
Fatal asked 28/10, 2010 at 7:41

45

Solved

When trying to start my JUnit-Test out of Eclipse, I get a "ClassNotFoundException". When running "mvn test" from console - everything works fine. Also, there are no problems reported in Eclipse. ...
Renoir asked 27/6, 2009 at 15:1

7

I have a profile in my pom.xml which should be always active unless it is explicitely deactivated (-P !firstProfile). I solved this by using the activeByDefault flag: <profiles> <profile...
Arbitrator asked 15/3, 2011 at 8:51

© 2022 - 2025 — McMap. All rights reserved.