activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc CARRE (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4140) maven-activemq-plugin does not have a skip flag, and fails to resolve path to XBean file in multi-module builds
Date Sun, 28 Oct 2012 06:43:11 GMT
Marc CARRE created AMQ-4140:
-------------------------------

             Summary: maven-activemq-plugin does not have a skip flag, and fails to resolve
path to XBean file in multi-module builds
                 Key: AMQ-4140
                 URL: https://issues.apache.org/jira/browse/AMQ-4140
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.7.0
         Environment: Windows and Linux
            Reporter: Marc CARRE
            Priority: Blocker
             Fix For: 5.8.0
         Attachments: maven-activemq-plugin.patch, maven-activemq-plugin-user-acceptance-test.zip,
maven-activemq-plugin.zip

Hi,

I am using ActiveMQ and have some integration tests leveraging the maven-activemq-plugin.

I have found that:

1. path to XBean files are not resolved properly, as:
- the path is relative, and therefore, multi-module builds fail;
- at least under Windows, the generated path is not a valid URL, hence the plugin failing
on this call: final BrokerService broker = BrokerFactory.createBroker(configUri);

2. unlike other Maven plugins, maven-activemq-plugin doesn't follow the convention of having
a skip flag, to skip execution under some circumstances. This is not a bug, but rather an
improvement that would make users' life easier IMO (and at least, mine).

In the attachments, I have provided:
- a multi-module build that would allow you to easily and systematically replicate the above
two issues: maven-activemq-plugin-user-acceptance-test.zip
- a "fixed" version of maven-activemq-plugin, based on trunk / 5.8-SNAPSHOT (as of 2012/10/28
06:34 BST): maven-activemq-plugin.zip
- a patch, containing the equivalent fix, in case this format is preferred: maven-activemq-plugin.patch

In case you need committers, I would be happy to occasionally help.
(I noticed the documentation is rather outdated, so could help with that at least)

Cheers,

M.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message