On 11 Feb 07, at 12:28 PM 11 Feb 07, Vincent Siveton wrote:
The Xml declaration was missing initially.
It seems that the release plugin doesn't handle as well the XML
processing instruction.
It's not the release plugin it's the ProjectArtifactMetadata which is
rewriting the POM on deployment. It's not required. We can probably
clean that up before the 2.0.5 release.
Jason.
Cheers,
Vincent
2007/2/11, Wendy Smoak <[EMAIL PROTECTED]>:
Looks like the release plugin is still removing the license header
from the pom. I *think* it will stay there if you put it inside the
<project> tag instead of above it.
In any case, it needs to be added back in svn.
Thanks,
--
Wendy
On 2/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Author: snicoll
> Date: Sun Feb 11 02:06:29 2007
> New Revision: 505870
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=505870
> Log:
> [maven-release-plugin] prepare release maven-source-plugin-2.0.3
>
> Modified:
> maven/plugins/trunk/maven-source-plugin/pom.xml
>
> Modified: maven/plugins/trunk/maven-source-plugin/pom.xml
> URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-
source-plugin/pom.xml?view=diff&rev=505870&r1=505869&r2=505870
>
=====================================================================
=========
> --- maven/plugins/trunk/maven-source-plugin/pom.xml (original)
> +++ maven/plugins/trunk/maven-source-plugin/pom.xml Sun Feb 11
02:06:29 2007
> @@ -1,23 +1,4 @@
> -<!--
> -Licensed to the Apache Software Foundation (ASF) under one
> -or more contributor license agreements. See the NOTICE file
> -distributed with this work for additional information
> -regarding copyright ownership. The ASF licenses this file
> -to you under the Apache License, Version 2.0 (the
> -"License"); you may not use this file except in compliance
> -with the License. You may obtain a copy of the License at
> -
> - http://www.apache.org/licenses/LICENSE-2.0
> -
> -Unless required by applicable law or agreed to in writing,
> -software distributed under the License is distributed on an
> -"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> -KIND, either express or implied. See the License for the
> -specific language governing permissions and limitations
> -under the License.
> -
> --->
> -<project 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' xmlns='http://maven.apache.org/
POM/4.0.0'>
> +<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">
> <parent>
> <artifactId>maven-plugins</artifactId>
> <groupId>org.apache.maven.plugins</groupId>
> @@ -27,7 +8,7 @@
> <artifactId>maven-source-plugin</artifactId>
> <packaging>maven-plugin</packaging>
> <name>Maven Source Plug-In</name>
> - <version>2.0.3-SNAPSHOT</version>
> + <version>2.0.3</version>
> <prerequisites>
> <maven>2.0</maven>
> </prerequisites>
> @@ -77,5 +58,10 @@
> </plugin>
> </plugins>
> </build>
> -</project>
>
> + <scm>
> + <connection>scm:svn:https://svn.apache.org/repos/asf/maven/
plugins/tags/maven-source-plugin-2.0.3</connection>
> + <developerConnection>scm:svn:https://svn.apache.org/repos/
asf/maven/plugins/tags/maven-source-plugin-2.0.3</
developerConnection>
> + <url>https://svn.apache.org/repos/asf/maven/plugins/tags/
maven-source-plugin-2.0.3</url>
> + </scm>
> +</project>
> \ No newline at end of file
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]