Maven repository for EJB 3.1 API
What Maven repository can I use for EJB 3.1 API dependency? ...
What Maven repository can I use for EJB 3.1 API dependency? ...
can anyone suggest me a plugin/tool that can perform a code formatting at build time. ...
Hi all, I am new to maven. I want to use filtering in a multimodule project. The packaging type of the parent pom is set to pom. The structure of the project is as follows: pom.xml | |______MODULE1 | | | pom.xml | File1_needed_to_be_filtered | File2_needed_to_be_filtered Please note...
Time and time again I've read and heard people frustrated over Maven and how complicated it is. And that it's much easier to use Ant to build code. However, in order to: Compile code Run tests Package a deployable unit This is all you need from Maven: <project> <modelVersion>4.0.0</modelVersion> <groupId>type something here</g...
I have determined that two jaxb plugin for maven2 exist, with some different configurations. The one is from Sun: http://jaxb.dev.java.net/jaxb-maven2-plugin/ the other from Mojo: http://mojo.codehaus.org/jaxb2-maven-plugin/ Has anybody experience with these two plugins, and give a recommendation? Thanks Matt. On my little research pr...
Hey there, just set up a simple project to test the functionality of the maven exec plugin. I have one class containing one "Hello World" main method. I've tested two configurations of the exec plugin. <goals> <goal>exec</goal> </goals> <configuration> <executable>java</executable> ...
I'm writing a maven 2 plugin and I'd like to exclude all the java files related to the source repository I'm using, which is BitKeeper. These files live in directories called SCCS. So far, I've been unsuccessful. When I add the maven-compile-plugin with excludes data, it works (the BitKeeper files are excluded) if I execute mvn comp...
Hello , Is there any to get the entire remote repository , say from http://repo1.maven.org/maven2/ , to my local repository (to %USERPROFILE%)? Thanks in advance for the help. Srinivas N ...
I created a maven project in eclipse. I uploaded it to my subversion server. Now on my testing server I installed maven and I want to connect it with my svn repository to run test builds on. Not sure how to do this since I have only worked with Maven via the eclipse plug-in. ...
I am using eclipse with the maven 2 plugin. I want to add the dependency for sqljdbc4, how can I do that? Can't seem to find it via the 'add dependency' option in eclipse? ...
I created a maven2 project in eclipse, and then I moved the folder to another location. How can I open that project now in eclipse, I can't seem to find a 'open an exisiting maven' project or the like? Opening the file pom.xml just opens the file, kinda stuck sorry. ...
I have a project which as part of the build process creates an XMLBeans jar file (stbSchemas.jar) which I want to include and reference in this project. Is this the best way to go about this (Single project) or should I have a child project which is built from the parent project? I am building this using Maven2 inside Eclipse. Is ther...
I mavenize my java-project and don't understand, how add in it native libraries. In my not-maven project i did it via CLASSPATH. I use NetBeans and maven in it. ...
For a project at work, we're considering using the Maven plugin for Eclipse to automate our builds. Right now the procedure is far more complicated than it ought to be, and we're hoping that Maven will simplify things to a one-click build. My question is, is there a wizard or automatic importer for converting an existing Eclipse Java p...
I've got an existing pom file that includes a maven-jar-plugin section. It runs for the test-jar goal and is currently excluding a few directories: <excludes> <exclude>...</exclude> <exclude>...</exclude> <exclude>somedir/**</exclude> </excludes> I need to include a file in the somedir directory but leave out the rest ...
Hi, I am trying to migrate a Java application built by Ant to Maven2. among other the build perform the following operations: 1) Running a javadoc doclet to find annotated Java files to be externalize later as web services 2) compile a small part of the code for step 3 3) run Axis java2wsdl on the compiled code from step 2 4) produce j...
Hi. I'm getting a runt-time "Unsatisfied link error" for libraries installed in Linux system library, which are definitely visible. This project works normally when I let Eclipse to manage it. Does someone know if there any caveats regarding JNI and Maven, and can advice about this case? Thanks in advance. ...
How can I use source 5? I tried mvn -source 5 test but it didn't work :-) When I compile the file by javac, everything works. ...
This started happening when I upgraded my Springsource Toolsuite from 2.3 to 2.3.1. Essentially whenever I do anything, such as open a file, change a file, etc, I have to do a clean. Everything works fine when I do mvn commands on the command line, which leads me to believe that Eclipse is looking in the wrong place for compiled code o...
I wonder whether I can setting up a private maven repository based on my svn. The svn can be accessed via http. If yes, then what should I do? Just uploading the architypes is enough? ...