Hi,
I am unable to include the new jMock release as Maven dependency. Here is what I tried including:
<dependency>
<groupId>org.jmock</groupId>
<artifactId>jmock</artifactId>
<version>2.6.0</version>
</dependency>
I have tried various combinations with the version and artifactId but it doesn't help.
Thanks,
Julia.
...
Hi,
I'm searching for a longer time, but without any solution.
My problem:
I configured my Grails project (1.2.4) with Maven and my own Nexus Repo. That seems to be working well. But can I also put the Grails plugins, which I am using, also to the Nexus Repo?
At the momement the plugin dependencies are resolved over the Grails Plugin...
I am using m2eclipse and I want to right click and run tests from inside eclipse while the test resources get filtered from Maven. How can I do this? From eclipse when I right click on a test I do not get any m2eclipse options
Julia.
Similar to:
http://stackoverflow.com/questions/2855706/debugging-maven-junit-tests-with-filtered-resou...
I want to be able to run a proper Axis2 web service by just executing mvn jetty:run. Ultimately I want to produce a single war that I can deploy somewhere.
I am just looking to use POJO web services but I'm curious to know what the full dependency tree looks like. Assuming everything else is correct, below are the axis2 specific depende...
I created a Plexus component to house common logic for several Mojos I want to create. I have been able to pass information like localRepository and project from the Mojo (and test cases).
I was wondering if there is a way to get the MavenSession or MavenExecutionRequest from within the component without having to pass them as paramete...
Hi,
I'm running the maven repository manager Nexus on Tomcat. When I setup my pom file, my repository URLs all look something like http://myhost/nexus/repo-name. I'd like to get the word "nexus" out of the URL. We're currently transitioning from an older repository manager and now we need to update all of the URLs. However, if we had a ...
I am trying to add specific directories from maven modules into my build. I believe that are the way to go back this.
I would appreciate a clear and concise way of using to obtain necessary directories from maven modules that just simply contain a directory with some necessary resources.
Please and thank you.
GC
...
Developing in NetBeans with Maven I often keep reverting back to local history and svn code as things no longer work (TDD?). Other than committing to a 'testing new idea X' branch after each successful build/test is there how I could configure Maven to do that at each build automatically?
Is anyone else running into the same issue, and ...
I am facing a wierd issue suddenly and I am out of wits why this would happen.
My basic setup is to use maven (eclipse plugin 0.20), Tomcat 6.0.26.
Until few days back i was able to start tomcat in debug mode, make changes in code while debugging and test them. Then later run prepare-package for maven, stop and start tomcat to reflect ...
hello,
I am trying to run an application developed on another machine where it was perfectly running, so it should have something to do with the configurations on the machine I am trying to run it on now. I'm using netbeans 6.9, tomcat 6.0.26 and maven.
When I try to run it, it gives me the following error:
Sep 19, 2010 12:51:02 AM or...
The test that fails when tested together with mvn test (or through the ide) is called EmpiricalTest.
If I test the file alone it goes through, but not otherwise. Why could that be?
You can checkout the Maven source code (to test) from here.
This is how I make sure the database is 'blank' before each test:
abstract public class Persis...
I have a plugin which transforms the compiled classes. This transformation needs to be done for both the module's classes and the module's test classes. Thus, I bind the plugin to both the process-classes and process-test-classes phases. The problem I have is that I need to determine which phase the plugin is currently executing in, a...
Let me first explain our infrastructure.
My company produces two enterprise software products (which each in turn include multiple servers). Lets call them ProductA and ProductB.
ProductA is made up of 40 individual projects that are branched together, but are all built separately and treated as individual units. As each of these proje...
Given a Maven project generated by :
mvn archetype:generate -B -DarchetypeGroupId=org.antlr \
-DarchetypeArtifactId=antlr3-maven-archetype \
-DarchetypeVersion=3.2 \
-DgroupId=com.yourcompany \
-DartifactId=yourproject \
-Dversion=yourversion \
-Dpackage=com.yourcompany.package.path
cf : http://www.antlr.org/wiki/display/...
I tried this to exclude whole directory (${basedir}/src/main/webapp/webscripts) from my WAR file but it failed. What is wrong?
this doesn't work:
<configuration>
<webResources>
<resource>
<directory>${basedir}/src/main/webapp/webscripts</directory>
<excludes>
<exclude>**/*.*</exclude>
</excludes>
...
Hello!
I want to configure "exploded" goal of the maven-war-plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>exploded</goal>
</goals>
<configuration>
<webappDirectory>war</webappDirectory>
</con...
My company is very concerned about entaglements that could result from the use of copy-left (e.g. GPL) code in our product. Because of this we have no compile scope Maven artifacts with copy-left licenses.
However, with runtime or test scoped artifacts, does the same requirement apply? I wouldn't think so, but am very interested in he...
I have a mixed scala/java project - mostly java. I would like to use Findbugs on my java code, but the scala classes are giving it trouble. So I'd like to exclude them from Findbugs. So far I've tried listing the scala classes in an exclude filter, but that's not helping. I'm using the maven codehaus findbugs plugin version 2.3.1.
The e...
Hi,
I've started a very basic Eclipse (Helios) RCP application with the "Hello RCP" template.
I enabled Maven dependency management and added Spring 3 to the POM.
After that I created a view and added the following code to my view.
@Override
public void createPartControl(Composite parent) {
RestTemplate restTemplate = new RestTempla...
We are considering splitting our hibernate tables into packages or domains (invoicing, sales, ..etc), primarily for dependency management issues.
It doesn't break neatly of course, so we aren't sure how to handle relationships that cross domains. It would be nice to have a new entity annotation for this, but meanwhile one idea is to ma...