AnsweredAssumed Answered

Unable to run mvn -Pspringcheck install

Question asked by gokceng1 on Sep 14, 2014
Latest reply on Sep 15, 2014 by gokceng1
Hello I want to contribute to code base but couldn't run install on the fresh check-out in first place.


There are some errors on classes that have imports like:

import static com.googlecode.catchexception.CatchException.catchException;
import static com.googlecode.catchexception.CatchException.caughtException;

or

import bitronix.tm.BitronixTransactionManager;
import bitronix.tm.resource.jdbc.PoolingDataSource;


Those classes are under
activiti-spring
module and there is no problem when I use
-Pcheck
flag with install.
But using
-Pspringcheck
causes dependency problems because neither
com.googlecode.catch-exception:catch-exception
nor
org.codehaus.btm:btm
dependencies are defined in activiti-spring/pom.xml file. After adding them the profile runs with some test errors.

What should I do to solve this problem?
I'm using Intellij Idea, JDK 1.6.45 and Maven 3.2.2. The guide says Mavewn 3.0.4 should be used but I'm not sure if this can cause this.

Outcomes