You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/08/30 23:22:08 UTC

svn commit: r1379156 - in /maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module: ./ module/ module/src/ module/src/main/ module/src/main/java/ module/src/main/java/org/ module/src/main/java/org/apache/ module/src/main/java/...

Author: hboutemy
Date: Thu Aug 30 21:22:08 2012
New Revision: 1379156

URL: http://svn.apache.org/viewvc?rev=1379156&view=rev
Log:
added failing IT for multi-module site-deploy

Added:
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties   (with props)
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml   (with props)
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java   (with props)
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml   (with props)
    maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh   (with props)

Added: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties?rev=1379156&view=auto
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties (added)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties Thu Aug 30 21:22:08 2012
@@ -0,0 +1,4 @@
+invoker.goals = site-deploy
+
+# at the moment, this IT does not work
+invoker.failureBehavior = fail-never

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/invoker.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml?rev=1379156&view=auto
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml (added)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml Thu Aug 30 21:22:08 2012
@@ -0,0 +1,32 @@
+<?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</groupId>
+    <artifactId>maven-scm-publish-plugin-006-site-multi-module</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>module</artifactId>
+
+  <name>maven-scm-publish-plugin-006-site-multi-module child module</name>
+</project>

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java?rev=1379156&view=auto
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java (added)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java Thu Aug 30 21:22:08 2012
@@ -0,0 +1,34 @@
+package org.apache.maven.it;
+
+/*
+ * 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.
+ */
+
+/**
+ * This is a class with some javadoc.
+ **/
+public class ThisHasJavadoc
+{
+    /**
+     * This is the constructor.
+     */
+    public ThisHasJavadoc()
+    {
+	
+    }
+}
\ No newline at end of file

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/module/src/main/java/org/apache/maven/it/ThisHasJavadoc.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml?rev=1379156&view=auto
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml (added)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml Thu Aug 30 21:22:08 2012
@@ -0,0 +1,114 @@
+<?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</groupId>
+  <artifactId>maven-scm-publish-plugin-006-site-multi-module</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>maven-scm-publish-plugin-006-site-multi-module</name>
+  <url>http://people.apache.org/~bimargulies/site-test</url>
+
+  <distributionManagement>
+    <site>
+      <id>site-lifecycle</id>
+      <url>scm:svn:file://${basedir}/target/svn-root</url>
+    </site>
+  </distributionManagement>
+
+  <modules>
+    <module>module</module>
+  </modules>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.0</version>
+          <configuration>
+            <skipDeploy>true</skipDeploy>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <version>@pom.version@</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>stage-for-scm-publish</id>
+            <phase>post-site</phase>
+            <goals>
+              <goal>stage</goal>
+            </goals>
+            <configuration>
+              <skipDeploy>false</skipDeploy>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-scm-publish-plugin</artifactId>
+        <version>@pom.version@</version>
+        <executions>
+          <execution>
+            <id>scm-publish</id>
+            <phase>site-deploy</phase>
+            <goals>
+              <goal>publish-scm</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>2.4</version>
+        <configuration>
+          <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.8.1</version>
+        <configuration>
+        </configuration>
+      </plugin>
+      </plugins>
+  </reporting>
+</project>

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh?rev=1379156&view=auto
==============================================================================
--- maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh (added)
+++ maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh Thu Aug 30 21:22:08 2012
@@ -0,0 +1,6 @@
+import java.io.*;
+import org.apache.maven.scm.provider.svn.SvnScmTestUtils;
+
+SvnScmTestUtils.initializeRepository( new File( basedir, "target/svn-root" ) );
+
+return true;
\ No newline at end of file

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/plugins/maven-scm-publish-plugin/src/it/006-site-multi-module/setup.bsh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision