This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to annotated tag maven-site-plugin-2.4
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git

commit f5e06058742aaa2fff0a6bd9c05cf04ce339f598
Author: Herve Boutemy <hbout...@apache.org>
AuthorDate: Wed Apr 18 22:12:21 2012 +0000

    [MSITE-582] Make it possible to remove breadcrumbs in child projects again 
(merged from trunk r1327701)
    
    git-svn-id: 
https://svn.apache.org/repos/asf/maven/plugins/branches/maven-site-plugin-2.x@1327704
 13f79535-47bb-0310-9956-ffa450edef68
---
 src/it/MSITE-582/child/pom.xml           | 35 +++++++++++++++++
 src/it/MSITE-582/child/src/site/site.xml | 33 ++++++++++++++++
 src/it/MSITE-582/pom.xml                 | 65 ++++++++++++++++++++++++++++++++
 src/it/MSITE-582/src/site/site.xml       | 35 +++++++++++++++++
 src/it/MSITE-582/verify.groovy           | 26 +++++++++++++
 5 files changed, 194 insertions(+)

diff --git a/src/it/MSITE-582/child/pom.xml b/src/it/MSITE-582/child/pom.xml
new file mode 100644
index 0000000..1de9d43
--- /dev/null
+++ b/src/it/MSITE-582/child/pom.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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="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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.maven.plugins.site.its</groupId>
+    <artifactId>MSITE-582-parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>child</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>MSITE-582 IT child</name>
+</project>
diff --git a/src/it/MSITE-582/child/src/site/site.xml 
b/src/it/MSITE-582/child/src/site/site.xml
new file mode 100644
index 0000000..532d952
--- /dev/null
+++ b/src/it/MSITE-582/child/src/site/site.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+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="http://maven.apache.org/DECORATION/1.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 
http://maven.apache.org/xsd/decoration-1.0.0.xsd";>
+  <body>
+    <breadcrumbs>
+      <item name="C" href="A/B/C"/>
+      <item name="M" href="A/B/C/M"/>
+      <item name="N" href="A/B/C/M/N"/>
+      <item name="O" href="A/B/C/M/N/O"/>
+    </breadcrumbs>
+  </body>
+</project>
diff --git a/src/it/MSITE-582/pom.xml b/src/it/MSITE-582/pom.xml
new file mode 100644
index 0000000..1617b4c
--- /dev/null
+++ b/src/it/MSITE-582/pom.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+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="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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.site.its</groupId>
+  <artifactId>MSITE-582-parent</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>MSITE-582 IT parent</name>
+  <description>Make it possible to remove breadcrumbs in child projects 
again</description>
+  <url>http://www.example.com/parent/</url>
+
+  <modules>
+    <module>child</module>
+  </modules>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>@project.version@</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.1.2</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>index</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+</project>
diff --git a/src/it/MSITE-582/src/site/site.xml 
b/src/it/MSITE-582/src/site/site.xml
new file mode 100644
index 0000000..c853350
--- /dev/null
+++ b/src/it/MSITE-582/src/site/site.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+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="http://maven.apache.org/DECORATION/1.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 
http://maven.apache.org/xsd/decoration-1.0.0.xsd";>
+  <body>
+    <breadcrumbs>
+      <item name="A" href="A"/>
+      <item name="B" href="A/B"/>
+      <item name="C" href="A/B/C"/>
+      <item name="D" href="A/B/C/D"/>
+      <item name="E" href="A/B/C/D/E"/>
+      <item name="F" href="A/B/C/D/E/F"/>
+    </breadcrumbs>
+  </body>
+</project>
diff --git a/src/it/MSITE-582/verify.groovy b/src/it/MSITE-582/verify.groovy
new file mode 100644
index 0000000..d24ed55
--- /dev/null
+++ b/src/it/MSITE-582/verify.groovy
@@ -0,0 +1,26 @@
+
+/*
+ * 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.
+ */
+
+content = new File( basedir, 'child/target/site/index.html' ).text;
+
+assert !content.contains( '<a href="A/B/C/D" title="D">D</a>' );
+assert content.contains( '<a href="A/B/C/M" title="M">M</a>' );
+
+return true;
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"commits@maven.apache.org" <commits@maven.apache.org>.

Reply via email to