activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [2/4] activemq-6 git commit: Added instructions to import ActiveMQ6 into IDEA
Date Fri, 13 Feb 2015 15:17:52 GMT
Added instructions to import ActiveMQ6 into IDEA


Branch: refs/heads/master
Commit: 03a03b8f1eab2fcf16ad66e68107863d7e5f1338
Parents: ed661c4
Author: Martyn Taylor <>
Authored: Fri Feb 13 11:41:49 2015 +0000
Committer: Martyn Taylor <>
Committed: Fri Feb 13 11:45:44 2015 +0000

---------------------------------------------------------------------- | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
diff --git a/ b/
index 6d4536f..dfd098b 100644
--- a/
+++ b/
@@ -109,6 +109,36 @@ can be installed from [Eclipse Kepler release repository].
 [Eclipse Kepler release repository]:
+## IntelliJ IDEA
+The following steps show how to import ActiveMQ6 source into IntelliJ IDEA and setup the
correct maven profile to allow
+running of JUnit tests from within the IDE.  (Steps are based on version: 13.1.4)
+* File --> Import Project --> Select the root directory of the ActiveMQ6 source folder.
--> Click OK
+This should open the import project wizard.  From here:
+* Select "Import from existing model" toggle box, then select Maven from the list box below.
 Click Next.
+* Leave the defaults set on this page and click next.
+* On the "Select profiles page", select the checkbox next to "Default" and click next.
+* From here the default settings should suffice.  Continue through the wizard, clicking next
until the wizard is complete.
+Once the project has been imported and IDEA has caught up importing all the relevant dependencies,
you should be able to
+run JUnit tests from with the IDE.  Select any test class in the tests -> integration
tests folder.  Right click on the
+class in the project tab and click "Run <classname>".  If the "Run <classname>"
option is present then you're all set to go.
+### My JUnit tests are not runnable with in the IDE.
+If the "Run <classname>" or "Run all tests" option is not present.  It is likely that
the default profile has not been
+imported properly.  To (re)import the "default" Maven profile in an existing project.
+* Open the Maven Projects Tool Window: View -> Tool Windows -> Maven Projects
+* Select the "profiles" drop down
+* Unselect then reselect the checkbox next to "default".
+* Click on the "Reimport all maven projects" button in the top left hand corner of the window.
(It looks like a ciruclar
+blue arrow.
+* Wait for IDEA to reload and try running a JUnit test again.  The option to run should now
be present.
 ### Annotation Pre-Processing
 ActiveMQ6 uses [JBoss Logging] and that requires source code generation from Java

View raw message