Maven2 is driving me crazy during the experimentation/quick and dirty mock-up phase of development.
I have a pom.xml file that defines the dependencies for the web-app framework I want to ... |
Does anyone know of a way to set a specific classpath order in Maven2, rather than the random ordering I appear to experience at the moment?
There are a number of legitimate ... |
I have an unusual situation where I need to add an arbitrary classpath entry (that points to a jar file) into the manifest of an executable jar. (This is for a ... |
I've got a project I've made with Maven. I compile a JAR, with "mvn package", and now I want to run it, preferably without setting some insane classpath, as it depends ... |
I am using maven appassembler to create my assembly. My classpath is too long and I get "The input line is too long." The suggestion here is to ... |
When i try to run a maven plugin, i found that the default classpath defined in expression $(project.compileClasspathElement) is too long. So, i just want to customize a shorter classpath for ... |
Hi
I am using maven-compile plugin to compile classes. Now i would like to add one jar file into current classpath. that file stays in another location (let says c:/jars/abc.jar ... |
|
So I'm working on a java project (an exitsing java project that uses maven2, not mine). Everything works fine.
I add a new class to the source directory.
I do mvn compile ... |
I have a property file which is not located in a classpath in Maven.
Therefore I can't reach it with:
ClassLoader.getSystemClassLoader().getResourceAsStream(PROPS_FILE);
How can I add the folder containing the property file to the classpath, ... |
I need to add JDK's tools.jar as a project dependency.
Setting it as a normal dependency is not working, because when installing it to the Maven repository, it adds a version number ... |
I inherited a Maven project/module that failed when I switched from Maven 2 to Maven 3. It hinges on the execution of an external program that depends on the contents of ... |
Hi all i have very rare problem which needs to be solved.
Problem/issue:
I have a dynamic web project which is already built and i have war file of that project.
I need to ... |
So I understand that we can have a deterministic classpath order from Maven POM. But how can I use this in my Java Service Wrapper configuration file?
|
I want to try out the example code from this article: Load Recovery.gov Grant Data into a CouchDB Database. I'm familiar with the Java language but I know ... |
I want to add some configs to the classpath (generated by maven-jar-plugin), but I don't want them inside a jar, but in an external folder. That way I'll be able ... |
I have a multi-module maven project, with a parent/child structure given below:
| parent -> ... |
I have written two simple Java classes (one of them containing "main()", and the other called by "main()").
Class #1 (containing "main()"):
package daniel347x.outerjar;
import daniel347x.innerjar.Funky;
public class App
{
public static ...
|
I'm currently using Maven to build my Rhino JavaScript project, download dependent libraries, and manage the classpath at runtime. I'm able to run the JavaScript entry point by using the Maven ... |
java.lang.NoClassDefFoundError:org/apache/poi/hssf/usermodel/HSSFWorkbook
This is java web project. The java project is ok, but in web, I got this exception.
Caused by: java.lang.ClassNotFoundException: org.apache.poi.hssf.usermodel.HSSFWorkbook
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
maven dependency :
<!-- apahce poi -->
<dependency>
...
|
My library requires me to bootstrap the JVM in order to run it. In case you do not know, if you pass a jar to the JVM with the -bootstrap option, ... |
Simple Maven clarification; I hope this will be easy to answer from an experienced Maven developer.
I have two projects called mycompany-x and mycompany-y. mycompany-x is listed as a dependency of ... |
what options to maven can I use to determine what classpath maven is running a testng test case with?
|
* * * wkst* * base-platform* * ${pom.version}* * war* * * wkst server ${pom.version} ant ant 1.6.5 provided ant ant-launcher 1.6.5 provided weblogic weblogic 7.0.6 org.apache.maven.plugins maven-antrun-plugin 1.1 generate-sources |