how do I set eclipse.ini -vm option ?
I installed maven plugin for eclipse, then I get an error like below: please make sure the -vm option in eclipse.ini is pointing to a JDK how to use -vm option to point to my jdk in eclipse.ini? ...
I installed maven plugin for eclipse, then I get an error like below: please make sure the -vm option in eclipse.ini is pointing to a JDK how to use -vm option to point to my jdk in eclipse.ini? ...
Hi there I'm new to maven, I keep running in to the following syntax: <include>**/*</include> Im not sure how to interpret **/*, is this some Java or maven convention? ...
i managed to create my project structure using maven2. but when am compiling my project using mvn install getting error generics are not supported in -source 1.3 googled to build my project using jdk1.5 and added build tag <project> <modelVersion>4.0.0</modelVersion> <groupId>com.myProject</groupId> <artifactId>project</artifactI...
I have to organize a development environment where I can run Maven projects with JBoss Seam, IDE eclipse 3.4.x and deploying to JBoss 5. The projects that will run on this environment are based in Java 6, EJB3 and JSF1.2. The environment has to support hot-deploy. I used to work in a development environment with Sysdeo Plugin to make To...
Is it possible to attach an ant execution to a specific plugin/goal ? ( I know I'm losing the declarative aspect of maven if I do that..) ...
Can Maven copy local file to a remote server server using SSH? I want to specify location in maven configuration file and to copy that file(or files) to server each time deploy phase is executed. ...
When executing 'mvn antrun:run' my tasks are not run.. I have an echo task, but no output is shown.. When running the phases that the tasks are bound to, they do get executed.. How do I specifically execute the tasks from the commandline? ...
Hi, I have made following changes to the POM.xml file for adding a manifest file that i have kept in \resources\META-INF But am unable to create an executable jar file. <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.0.2</version> <con...
I have a project build that needs to include files from another svn location during the build. I want to execute an svn get and then copy these files to the appropriate folder for the build. Researching this issue it seems I could use ant tasks but I wanted to find out what might be the best approach to take for this build. ...
In the pom for the archetype I'm creating (archetype-resources/pom.xml), I'm referencing ${project.build.directory}, which is causing an error when creating/generating a project from the archetype. org.apache.velocity.runtime.exception.ReferenceException: reference : template = archetype-resources/pom.xml [line 15,column 18] : ${project...
Hi I am running a multi level maven project. It has webapps packaged as WAR, which depend on components packaged as JAR files Most of the code changes that i do belong to those JAR files. To test the changes, i need to repackage the JAR and the WAR and deploy externally in tomcat. I tried using sysdeo-tomcat-maven-eclipse plugin, bu...
We're using maven 2.1.0 and I am looking for some best practices with regard to dependency management. I have multiple modules that are completely separate, but still have many common dependencies. Like log4J, but some modules don't need it. I am wondering if it is a good idea to declare all common dependencies in one parent file in t...
I'd like to add an Implementation-Version line to a manifest in my jar file that reflects the POM version number. I can't for the life of me work out how to do this using the jar plugin. Is this possible? ...
I'm having a hard time to make my Maven2 multi module project, with a deep project structure, appear as a single ear (with its dependencies - which includes 1 war, 2 ejbs and 1 jar) to be deployed in my JBOSS 5 server inside my Eclipse Ganymede (tab Servers). I've been trying to use Maven Eclipse Plugin to turn my projects into a WTP pr...
I am trying to use a Maven 2 repository via SSL secured with a self-signed certificate. I followed the instructions at HTTPS and Self-Signed Certificates in Java but I doesn't to work. I think its because the certificate is a wild-card certificate. So I wonder if I should be doing something different to import the wild-card certificate?...
I'd like to add an Implementation-Version line to a manifest in my jar file that reflects the POM version number, using the maven assembly plugin. Note that this is similar but different to another of my recent questions about the jar plugin. ...
Is there an Ant equivalent to the 'profile' concept in Maven? I'd like to be able to specify a different set of targets to build (out of one Ant file) depending on an argument. So in Maven I can specify a profile and then activate it like so: mvn groupId:artifactId:goal -Denvironment=test So say my build.xml contains: <target name="...
I'm trying to run Maven Surefire with an include statement of: <include>**/[A-R]*SeleniumTest.java</include> <include>**/[A-R]**SeleniumTest.java</include> <include>**/[A-R].*SeleniumTest.java</include> But it does not seem to support any of these notations. What is the syntax of this expression? (Documentation link would be much app...
I have 2 maven2 profiles, selenium and jspc. Now for "selenium" id'd like to have an implicit activation of "jspc", so that I don't have to write mvn -Pselenium,jspc from the command line. Is this possible ? ...
Hi all! I am trying to create a jsf+spring+hibernate from a spring project. Below are the steps i have taken. I have been successful in creating projects in the past using the same method. I have no idea where i am making the mistake. Looking for all the hints, where i am going wrong. NB: I have made the inputs and error messages as b...