You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2012/09/07 18:12:07 UTC

[jira] [Created] (CAMEL-5578) Polish our pom's to be as DRY as possible

Christian Müller created CAMEL-5578:
---------------------------------------

             Summary: Polish our pom's to be as DRY as possible
                 Key: CAMEL-5578
                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
             Project: Camel
          Issue Type: Improvement
          Components: build system
    Affects Versions: 2.10.1
            Reporter: Christian Müller
            Assignee: Christian Müller
            Priority: Minor
             Fix For: 2.11.0




--
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

[jira] [Commented] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465463#comment-13465463 ] 

Claus Ibsen commented on CAMEL-5578:
------------------------------------

Is there more work to be done?
                
> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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

[jira] [Closed] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Müller closed CAMEL-5578.
-----------------------------------

    Resolution: Fixed
    
> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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

[jira] [Commented] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Henryk Konsek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469666#comment-13469666 ] 

Henryk Konsek commented on CAMEL-5578:
--------------------------------------

What about adding test scope to test dependencies in parent POM?

For example now we define JUnit in parent POM as:

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit-version}</version>
      </dependency>

And in particular modules we define this dependency as:

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <scope>test</test>
      </dependency>

Since we never use JUnit in other scope than "test", then unnecessarily repeat <scope>test</test> in each module. If we want to keep our POMs DRY we should define JUnit in parent POM as follows:

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>${junit-version}</version>
        <scope>test</scope>
      </dependency>

And then in concrete modules:

      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
      </dependency>

The case same is for mockito, easymock, camel-test and so forth.
                
> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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

[jira] [Work started] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CAMEL-5578 started by Christian Müller.

> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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

[jira] [Commented] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Babak Vahdat (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481018#comment-13481018 ] 

Babak Vahdat commented on CAMEL-5578:
-------------------------------------

Just cleaned up the last pieces I could spot:

http://svn.apache.org/viewvc?view=revision&revision=1400696


                
> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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

[jira] [Commented] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466170#comment-13466170 ] 

Christian Müller commented on CAMEL-5578:
-----------------------------------------

I'm not sure. At the weekend I want to go through the modules and check the pom's.
                
> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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

[jira] [Commented] (CAMEL-5578) Polish our pom's to be as DRY as possible

Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13471315#comment-13471315 ] 

Christian Müller commented on CAMEL-5578:
-----------------------------------------

in camel-test, we use the "compile" scope for junit...
                
> Polish our pom's to be as DRY as possible
> -----------------------------------------
>
>                 Key: CAMEL-5578
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5578
>             Project: Camel
>          Issue Type: Improvement
>          Components: build system
>    Affects Versions: 2.10.1
>            Reporter: Christian Müller
>            Assignee: Christian Müller
>            Priority: Minor
>             Fix For: 2.11.0
>
>


--
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