[
https://issues.apache.org/activemq/browse/CAMEL-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51661#action_51661
]
Savas Ali Tokmen commented on CAMEL-1608:
-----------------------------------------
Hello Hadrian
In Maven, when you put the:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
declaration on multiple lines, Maven will flatten it into one line and throw
out the preceding comments -in this case the copyright. I guess it also messes
up all the spacing.
On the OW2 projects, we solved the issue by putting the declaration on one
line. It doesn't look very good that way, but it works :)
Cheers
S. Ali Tokmen
http://ali.tokmen.com/
> Fix pom.xml files to support nexus based release process
> --------------------------------------------------------
>
> Key: CAMEL-1608
> URL: https://issues.apache.org/activemq/browse/CAMEL-1608
> Project: Apache Camel
> Issue Type: Task
> Affects Versions: 1.6.0, 2.0-M1
> Reporter: Hadrian Zbarcea
> Assignee: Hadrian Zbarcea
> Priority: Blocker
> Fix For: 1.6.1, 2.0-M2
>
>
> When profiles are explicitly activated in maven using -P, the
> <activeByDefault> value specified in a profile activation configuration is
> not considered. This is the case with the maven-release-plugin configuration
> where the profiles to be activated are specified as <arguments>. As the
> enable-schemagen profile (and a couple others) where not specified,
> camel-schema.xsd was not generated and pretty much all tests using the xml
> dsl were failing. Many thanks to Dan Kulp from the Apache Maven team for
> helping with this.
> However there is one more blocker I will have to take care before 1.6.1 can
> be released. During the release:prepare phase the poms are regenerated and
> the <?xml> decl, the apache license notice is lost and there are issues with
> white spaces. This seems related to the fact that the <project> element is
> not on one line as per the new maven release guide. Fixing this may take a
> day or two as we have so many poms but I'll do it as the highest prio. Once
> I'll get it to work and release 1.6.1, I'll tackle 2.0-M2. The good news is
> that once we have this fixed, the release process will be much simplified.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.