maven-2

Error deploying web application on Weblogic 10.3 using maven 2: "Can't find wsdl /wsdls/wsat.wsdl"

Hi, I'm using maven for deploying a web application in my Weblogic 10.3 server remotely. I created my pom file based on the indication on this previous question: Using maven as build tool for Weblogic 10.3 My pom.xml file is: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi...

What happened to the "Enable Nested Modules" option in m2-eclipse?

I contribute to and implement some open source projects that use a Maven2 build system organized into several sub-modules. I've also been an Eclipse user for several years. With these projects, I have historically leveraged the maven-eclipse plugin so that Eclipse can correctly recognise library dependencies in my project. It used to ...

Maven: compile aspectj project containing Java 1.6 source

What I want to do is fairly easy. Or so you would think. However, nothing is working properly. Requirement: Using maven, compile Java 1.6 project using AspectJ compiler. Note: Our code cannot compile with javac. That is, it fails compilation if aspects are not woven in (because we have aspects that soften exceptions). Questions (ba...

Hudson can't find local maven repository (including 3rd party jars)

Hi all, I have created a Maven2 project. Everything works fine. Now, I have set up a Hudson project in order to make nightly builds possible. Hudson should check out the current project state from a Subversion repository, run the tests, build the project and deploy everyting to a repository. My Subversion repositroy contains my Maven2 p...

Build Issue with multi module project

Hi, I have a multi module web project. Four modules of the project are packaged as jar and added as dependency to the fifth module, which is packaged as war. When it is time to deploy the application i just run package on the war project and my war is created with all the dependencies. Now there is a problem. One of the my module hav...

Maven: Multiple class with the same path implemented in different jar

I'm running into trouble with having multiple class with the same path (i.e. same name, same package!!!). For some reason, gwt-dev comes with its own version of org.apache.xerces.jaxp.DocumentBuilderFactoryImpl and javax.xml.parsers.DocumentBuilderFactory. At the same time, spring also depends on these classes but from different jar. I ...

Using Maven to build JAR from source in Subversion trunk

There's a Java library that I would like to use in my project. My project uses Maven to pull in dependencies and it works great for everything except this one library. The problem is, this library never has releases. The author maintains the source in a Subversion repository and only makes changes in trunk. Is there a way I can tell ...

Build specific module in multi-module project

I have a multi-module project. I thought I can compile only a single module from that multi module project with this line: mvn -amd -pl "module-name" This does not seem to work, but only builds the specific module. Its dependencies are not compiled yet so it fails. Any ideas how to solve that? ...

Best "General Purpose" Maven plugins

We are just moving to Maven, and I understand there is a world of different plugins & extensions. Which are the best ones you recommend for general usage? (On plugin per answer please) ...

Which Maven Plugin did you write by yourself?

that is not available on public repository. Why or for what purpose did you write it? ...

A layout for maven project with a patched dependency

Suppose, I have an opensource project that depends on some library, that must be patched in order to fix some issues. How do I do that? My ideas are: Have that library sources set up as a module, keep them in my vcs. Pros: simple. Cons: some third party sources in my repo, might slow down build process, hard to find a patched place (th...

differences between dependencymanagement and dependencies of maven

Hi: What is the differences between dependencymanagement and dependencies? I have seen the docs at apache maven web site.However I got nothing. It seems that a dependency defined under the DependencyManagement can be used in its child modules without sepcify the version.For example: A parent project(Pro-par) define a dependency under th...

Unbelievable: Cannot cast from class X to its super class

I'm encountering a very weird problem with Spring (3.0.1.RELEASE), TestNG (5.11) and Maven Surefire (2.5). I have a test class that extends a Spring helper class for testNG so that test context can be loaded from an xml file (that contains some bean definitions). My project was imported into eclipse using m2eclipse (using Import Maven Pr...

How to exclude a folder in svn checkout in maven?

Im using maven to checkout some projects. I don't want maven to checkout a folder. But it seems to ignore the excludes tag in configuration. This is the svn structure: trunk/ |-- folder_to_include `-- folder_to_ignore And here it goes a sample of the pom.xml: <execution> <id>checkout_application</id> <configuration>...

Maven plugin for generating ISO file

Hi All, Is there a maven plugin capable of generating ISO images? I need to take the output of some modules (mostly zip files containing jars) and combine them into a single ISO image. Thanks ...

Is there a SVN Maven?

Is there something for maven like http://subclipse.tigris.org/svnant.html ? Something to automate your project updates without having to click update? ...

Execute Ant task with Maven

Hi, I'm trying to execute with Maven some test written using Ant tasks. I generated the files required to import the task into Maven, but I can't execute them. My POM is defined this way: <build> <plugins> <plugin> <artifactId>maven-ant-plugin</artifactId> <version>2.1</version> <executions> <e...

Using maven-release-plugin to tag and commit to non-origin

When I do a release of my project, I want to share the source with a wider group of people than I normally do during development. The code is shared via a Git repository. To do this, I have used the following: remote public repository - released code is pushed here, every week or so (http://example.com/public) remote private reposito...

How can I get nexus to proxy springsource maven repository on s3?

I have nexus 1.5.0 setup to proxy springsource repositories but it's not working. The repositories are on s3 that nexus doesn't seem to understand how to deal with that. What's the right pattern? Here are the repositories I'm told I need, but I cannot access the maven paths with in them http://repository.springsource.com/maven/bundle...

Maven grails plugin issue

I'm trying to create the pom for an existing grails project via: mvn grails:create-pom -DgroupId=ourcompany.com Now, we have our maven repository available in a local nexus repo: http://ourcompany.com/nexus But when i run the above, i get the below error Downloading: http://ourcompany.com/nexus/content/groups/public/ourcompany/com/h...