1
vote
1answer
9 views
Shared test resources for different projects
I have two projects that need the same test resources.
I'm using maven for dependency handling and eclipse for running the tests.
How can I share the test resources with maven without cloning them?
2
votes
1answer
46 views
Importing a Maven project with custom pom name
How do I import in Eclipse a Maven project (I have the m2e plugin) using a non-default pom2.xml like this:
project
+ src
+ pom2.xml
+ pom.xml
I can build the project with mvn clean install ...
0
votes
0answers
10 views
PowerMockRunner causes ExceptionInInitializerError when running trivial test
I cannot run a very simple test class using the Powermock test runnner. It causes an ExceptionInInitializerError. It looks to be a problem with the dependencies on the classpath, however, I have ...
0
votes
1answer
18 views
SVN symbolic links transparent to Linux and Windows
This is how my SVN looks like now
SVN
+ trunk
+ src
+ pom.xml
and I want to add
+ trunk_alternative_pom
+ src -> SVN/trunk/src
+ pom.xml
so when I update the project (in ...
2
votes
2answers
43 views
IDE with better Maven support than Eclipse with m2e?
We are using maven for manage multi-module projects and Eclipse with m2e for development.
Unfortunately Eclipse by itself does not understand the way Maven works, and even if m2e does a lot of work ...
0
votes
2answers
24 views
Maven not adding JAR to eclipse Project
I am facing a problem again with maven. In my JSP page I want to upload a file and adding some input text fields. Tp process with that I am adding cos.jar for MultipartRequest class
Here is my pom
...
-2
votes
1answer
25 views
File not found: MANIFEST.MF
When I deploy my project on JBoss 4.2.3 I have this error
File not found: C: \ Dev \ workspace \ MyProject \ target \ classes \ META-INF \ MANIFEST.MF.
Have you an idea about this error and how I ...
0
votes
0answers
21 views
Unit test failing due to surefire plugin's forkmode
There is a test in my code which creates a directory and then creates a file inside it.
However, this test fails as the portion of the test that writes the file is not able to find the directory ...
-4
votes
0answers
46 views
Command line error in Maven project with spring framework
Junit is running fine but the import statements in the class file are not responding in the command line and here is the trace:
Exception in thread "main" java.lang.NoClassDefFoundError: ...
0
votes
1answer
30 views
Calling JSP files gives a NoSuchMethodError when app deployed outside of Eclipse
I have a maven project that works completely as intended inside of eclipse. It also builds and runs outside of eclipse, but when I try to call the frontend (JSP web pages) then I get the following:
...
-4
votes
0answers
46 views
Time to kill Ant? [closed]
It seems that even Apache the creators of Ant are moving onto Maven for just about everything these days. Should I start migrating my old projects into Maven and all new projects never even look at ...
2
votes
2answers
32 views
maven generate web service in java
I'm new to maven, and I want to use maven to generate the java code from a wsdl file (using the wsimport plugin ?), which is in my project (not in a url).
I think the wsdl file should be somewhere in ...
0
votes
1answer
21 views
Maven web app on a remote server: missing html files
I've got a Java/Maven web app using the Spark framework that I'm attempting to deploy to a remote Tomcat server using the Cargo plugin. I've never done this using Java, and I'm having a difficult time ...
0
votes
1answer
19 views
maven, fix compile order modules
I have a multi-module project.
Project contain some jar modules, one war module, one ear module. War depends on jars, pom.xml of ear module contain dependencies for all other modules - ear file ...
0
votes
0answers
15 views
Bundling multiple JARS into one and choosing specific one from client app
I'm working on a library jar (more like a wrapper on other libraries) which has dependency on more than one other library jars. I know that I can create a one jar/fat jar using eclipse and ship it. ...