maven-2

Is there a way to hide Maven 2 "target/" folder in Eclipse 3?

I'm using maven 2.0.9 with Eclipse 3.3.2. I'm used to launching a fresh build once per day by a mvn clean install. Then, if I refresh my Eclipse project, it will be "polluted" by files from Maven's target directory. That's very annoying while performing searches, getting resources by "open resource" and so on. Is there a way to avoid ...

Using maven as build tool for Weblogic 10.3

I am trying to setup Weblogic Server 10.3 (and Portal etc.) to use maven as a build tool. I am trying to find a decent tutorial or documentation how to do this. There are some tutorials for older versions like 9.0, but there is little info for version 10. I am looking a way to build weblogic's ear file with maven. Are people actually do...

Where can I find the Maven installation directory in Eclipse 3.4

I have installed m2eclipse plugin from http://m2eclipse.codehaus.org/. Now I want to use that as a standalone build tool but I am unable to find the installation directory. Can anyone help me in this? ...

How do you build an SWT application with Maven

I trying to learn swt, and I use maven for all my builds and eclipse for my IDE. When getting the swt jars out of the maven repository, I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3034 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709) at java.lang.Runtime.loadLib...

Does anyone know of an Eclipse(WSAD/RAD) plugin for a Maven2 POM classpath container

I am trying to find a simple single purpose plugin that will maintain the Eclipse classpath based on the Maven2 POM dependencies. I know about m2eclipse and q4e. Unfortunately, I'm currently using RAD (Rational Application Developer - IBM's commercial version of Eclipse) and it is not fully compatible with m2eclipse, and I can't use q4e...

Installed package with Maven

How do I install a specific package, like derbytools, with Maven without specifying it as a dependency of project? ...

Maven, Hudson and Dynamic Clearcase Views

This led on from the question about asking if Apache Maven and IBM Rational ClearCase integrated well. Thought I should write up what I found out - will require various edits, but I shall eventually get round to adding it all I hope. Environment ClearCase - Version 7.0.1.2 of ClearCase. Maven - All of them, from the Maven website. ...

What tool is the equivalent of Maven in TFS (or MS-land)?

My company is moving from svn (and open source products) to TFS (and MS products). We've used maven in the past for packaging-up pre-built components into release-ready packages. Is there a tool in TFS or MS-Land as powerful as maven to do this? I've looked at msbuild, but it seems a little less robust than Maven. ...

What are your impressions of Maven?

I am considering using Maven for a Java open source project I manage. In the past, however, Maven has not always had the best reputation. What are your impressions of Maven, at this time? ...

Which is the best Maven Eclipse plugin ?

There is two available Eclipse plugins for Maven : Eclipse IAM (old name is Q4E) m2eclipse m2eclipse seems to be the oldest but the more robust. Is there any key differences between the two ? Which one should be chosen for a project starting today and why ? ...

Why can't maven find a plugin?

If I type the command: mvn dependency:list The docs suggest that I'll get a list of my project's dependencies. Instead though, I get this: [INFO] Searching repository for plugin with prefix: 'dependency'. [INFO] ----------------------------------------------------------- [ERROR] BUILD FAILURE [INFO] ----------------------------------...

GOOD tutorial for writing Maven plugins?

Can someone please recommend a GOOD online tutorial for writing maven2 plugins? I looked at about 5 tutorials yesterday and each skipped steps, didn't tell you where key components (referenced in the tutorial) were supposed to go or how to install the plugin you wrote. Futher, many didn't reference which version of maven they worked ...

Get source jar files attached to Eclipse for Maven-managed dependencies

I am using Maven (and the Maven Eclipse Integration) to manage the dependencies for my Java projects in Eclipse. The automatic download feature for JAR files from the Maven repositories is a real time saver. Unfortunately, it does not include API documentation and source code. How can I set up Maven to automatically also get the source ...

What are the hidden features of Maven2?

What are the hidden features of Maven2? ...

How do I track plugin dependencies in maven2 ?

I am trying to locate an evil plugin that includes a stoneage version of a certain jar file. How do I do that ? ...

Maven or Ivy for Managing Dependencies from Ant?

Hi, I was wondering about the best way to manage projects dependencies from ant. What are the pros and cons of the Maven Ant task and of Ivy? ...

Connect to database using jsf

How do I connect to the database(MYSQL) in connection bean using JSF to retrieve its contents. Also please let me know how do I configure the web.xml file? ...

What's the minimum classpath for an Axis2 client?

I want to build an Axis2 client (I'm only accessing a remote web service, I'm not implementing one!) with Maven2 and I don't want to add 21MB of JARs to my project. What do I have to put in my pom.xml to compile the code when I've converted the WSDL with ADB? ...

How do I install modules into the maven repository using Netbeans embedded Maven?

I have the Maven plugin for NetBeans and it successfully set up a local repository for me. Now I need to add a 3rd party library (specifically Oracle JDBC driver) to my repository. The build fails with instructions on how to install a third party module but it doesn't look like I can run that command with the NetBeans Maven plugin. Is th...

How do you edit Maven pom files?

I have recently started exploring Maven, but I feel a bit overwhelmed of all xml configuration in all the pom files. Are there any good tools i can use? ...