Brent N Atkinson (JIRA | 1 Jun 2009 21:06

[jira] Created: (MJBOSSPACK-22) JBoss5 har packaging currently not possible

JBoss5 har packaging currently not possible
-------------------------------------------

                 Key: MJBOSSPACK-22
                 URL: http://jira.codehaus.org/browse/MJBOSSPACK-22
             Project: Maven 2.x JBoss Packaging Plugin
          Issue Type: Bug
          Components: har
    Affects Versions: 2.0-beta-1
            Reporter: Brent N Atkinson
         Attachments: jboss5-har-support.diff

The packaging plugin assumes that descriptors are named jboss-service.xml. In JBoss 4x (possibly prior
versions as well), this assumption is relatively safe. However, in later versions of JBoss har
deployments are no longer service archives and instead are supposed to be handled by the meta-deployment
scheme. Alternate names are supported for the descriptor, but the plugin uses this configuration option
to copy the named file to jboss-service.xml. This is incorrect because the deployment should not be
treated as an MBean deployment.

I am suggesting a jbossVersion option for the har mojo that conditionally changes the plugin's behavior.
The intent is behavior that is backward-compatible with the older scheme and simultaneously allows HARs
for JBoss 5 (provided you supply a supported value for the jbossVersion parameter).

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)

Simon Brandhof (JIRA | 1 Jun 2009 21:54

[jira] Commented: (MCOBERTURA-94) Update to Cobertura 1.9.1


    [
http://jira.codehaus.org/browse/MCOBERTURA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178916#action_178916
] 

Simon Brandhof commented on MCOBERTURA-94:
------------------------------------------

The dependency on cobertura-runtime is declared with scope 'import' in your patch. In theory using this
scope breaks backwards compatibility with Maven versions older than 2.0.9, even if I can't reproduce the
issue with maven 2.0.7 when building and executing the plugin.
Stevo, are you sure that this new scope is mandatory ?

Except this detail the patch works great.

> Update to Cobertura 1.9.1
> -------------------------
>
>                 Key: MCOBERTURA-94
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-94
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Wish
>            Reporter: Julien HENRY
>         Attachments: cobertura-maven-plugin-update_to_cobertura_1.9.1.1.patch
>
>
> Update to Cobertura 1.9.1 and release a new version of the plugin.

--

-- 
This message is automatically generated by JIRA.
(Continue reading)

Simon Brandhof (JIRA | 1 Jun 2009 22:20

[jira] Created: (MCOBERTURA-100) Add metrics to the xml report generated by the goal dump-datafile

Add metrics to the xml report generated by the goal dump-datafile
-----------------------------------------------------------------

                 Key: MCOBERTURA-100
                 URL: http://jira.codehaus.org/browse/MCOBERTURA-100
             Project: Maven 2.x Cobertura Plugin
          Issue Type: Improvement
            Reporter: Simon Brandhof
            Priority: Minor

Cobertura 1.9.1 generates new metrics that can be added to the xml report : lines-covered, lines-valid,
branches-covered and branches-valid.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Paul Gier (JIRA | 1 Jun 2009 22:22

[jira] Updated: (MJBOSSPACK-22) JBoss5 har packaging currently not possible


     [
http://jira.codehaus.org/browse/MJBOSSPACK-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier updated MJBOSSPACK-22:
--------------------------------

         Assignee: Paul Gier
    Fix Version/s: 2.0

> JBoss5 har packaging currently not possible
> -------------------------------------------
>
>                 Key: MJBOSSPACK-22
>                 URL: http://jira.codehaus.org/browse/MJBOSSPACK-22
>             Project: Maven 2.x JBoss Packaging Plugin
>          Issue Type: Bug
>          Components: har
>    Affects Versions: 2.0-beta-1
>            Reporter: Brent N Atkinson
>            Assignee: Paul Gier
>             Fix For: 2.0
>
>         Attachments: jboss5-har-support.diff
>
>
> The packaging plugin assumes that descriptors are named jboss-service.xml. In JBoss 4x (possibly prior
versions as well), this assumption is relatively safe. However, in later versions of JBoss har
deployments are no longer service archives and instead are supposed to be handled by the meta-deployment
scheme. Alternate names are supported for the descriptor, but the plugin uses this configuration option
(Continue reading)

David J. M. Karlsen (JIRA | 1 Jun 2009 22:32

[jira] Commented: (MCOBERTURA-94) Update to Cobertura 1.9.1


    [
http://jira.codehaus.org/browse/MCOBERTURA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178918#action_178918
] 

David J. M. Karlsen commented on MCOBERTURA-94:
-----------------------------------------------

This can be solved by adding 

  <prerequisites>
    <maven>2.0.9</maven>
  </prerequisites>

to the pom

> Update to Cobertura 1.9.1
> -------------------------
>
>                 Key: MCOBERTURA-94
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-94
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Wish
>            Reporter: Julien HENRY
>         Attachments: cobertura-maven-plugin-update_to_cobertura_1.9.1.1.patch
>
>
> Update to Cobertura 1.9.1 and release a new version of the plugin.

--

-- 
(Continue reading)

Paul Gier (JIRA | 1 Jun 2009 22:36

[jira] Closed: (MJBOSSPACK-22) JBoss5 har packaging currently not possible


     [
http://jira.codehaus.org/browse/MJBOSSPACK-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Gier closed MJBOSSPACK-22.
-------------------------------

    Resolution: Fixed

Fixed in [r9900|http://svn.mojo.codehaus.org/changelog/mojo/?cs=9900]

> JBoss5 har packaging currently not possible
> -------------------------------------------
>
>                 Key: MJBOSSPACK-22
>                 URL: http://jira.codehaus.org/browse/MJBOSSPACK-22
>             Project: Maven 2.x JBoss Packaging Plugin
>          Issue Type: Bug
>          Components: har
>    Affects Versions: 2.0-beta-1
>            Reporter: Brent N Atkinson
>            Assignee: Paul Gier
>             Fix For: 2.0
>
>         Attachments: jboss5-har-support.diff
>
>
> The packaging plugin assumes that descriptors are named jboss-service.xml. In JBoss 4x (possibly prior
versions as well), this assumption is relatively safe. However, in later versions of JBoss har
deployments are no longer service archives and instead are supposed to be handled by the meta-deployment
(Continue reading)

Simon Brandhof (JIRA | 1 Jun 2009 22:38

[jira] Commented: (MCOBERTURA-94) Update to Cobertura 1.9.1


    [
http://jira.codehaus.org/browse/MCOBERTURA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178921#action_178921
] 

Simon Brandhof commented on MCOBERTURA-94:
------------------------------------------

Is maven 2.0.9 the reference version to build mojos ?

> Update to Cobertura 1.9.1
> -------------------------
>
>                 Key: MCOBERTURA-94
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-94
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Wish
>            Reporter: Julien HENRY
>         Attachments: cobertura-maven-plugin-update_to_cobertura_1.9.1.1.patch
>
>
> Update to Cobertura 1.9.1 and release a new version of the plugin.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)

Simon Brandhof (JIRA | 1 Jun 2009 23:20

[jira] Commented: (MCOBERTURA-94) Update to Cobertura 1.9.1


    [
http://jira.codehaus.org/browse/MCOBERTURA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178924#action_178924
] 

Simon Brandhof commented on MCOBERTURA-94:
------------------------------------------

GWT and failsafe mojos already depend on maven 2.0.9, so it does not seem to be a problem. I apply the patch.

> Update to Cobertura 1.9.1
> -------------------------
>
>                 Key: MCOBERTURA-94
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-94
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Wish
>            Reporter: Julien HENRY
>         Attachments: cobertura-maven-plugin-update_to_cobertura_1.9.1.1.patch
>
>
> Update to Cobertura 1.9.1 and release a new version of the plugin.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)

Simon Brandhof (JIRA | 1 Jun 2009 23:48

[jira] Commented: (MCOBERTURA-94) Update to Cobertura 1.9.1


    [
http://jira.codehaus.org/browse/MCOBERTURA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178928#action_178928
] 

Simon Brandhof commented on MCOBERTURA-94:
------------------------------------------

I just realize that I'm a commiter on the sonar mojo but I've never asked to the cobertura team if I could apply
this patch. So.. is it possible ?

> Update to Cobertura 1.9.1
> -------------------------
>
>                 Key: MCOBERTURA-94
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-94
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Wish
>            Reporter: Julien HENRY
>         Attachments: cobertura-maven-plugin-update_to_cobertura_1.9.1.1.patch
>
>
> Update to Cobertura 1.9.1 and release a new version of the plugin.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
(Continue reading)

Stevo Slavic (JIRA | 2 Jun 2009 08:32

[jira] Commented: (MCOBERTURA-94) Update to Cobertura 1.9.1


    [
http://jira.codehaus.org/browse/MCOBERTURA-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=178948#action_178948
] 

Stevo Slavic commented on MCOBERTURA-94:
----------------------------------------

It's fine with me to go without import scope.

Not sure about maven reference version for mojos, but when building apps, if offered the freedom to choose I
wouldn't go with anything less than 2.0.9.

> Update to Cobertura 1.9.1
> -------------------------
>
>                 Key: MCOBERTURA-94
>                 URL: http://jira.codehaus.org/browse/MCOBERTURA-94
>             Project: Maven 2.x Cobertura Plugin
>          Issue Type: Wish
>            Reporter: Julien HENRY
>         Attachments: cobertura-maven-plugin-update_to_cobertura_1.9.1.1.patch
>
>
> Update to Cobertura 1.9.1 and release a new version of the plugin.

--

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
(Continue reading)


Gmane