0
votes
0answers
15 views

Project won't run as maven integration-test

I have created Maven java project to use Selenium and am using the following example: http://mojo.codehaus.org/selenium-maven-plugin/examples/using-with-surefire.html (The code is edited slightly): ...
0
votes
0answers
18 views

Distributed testing in java

I have a problem with testing. Whole testing process we have to do takes about 2h. We have a main java process on which we use black box tests (input ~ expected output). (read input/expected output ...
1
vote
1answer
14 views

Get Maven AbstractMojo @parameters pom tag attributes

I'm new on java. Given that I have a configuration on my pom.xml <plugin> <groupId>org.custom.plugin</groupId> <artifactId>my-maven/artifactId> ...
0
votes
0answers
6 views

Nexus Ivy Maven : Second Level Dependencies Ignores Transitive

1.) I have a Project1 with this ivy dependency : <dependency org="xalan" name="serializer" rev="2.7.1" transitive="false" conf="compile->default" /> This project brings serializer.jar ...
0
votes
1answer
16 views

cucumber maven through command line

I am having difficulties trying to execute my maven cucumber-JVM project through command line, the project works fine through eclipse environment, but im making a really silly mistake. Can some one ...
-1
votes
2answers
39 views

Android Studio or Eclipse working with maven/gradle [on hold]

I would like to make progress in development of android mobile distributed systems. It would cover introducing TDD with continuous integration and especially support for maven/gradle. It would be good ...
0
votes
1answer
40 views

Mixed Scala/Java will not compile, error: cannot access

I have a problem with a mixed scala/java project and getting everything to compile. I am using both the scala-maven-plugin and the maven-compiler-plugin as suggested on many sites like ...
0
votes
1answer
12 views

How to put maven zip dependency on classpath for Java tests

I have a Java project entirely consisting of junit/integration tests which is managed by maven. One of the dependencies is a zip archive, the contents of which I would like to be available on the ...
0
votes
1answer
8 views

Liquibase liquibase-maven-plugin does not run Integration Tests in Apache Maven

I am using Liquibase. I want the database tables to be created before the Integration Tests. What I can see is that the Integration Tests are not being run and the liquibase-maven-plugin version 3.2.2 ...
-1
votes
0answers
11 views

Missing bootstrapper/LoggingConfiguration while analyzing maven project using Sonar 3.5.1

I am trying to execute project analysis on Sonar 3.5.1 using maven 3.0.5 and while running mvn sonar:sonar I get the following error: [ERROR] Failed to execute goal ...
0
votes
2answers
20 views

how to import mavan-based projects into Eclipse effectively for large projects?

I want to import maven-based projects in Eclipse. For example, here is a project that I am interested in importing to my Eclipse workspace. I have two options: since the project directory has a ...
0
votes
1answer
22 views

Does Google App Engine support Java 8?

Trying to get started with Google App Engine - does it work with Java 8? I've followed the instructions on this page: https://console.developers.google.com/start/appengine Selecting 'Java', I ...
-1
votes
2answers
19 views

Can run a Maven project within IntelliJ but not from Terminal

