You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Matt Altermatt (Updated) (JIRA)" <ji...@apache.org> on 2012/01/23 04:35:47 UTC

[jira] [Updated] (CAMEL-4013) examples - Do not inherit pom.xml from parent to make it easy to copy example

     [ https://issues.apache.org/jira/browse/CAMEL-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Altermatt updated CAMEL-4013:
----------------------------------

    Attachment: non_inherit_examples.patch

This is how I am envisioning separating the parent from the examples.  The patch includes the first two examples, and is completely independent from the rest of the project.

I included the repositories so that a developer does not have install the snapshots into their local repositories.  I also separated the camel-version from the project.version in the case of a developer copying and pasting snippets of the pom and having a different project.version.

Are there any changes you would like to see?  If it is ok, I will continue to do the rest of the examples this way.
                
> examples - Do not inherit pom.xml from parent to make it easy to copy example
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-4013
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4013
>             Project: Camel
>          Issue Type: Improvement
>          Components: examples
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: non_inherit_examples.patch
>
>
> We should not inherit any parent pom.xml files in any of the examples. Instead we should make the pom.xml file completely standalone. Then its easier for end users to copy the examples and customize those to their needs. For example to adjust camel version and whatnot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira