4
votes
0answers
123 views

Mojo development - Handling unresolved dependencies in multi module projects

I have a mojo annotated with @requiresDependencyResolution test. It works for multi-module projects with a single layer of nesting, but a user has reported an issue with a structure such as below. ...
3
votes
0answers
564 views

Setting cucumber-jvm format options in Maven

The question is regarding the cucumber format option in maven: In every Junit I have something like: @Cucumber.Options(format = { "pretty", "html:target/cucumber-html-report/foo" }) I added the ...
3
votes
0answers
226 views

Error in converted maven project in Eclipse

I am using Eclipse Juno with the m2e plugin. I converted my java project into a maven project via Eclipse Right click on project > goto menu configure > Convert to maven project. And these are ...
3
votes
0answers
348 views

Maven shade and assembly plugins resulting in stack overflow

I have a reasonably simply RESTEasy client application that I have tried to compile into a self contained JAR file using both the Maven Shade and Assembly plugins. Maven will package the application ...
3
votes
0answers
2k views

cant start osgi bundle because import cannot be resolved

I have made a small API Bundle and a service bundle that should use the API. In my maven pom.xml file, i added a dependecy for my api bundle in the correct version like this: <dependency> ...
3
votes
0answers
240 views

Package java files in exe for windows with maven

The Launch4J port for Maven is terribly documented and I fail to use it in the way I want. Is there some good Maven plugin to gernerate an exe file with following criteria (at least some of them, if ...
2
votes
0answers
50 views

Redeploy remote glassfish with cargo fails

I'm currently trying to use cargo to deploy an application on a remote glassfish 3.1.2 through atlassian's bamboo. This is a development environment so the same application with a different version ...
2
votes
0answers
67 views

Sonar / findbugs fails when root project doesn't contains any classes

In a Java project, I'm using Sonar with Maven and it's work fine with "sonar way" profile. But when switching to the "Sonar way with Findbugs" profile, it fails : "Can not execute Sonar: Can not ...
2
votes
0answers
93 views

Any way to set up IntelliJ IDEA to honor OSGi exports/imports for dependencies?

IntelliJ IDEA 11/12 user, here. We have a Maven/OSGi multi-module project set up in which module1 depends on module2. module2 exports packages with MANIFEST only. When coding in module1, is there ...
2
votes
0answers
92 views

JBoss-as:deploy does not inject ${buildNumber}

I getting this error at 'jboss-as:deploy': [INFO] Building war: E:\git-repos\GUI4Leader\gui4leader\target\gui4leader-SNAPSHOT-0.6.16-12.04.13-08_09.war [INFO] WEB-INF\web.xml already added, skipping ...
2
votes
0answers
84 views

Getting Failedto load class org.slf4j.impl.StaticLoggerBinder even though I seem to have bindings with my Maven Project

So I searched through and found this problem all over Stack Overflow, and the solution is usually IDE related (You need an external Version of Maven!), wrong version of the loggers (Tried the newest ...
2
votes
0answers
258 views

Generating artifact of JavaFX application using Maven

I have a problem with packaging JavaFX application. My final purpose is to generate self-contained application (*.jar, *.exe, *.dmg). Classes and other resources are OK, but the jar itself doesn't ...
2
votes
0answers
433 views

Spring project junit testing. how do I test Jboss JNDI datasources?

I am working on a number of spring projects that was using C3P0 for database pooling. My firm is moving to JBoss and we are going to be using JBoss JNDI Datasources. But how do I setup my XML files ...
2
votes
0answers
209 views

How to add existing java Maven modules to Grails Maven module?

I am developing prototype for some java project and until now I used multi-module Maven project with a root pom being a parent to 6 more Maven modules. Originally I planned to make a standalone ...
2
votes
0answers
657 views

maven compilation fails - can't find symbols

I'm trying to extend class from jar file(which is present in my Maven Dependencies) and I need to have access to it's inner classes. To solve this, I've named package in my project like the package of ...

1 2 3 4 5 68
15 30 50 per page