I have created a console application in IntelliJ that utilizes Maven. From within IntelliJ I can compile and run the app with no issues ... From terminal however i execute the following commands (in ...
-2
votes
0answers
27 views

tool to determine version information and license information for all 3rd party jar in single report using Maven? [on hold]

I am using license-maven-plugin for generating license report and versions-maven-plugin for getting version report for all the third party jar used in my project.Both the plugins are creating ...
0
votes
0answers
5 views

How do I run dcm4che tools from command line after compilation?

I want to use the dcm2json tool, part of the dcm4che3 toolkit, but I cannot figure out how to compile and execute the command line tool. Having run $ git clone https://github.com/dcm4che/dcm4che.git ...
0
votes
1answer
14 views

How can I make gradle overwrite the library in my local maven repo?

I have three android projects under current development - let's call them Alpha, Bravo, and Charlie. Bravo and Charlie both depend on Alpha, an android library. When I create Alpha, I deploy it to my ...
0
votes
0answers
4 views

ArchetypeGenerationFailure: Unable to find resource 'archetype-resources/pom.xml

I am working on enhancement of an archetype, which was working fine. This archetype has been working fine. Today, I made few code changes. Added a package and an xml file. Using GIT pushed the code in ...
0
votes
0answers
12 views

Arquillian injecting with ejb component gives null pointers

I have test-class: @RunWith(Arquillian.class) public class ArquillianTest { @Deployment public static WebArchive deployment() { JavaArchive ejb = ...
0
votes
4answers
23 views

EntityManager does not persist entity class?

I am trying to use JPA for persistence in a Java Web Application for a RESTful WebService. The program runs through the EntityManager, persisting an Entity class, being surrounded bz a transaction ...
0
votes
1answer
6 views

Maven alternate “stable-test” phase which skips failing tests

I am working on a open source repository which has hundreds of tests, some of which are failing. The number of tests are quite a few, which will take time to fix. I also want to have a nightly run of ...
-1
votes
1answer
24 views

Maven Jenkins Build Failure

I try to build my Jenkins project but have the same problem all the time. I can't understand where it coming from. I will appreciate all kind of help. Tnx!!!! cd ...
0
votes
1answer
30 views

NoSuchMethodError with Camel RouteDefinition class

I am trying to debug a Java / Maven project with a lot of depencies on various libraries. When I run it on a Linux server the program starts up fine, but when I try to run it in Eclipse it throws the ...
0
votes
1answer
21 views

I need to execute a particular test before and after all the tests in project. Is there any maven plugin that supports my need?

I need to execute a particular test before and after all the tests in project. Is there any maven plugin that supports my need? I am using TestNg for my tests. If any one have some info on this, ...
0
votes
0answers
7 views

How to add manifest.mf parameters in Intellij to a JavafX Maven project?

When i compile my JavaFX maven project, Intellij creates a Jar file and automatically includes Manifest.MF with all the dependencies on the classpath and other default parameters. But i want to add a ...
0
votes
0answers
26 views

JDK6 -> JDK7 cant use com.sun.xml.internal.stream.XMLInputFactoryImpl

we have the following case in the code which causes tests to fail when running with JAVA_HOME set to JDK7 instead of JDK6 (maven with source/target = 1.6) javax.xml.stream.FactoryConfigurationError: ...
0
votes
1answer
16 views

hope to setup Jenkin Job to build the SQLiteDB and copy to android asset folder and continue to release build?

I'm trying to setup jenkin for build the android project, below is the my project setup I have two projects Android Project With gradle SQLiteBuilder JAVA Project With Maven I have already ...
0
votes
1answer
34 views

Clean and Build a Maven Project with Netbeans - Compilation failure

I've my project ready to deploy so I need to create an executable jar for distribution. After reading online I'm now trying to clean and build my project (ProjectMaven), it is a Maven project with ...
0
votes
1answer
19 views

JSP changes not reflecting when server is run. (JBoss, Maven, Eclipse)

I don't think the issue is isolated solely to my JSPs. However, the current files I'm trying to edit are JSPs. Whenever I make changes to my JSP, I save the file (in Eclipse), clean/republish my ...
0
votes
1answer
17 views

401 (Unauthorized) error while using maven to deploy war to remote Tomcat 8

I am trying to deploy a war on remote Tomcat 8 but getting 401 (Unauthorized) error in the process. Error Log [ERROR] Tomcat return http status error: 401, Reason Phrase: Unauthorized Command ...
0
votes
0answers
25 views

Maven Assembly Plugin not including Main Class in my jar

I am using the maven assembly plugin to generate an app client that is included in an EAR. However, it isn't including the Main Class for whatever reason. I can't figure out what is wrong. My Maven ...
0
votes
0answers
29 views

Integration testing of multi-war application in Spring Boot

I have an application composed of multiple maven war projects. I have another maven project that runs JUnit integration tests against the manually-started tomcat-deployed multi-war application using ...
0
votes
0answers
20 views

Maven Build error “Expected root element project but found html”

I am new to maven. I am trying to build a project given to me. But I keep getting the following error. I have deleted the .m2 directory multiple times with no luck. I read through a few post ...
3
votes
2answers
76 views

How to target a lower language level in Java

I maintain a Java tutorial application written in Java, that demonstrates features of Java 6, 7, and 8. Each tutorial screen is loaded dynamically by Class.forName as needed. The Java 7 classes need ...
1
vote
2answers
18 views

How to include tools.jar into uberjar (using maven-shade-plugin)?

pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
0
votes
0answers
10 views

Trying to get the XML element attributes using JIBX

I have an XML where some of the elements have attributes. Following is the example; <RATES> <DATE>09/30/2014</DATE> <TIME>06:35:00</TIME> <STATE CODE="AK"> ...
0
votes
1answer
15 views

Why am I getting Maven error: “Unable to determine if resource X exists in http://maven.glassfish.org/content/groups/glassfish”?

Whenever we execute our site goal in Maven, we get a long list of dependency-related errors in our console log. The errors appear to be generated during the Dependency report creation part of the ...
1
vote
1answer
24 views

@Remote JNDI Communication: Wildfly to JBoss AS 5.1.0.GA

Architecture: Windows Client -> Wildfly JAX-RS Services -> JBoss 5.1.0.GA legacy system. I am getting a java.lang.ClassCastException: javax.naming.Reference cannot be cast to ...
-1
votes
1answer
13 views

how to convert java CVS web project to maven based web project?

I would like to use maven as build/release management/manage the dependencies tool for our web application. Our Web application project directory structure as below -WebContext ------|src ...
0
votes
0answers
41 views

Cannot start Tomcat application

Hello I've deployed a little web application thats using GWT with Tomcat Web Application Manager. When I'm trying to start is I get the following error: Okt 01, 2014 2:47:15 PM ...
0
votes
0answers
11 views

Jackson 2.0 annotations in dependent jar ignored

We have a web application that used to be deployed as a war in Jboss AS 7 . This webapp uses both reasteasy and jackson( 2.0 ) to serialize and deserealize data from a mongodb database. Some time ago ...
0
votes
1answer
45 views

Eclipse crashing constantly

I've installed a freshly downloaded Eclipse EE Luna and started a new workspace, but it's constantly crashing, with no output in the logs when it goes down. I'm on Ubuntu 14.04.1 LTS. I've checked ...
0
votes
1answer
12 views

Running a multi project Maven-built webapp on Heroku?

I'm migrating my multi project Java webapp from Cloudbees to Heroku. I have one main webapp that depends on 3 other library projects that I have written (also Maven+Java). On Cloudbees this was ...
0
votes
2answers
35 views

java.lang.ClassFormatError: Invalid code attribute name index 0

I am trying to develope some sample CRUD application using telosys tool which can generate required html forms automatically.I followed this Tutorial : Telosys tool Tutorial I tried to run the ...
1
vote
2answers
30 views

Generate java classes from xsd with jaxb from a choice

I use maven with jaxb to make classes out from a schema. This schema has the following choice: <tns:choice minOccurs="1" maxOccurs="unbounded"> <tns:element name="video_track" ...
0
votes
0answers
22 views

Call plugin when Maven profil is set

I have a Maven project and I have two profiles (Dev and integraiton). I use integration-profile to call two plugins, WAR and EAR maven plugin. My question : how can I use the plugin in the pom.xml ...
0
votes
1answer
39 views

How can Eclipse perform a maven build before a junit test to replace variables?

I've a pretty big maven project with some integration tests (JUnit). At the end that project will be build with Maven and during the build Maven will exchange some variables in some files like ...
0
votes
0answers
18 views

Are the Android JSON Maven Dependencies wrong?

I'm involved with an Android application that uses org.json to parse some API responses. We use Maven to build the project and handle dependencies. The problem is that Android declares a Maven ...
0
votes
0answers
16 views

IncompatibleClassChangeError:org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface *.asm.ClassVisitor as super class

I am using Spring 4.1 and writing maven modules from scratch. I have 2 service modules A and B and a webapp which makes calls to service A whose implementation is there in module B. Following is the ...
0
votes
1answer
18 views

maven copy subfolder from target to an external directory

I have a maven Java web application which generates a WAR file, I want to be able to copy a specific folder inside target to an external directory on my filesystem: app folder structure: ├───app │ ...
1
vote
1answer
14 views

what hadoop jar do i need to get the WeightAdjuster interface

org.apache.hadoop.mapred.WeightAdjuster and org.apache.hadoop.mapred.NewJobWeightBooster I've added all the jars I can find on Maven almost. Here's my current build.gradle: dependencies { ...