Author: hboutemy
Date: Sun May  3 12:07:24 2009
New Revision: 771052

URL: http://svn.apache.org/viewvc?rev=771052&view=rev
Log:
improved MPIR IT:
o added every supported translation
o added a pom with maximal information in it

Added:
    maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/
    
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml   
(with props)
    
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
   (with props)
Modified:
    
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/minimal-pom/pom.xml

Added: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml?rev=771052&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml 
(added)
+++ 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml 
Sun May  3 12:07:24 2009
@@ -0,0 +1,170 @@
+<?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.project-info-reports</groupId>
+  <artifactId>full-pom</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+
+  <name>MPIR IT test with a complete POM</name>
+  <description>
+    The POM tested here contains a maximum information to check MPIR behaviour.
+  </description>
+  <url>http://www.apache.org/</url>
+  <inceptionYear>2005</inceptionYear>
+  <organization>
+    <name>The Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <developers>
+    <developer>
+      <name>A developer's name</name>
+      <email>[email protected]</email>
+    </developer>
+    <developer>
+      <id>dev-no-mail</id>
+      <name>A developer without mail</name>
+      <organization>ASF</organization>
+      <organizationUrl>http://apache.org/</organizationUrl>
+      <roles>
+        <role>PMC Member</role>
+        <role>Developer</role>
+      </roles>
+      <timezone>+1</timezone>
+      <properties>
+        <test>value</test>
+      </properties>
+    </developer>
+  </developers>
+  <contributors>
+    <contributor>
+      <name>A contributor's name</name>
+      <email>[email protected]</email>
+    </contributor>
+    <contributor>
+      <name>A contributor without mail</name>
+      <roles>
+        <role>Translator</role>
+        <role>Tester</role>
+      </roles>
+      <timezone>+1</timezone>
+    </contributor>
+  </contributors>
+
+  <mailingLists>
+    <mailingList>
+      <name>Maven Announcements List</name>
+      <post>[email protected]</post>
+      <subscribe>[email protected]</subscribe>
+      <unsubscribe>[email protected]</unsubscribe>
+      
<archive>http://mail-archives.apache.org/mod_mbox/maven-announce/</archive>
+      <otherArchives>
+        
<otherArchive>http://www.mail-archive.com/[email protected]</otherArchive>
+        
<otherArchive>http://www.nabble.com/Maven-Announcements-f15617.html</otherArchive>
+        
<otherArchive>http://markmail.org/list/org.apache.maven.announce</otherArchive>
+      </otherArchives>
+    </mailingList>
+  </mailingLists>
+
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom</connection>
+    
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom</developerConnection>
+    
<url>http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom</url>
+  </scm>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://jira.codehaus.org/browse/MPIR</url>
+  </issueManagement>
+  <ciManagement>
+    <system>Hudson</system>
+    <url>http://grid.sonatype.org/ci</url>
+    <notifiers>
+      <notifier>
+        <type>mail</type>
+        <configuration>
+          <address>[email protected]</address>
+        </configuration>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+  <distributionManagement>
+    <site>
+      <id>apache.website</id>
+      <url>scp://people.apache.org/www/maven.apache.org</url>
+    </site>
+  </distributionManagement>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+  </properties>
+
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-utils</artifactId>
+        <version>1.5.5</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>2.1.0</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>2.0</version>
+        <configuration>
+          
<locales>en,cs,de,es,fr,hu,it,ja,ko,nl,no,pl,pt,pt_BR,sk,sv,tr,zh_CN,zh_TW</locales>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>@pom.version@</version>
+      </plugin>
+    </plugins>
+  </reporting>
+</project>

Propchange: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh?rev=771052&view=auto
==============================================================================
--- 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
 (added)
+++ 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
 Sun May  3 12:07:24 2009
@@ -0,0 +1,43 @@
+import java.io.*;
+import java.util.*;
+import java.util.regex.*;
+
+try
+{
+    File siteDir = new File( basedir, "target/site" );
+    if ( !siteDir.isDirectory() )
+    {
+        System.out.println( "Site directory not existent: " + siteDir );
+        return false;
+    }
+
+    String[] reports = { "dependencies", 
+                         "index", 
+                         "integration", 
+                         "issue-tracking", 
+                         "license", 
+                         "mail-lists", 
+                         "plugin-management",
+                         "plugins", 
+                         "project-info", 
+                         "project-summary", 
+                         "source-repository", 
+                         "team-list"
+                       };
+    for ( String report : reports )
+    {
+        File reportFile = new File( siteDir, report + ".html" );
+        if ( !reportFile.isFile() )
+        {
+            System.out.println( "Report file not existent: " + reportFile );
+            return false;
+        }
+    }
+}
+catch( Throwable t )
+{
+    t.printStackTrace();
+    return false;
+}
+
+return true;

Propchange: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/full-pom/verify.bsh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/minimal-pom/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-project-info-reports-plugin/src/it/minimal-pom/pom.xml?rev=771052&r1=771051&r2=771052&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/minimal-pom/pom.xml
 (original)
+++ 
maven/plugins/trunk/maven-project-info-reports-plugin/src/it/minimal-pom/pom.xml
 Sun May  3 12:07:24 2009
@@ -20,7 +20,7 @@
 
 <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";>
+         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.project-info-reports</groupId>
@@ -37,7 +37,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>2.0-beta-7</version>
+        <version>2.0</version>
+        <configuration>
+          
<locales>en,cs,de,es,fr,hu,it,ja,ko,nl,no,pl,pt,pt_BR,sk,sv,tr,zh_CN,zh_TW</locales>
+        </configuration>
       </plugin>
     </plugins>
   </build>


Reply via email to