You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2008/06/20 15:15:54 UTC

svn commit: r669883 - in /maven/plugins/trunk/maven-doap-plugin/src/main: java/org/apache/maven/plugin/doap/ resources/

Author: vsiveton
Date: Fri Jun 20 06:15:54 2008
New Revision: 669883

URL: http://svn.apache.org/viewvc?rev=669883&view=rev
Log:
MDOAP-10: Supports more DOAP roles for developers/contributors

o supports of all DOAP role tags: maintainer, developer, documenter, translator, tester, helper

Added:
    maven/plugins/trunk/maven-doap-plugin/src/main/resources/
    maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties   (with props)
    maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties   (with props)
    maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties   (with props)
    maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties   (with props)
Modified:
    maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java
    maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapUtil.java

Modified: maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java?rev=669883&r1=669882&r2=669883&view=diff
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java (original)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java Fri Jun 20 06:15:54 2008
@@ -22,8 +22,12 @@
 import java.io.File;
 import java.io.IOException;
 import java.io.Writer;
+import java.util.Collections;
+import java.util.Comparator;
 import java.util.Iterator;
+import java.util.List;
 
+import org.apache.maven.model.Contributor;
 import org.apache.maven.model.Developer;
 import org.apache.maven.model.License;
 import org.apache.maven.model.Scm;
@@ -53,6 +57,24 @@
 public class DoapMojo
     extends AbstractMojo
 {
+    // ----------------------------------------------------------------------
+    // Mojo components
+    // ----------------------------------------------------------------------
+
+    /**
+     * Maven SCM Manager.
+     *
+     * @parameter expression="${component.org.apache.maven.scm.manager.ScmManager}"
+     * @required
+     * @readonly
+     * @since 1.0
+     */
+    protected ScmManager scmManager;
+
+    // ----------------------------------------------------------------------
+    // Mojo parameters
+    // ----------------------------------------------------------------------
+
     /**
      * The POM from which information will be extracted to create a DOAP file.
      *
@@ -84,15 +106,9 @@
      */
     private String language;
 
-    /**
-     * Maven SCM Manager.
-     *
-     * @parameter expression="${component.org.apache.maven.scm.manager.ScmManager}"
-     * @required
-     * @readonly
-     * @since 1.0
-     */
-    protected ScmManager scmManager;
+    // ----------------------------------------------------------------------
+    // Public methods
+    // ----------------------------------------------------------------------
 
     /**
      * {@inheritDoc}
@@ -139,7 +155,7 @@
         {
             //TODO: how to map to usefulinc site, or if this is necessary, the OSI page might
             //      be more appropriate.
-            DoapUtil.writeRdfResourceElement( writer, "license", ((License) project.getLicenses().get( 0 )).getUrl() );
+            DoapUtil.writeRdfResourceElement( writer, "license", ( (License) project.getLicenses().get( 0 ) ).getUrl() );
         }
 
         DoapUtil.writeElement( writer, "name", project.getName() );
@@ -152,8 +168,8 @@
         {
             DoapUtil.writeRdfResourceElement( writer, "bug-database", project.getIssueManagement().getUrl() );
         }
-        DoapUtil.writeRdfResourceElement( writer, "mailing-list", composeUrl( project.getUrl() , "/mail-lists.html" ) );
-        DoapUtil.writeRdfResourceElement( writer, "download-page", composeUrl( project.getUrl() , "/download.html" ) );
+        DoapUtil.writeRdfResourceElement( writer, "mailing-list", composeUrl( project.getUrl(), "/mail-lists.html" ) );
+        DoapUtil.writeRdfResourceElement( writer, "download-page", composeUrl( project.getUrl(), "/download.html" ) );
         DoapUtil.writeElement( writer, "programming-language", language );
         //TODO: how to lookup category, map it, or just declare it.
         DoapUtil.writeRdfResourceElement( writer, "category", "http://projects.apache.org/category/" + category );
@@ -165,7 +181,10 @@
         writeSourceRepositories( writer );
 
         // Developers
-        publishMaintainers( writer );
+        writeDevelopersOrContributors( writer, project.getDevelopers() );
+
+        // Contributors
+        writeDevelopersOrContributors( writer, project.getContributors() );
 
         writer.endElement();
         writer.endElement();
@@ -180,6 +199,10 @@
         }
     }
 
+    // ----------------------------------------------------------------------
+    // Private methods
+    // ----------------------------------------------------------------------
+
     //TODO: we will actually have to pull all the metadata from the repository
     private void publishReleases()
     {
@@ -237,8 +260,7 @@
             // http://usefulinc.com/ns/doap#CVSRepository
             writer.startElement( "CVSRepository" );
 
-            CvsScmProviderRepository cvsRepo =
-                (CvsScmProviderRepository) repository.getProviderRepository();
+            CvsScmProviderRepository cvsRepo = (CvsScmProviderRepository) repository.getProviderRepository();
 
             // http://usefulinc.com/ns/doap#anon-root
             DoapUtil.writeElement( writer, "anon-root", cvsRepo.getCvsRoot() );
@@ -250,8 +272,7 @@
             // http://usefulinc.com/ns/doap#SVNRepository
             writer.startElement( "SVNRepository" );
 
-            SvnScmProviderRepository svnRepo =
-                (SvnScmProviderRepository) repository.getProviderRepository();
+            SvnScmProviderRepository svnRepo = (SvnScmProviderRepository) repository.getProviderRepository();
 
             // http://usefulinc.com/ns/doap#location
             DoapUtil.writeRdfResourceElement( writer, "location", svnRepo.getUrl() );
@@ -282,51 +303,215 @@
         writer.endElement(); // repository
     }
 
-    private void publishMaintainers( XMLWriter w )
+    /**
+     * Write all DOAP persons.
+     *
+     * @param writer not null
+     * @param developersOrContributors list of developers or contributors
+     */
+    private void writeDevelopersOrContributors( XMLWriter writer, List developersOrContributors )
     {
-        //<maintainer>
-        //  <foaf:Person>
-        //    <foaf:name>Emmanuel Venisse</foaf:name>
-        //    <foaf:mbox rdf:resource="mailto:evenisse@apache.org"/>
-        //  </foaf:Person>
-        //</maintainer>
-
-        if ( project.getDevelopers() == null )
+        if ( developersOrContributors == null || developersOrContributors.size() == 0 )
         {
             return;
         }
 
-        for ( Iterator i = project.getDevelopers().iterator(); i.hasNext(); )
+        boolean isDeveloper = Developer.class.isAssignableFrom( developersOrContributors.get( 0 ).getClass() );
+        if ( isDeveloper )
         {
-            Developer d = (Developer) i.next();
+            XmlWriterUtil.writeLineBreak( writer );
+            XmlWriterUtil.writeCommentText( writer, "Main committers", 2 );
+        }
+        else
+        {
+            XmlWriterUtil.writeLineBreak( writer );
+            XmlWriterUtil.writeCommentText( writer, "Contributed persons", 2 );
+        }
+
+        List maintainers = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "maintainers" );
+        List developers = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "developers" );
+        List documenters = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "documenters" );
+        List translators = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "translators" );
+        List testers = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "testers" );
+        List helpers = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "helpers" );
+        List unknowns = (List) DoapUtil.filterDevelopersOrContributorsByDoapRoles( developersOrContributors )
+            .get( "unknowns" );
+
+        // By default, all developers are maintainers and contributors are helpers
+        if ( isDeveloper )
+        {
+            maintainers.addAll( unknowns );
+        }
+        else
+        {
+            helpers.addAll( unknowns );
+        }
 
-            w.startElement( "maintainer" );
-            w.startElement( "foaf:Person" );
-            w.startElement( "foaf:name" );
-            w.writeText( d.getName() );
-            w.endElement();
-            DoapUtil.writeRdfResourceElement( w, "foaf:mbox", "mailto:" + d.getEmail() );
-            w.endElement();
-            w.endElement();
+        // all alphabetical
+        if ( developers.size() != 0 )
+        {
+            writeDeveloperOrContributor( writer, developers, "developer" );
+        }
+        if ( documenters.size() != 0 )
+        {
+            writeDeveloperOrContributor( writer, documenters, "documenter" );
+        }
+        if ( helpers.size() != 0 )
+        {
+            writeDeveloperOrContributor( writer, helpers, "helper" );
+        }
+        if ( maintainers.size() != 0 )
+        {
+            writeDeveloperOrContributor( writer, maintainers, "maintainer" );
+        }
+        if ( testers.size() != 0 )
+        {
+            writeDeveloperOrContributor( writer, testers, "tester" );
+        }
+        if ( translators.size() != 0 )
+        {
+            writeDeveloperOrContributor( writer, translators, "translator" );
         }
     }
 
     /**
-     * Compose a URL from two parts: a base URL and a file path. This method
-     * makes sure that there will not be two slash '/' characters after each
-     * other.
+     * Write a DOAP maintainer or developer or documenter or translator or tester or helper, for instance:
+     * <pre>
+     *   &lt;maintainer&gt;
+     *     &lt;foaf:Person&gt;
+     *       &lt;foaf:name&gt;Emmanuel Venisse&lt;/foaf:name&gt;
+     *       &lt;foaf:mbox rdf:resource="mailto:evenisse@apache.org"/&gt;
+     *     &lt;/foaf:Person&gt;
+     *   &lt;/maintainer&gt;
+     * </pre>
      *
-     * @param base The base URL
-     * @param path The file
+     * @param writer not null
+     * @param developersOrContributors not null
+     * @param doapType not null
+     * @see <a href="http://usefulinc.com/ns/doap#maintainer">http://usefulinc.com/ns/doap#maintainer</a>
+     * @see <a href="http://usefulinc.com/ns/doap#developer">http://usefulinc.com/ns/doap#developer</a>
+     * @see <a href="http://usefulinc.com/ns/doap#documenter">http://usefulinc.com/ns/doap#documenter</a>
+     * @see <a href="http://usefulinc.com/ns/doap#translator">http://usefulinc.com/ns/doap#translator</a>
+     * @see <a href="http://usefulinc.com/ns/doap#tester">http://usefulinc.com/ns/doap#tester</a>
+     * @see <a href="http://usefulinc.com/ns/doap#helper">http://usefulinc.com/ns/doap#helper</a>
      */
-    private String composeUrl( String base, String path )
+    private void writeDeveloperOrContributor( XMLWriter writer, List developersOrContributors, String doapType )
     {
-        if ( base.endsWith( "/" ) && path.startsWith( "/" ) )
+        if ( developersOrContributors == null || developersOrContributors.size() == 0 )
         {
-            return base + path.substring( 1 );
+            return;
         }
 
-        return base + path;
+        // Sort list by names
+        Collections.sort( developersOrContributors, new Comparator()
+        {
+            /**
+             * {@inheritDoc}
+             */
+            public int compare( Object arg0, Object arg1 )
+            {
+                if ( Developer.class.isAssignableFrom( arg0.getClass() ) )
+                {
+                    Developer developer0 = (Developer) arg0;
+                    Developer developer1 = (Developer) arg1;
+
+                    if ( developer0.getName() == null )
+                    {
+                        return -1;
+                    }
+                    if ( developer1.getName() == null )
+                    {
+                        return +1;
+                    }
+
+                    return developer0.getName().compareTo( developer1.getName() );
+                }
+
+                Contributor contributor0 = (Contributor) arg0;
+                Contributor contributor1 = (Contributor) arg1;
+
+                if ( contributor0.getName() == null )
+                {
+                    return -1;
+                }
+                if ( contributor1.getName() == null )
+                {
+                    return +1;
+                }
+
+                return contributor0.getName().compareTo( contributor1.getName() );
+            }
+        } );
+
+        for ( Iterator it = developersOrContributors.iterator(); it.hasNext(); )
+        {
+            Object obj = it.next();
+
+            String name;
+            String email;
+            String organization;
+            String homepage;
+
+            if ( Developer.class.isAssignableFrom( obj.getClass() ) )
+            {
+                Developer d = (Developer) obj;
+                name = d.getName();
+                email = d.getEmail();
+                organization = d.getOrganization();
+                homepage = d.getUrl();
+            }
+            else
+            {
+                Contributor c = (Contributor) obj;
+                name = c.getName();
+                email = c.getEmail();
+                organization = c.getOrganization();
+                homepage = c.getUrl();
+            }
+
+            // Name is required to write doap
+            if ( StringUtils.isEmpty( name ) )
+            {
+                continue;
+            }
+
+            // http://usefulinc.com/ns/doap#maintainer
+            // http://usefulinc.com/ns/doap#developer
+            // http://usefulinc.com/ns/doap#documenter
+            // http://usefulinc.com/ns/doap#translator
+            // http://usefulinc.com/ns/doap#tester
+            // http://usefulinc.com/ns/doap#helper
+            writer.startElement( doapType );
+            // http://xmlns.com/foaf/0.1/Person
+            writer.startElement( "foaf:Person" );
+            // http://xmlns.com/foaf/0.1/name
+            writer.startElement( "foaf:name" );
+            writer.writeText( name );
+            writer.endElement(); // foaf:name
+            if ( StringUtils.isNotEmpty( email ) )
+            {
+                // http://xmlns.com/foaf/0.1/mbox
+                DoapUtil.writeRdfResourceElement( writer, "foaf:mbox", "mailto:" + email );
+            }
+            if ( StringUtils.isNotEmpty( organization ) )
+            {
+                // http://xmlns.com/foaf/0.1/Organization
+                DoapUtil.writeRdfResourceElement( writer, "foaf:Organization", organization );
+            }
+            if ( StringUtils.isNotEmpty( homepage ) )
+            {
+                // http://xmlns.com/foaf/0.1/homepage
+                DoapUtil.writeRdfResourceElement( writer, "foaf:homepage", homepage );
+            }
+            writer.endElement(); // foaf:Person
+            writer.endElement(); // doapType
+        }
     }
 
     /**
@@ -335,7 +520,7 @@
      * @param scmUrl an SCM URL
      * @return a valid SCM repository or null
      */
-    public ScmRepository getScmRepository( String scmUrl )
+    private ScmRepository getScmRepository( String scmUrl )
     {
         ScmRepository repo = null;
         if ( !StringUtils.isEmpty( scmUrl ) )
@@ -362,6 +547,28 @@
         return repo;
     }
 
+    // ----------------------------------------------------------------------
+    // Static methods
+    // ----------------------------------------------------------------------
+
+    /**
+     * Compose a URL from two parts: a base URL and a file path. This method
+     * makes sure that there will not be two slash '/' characters after each
+     * other.
+     *
+     * @param base The base URL
+     * @param path The file
+     */
+    private static String composeUrl( String base, String path )
+    {
+        if ( base.endsWith( "/" ) && path.startsWith( "/" ) )
+        {
+            return base + path.substring( 1 );
+        }
+
+        return base + path;
+    }
+
     /**
      * Convenience method that return true is the defined <code>SCM repository</code> is a known provider.
      * <p>

Modified: maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapUtil.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapUtil.java?rev=669883&r1=669882&r2=669883&view=diff
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapUtil.java (original)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapUtil.java Fri Jun 20 06:15:54 2008
@@ -20,9 +20,17 @@
  */
 
 import java.text.DateFormat;
+import java.util.ArrayList;
 import java.util.Date;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
 import java.util.Locale;
+import java.util.Map;
+import java.util.ResourceBundle;
 
+import org.apache.maven.model.Contributor;
+import org.apache.maven.model.Developer;
 import org.codehaus.plexus.util.StringUtils;
 import org.codehaus.plexus.util.xml.XMLWriter;
 import org.codehaus.plexus.util.xml.XmlWriterUtil;
@@ -35,6 +43,16 @@
  */
 public class DoapUtil
 {
+    /**
+     * I18N roles supported in DOAP, i.e. <code>maintainer</code>, <code>developer</code>, <code>documenter</code>,
+     * <code>translator</code>, <code>tester</code>, <code>helper</code>,
+     * <br/>
+     * <b>Note:</b> Actually, only English keys are used.
+     */
+    private static final ResourceBundle DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N = ResourceBundle.getBundle( "doap-person",
+                                                                                                        Locale.ENGLISH );
+
+    /** RDF resource attribute */
     private static final String RDF_RESOURCE = "rdf:resource";
 
     /**
@@ -106,4 +124,101 @@
             writer.endElement();
         }
     }
+
+    /**
+     * Filter the developers/contributors role by the keys in {@link #DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N}
+     *
+     * @param developersOrContributors list of <code>{@link Developer}/{@link Contributor}</code>
+     * @return a none null map with <code>maintainers</code>, <code>developers</code>, <code>documenters</code>,
+     * <code>translators</code>, <code>testers</code>, <code>helpers</code>, <code>unknowns</code> as keys and list of
+     * <code>{@link Developer}/{@link Contributor}</code> as value.
+     */
+    public static Map filterDevelopersOrContributorsByDoapRoles( List developersOrContributors )
+    {
+        Map returnMap = new HashMap( 7 );
+        returnMap.put( "maintainers", new ArrayList() );
+        returnMap.put( "developers", new ArrayList() );
+        returnMap.put( "documenters", new ArrayList() );
+        returnMap.put( "translators", new ArrayList() );
+        returnMap.put( "testers", new ArrayList() );
+        returnMap.put( "helpers", new ArrayList() );
+        returnMap.put( "unknowns", new ArrayList() );
+
+        if ( developersOrContributors == null || developersOrContributors.size() == 0 )
+        {
+            return returnMap;
+        }
+
+        for ( Iterator it = developersOrContributors.iterator(); it.hasNext(); )
+        {
+            Object obj = it.next();
+
+            List roles;
+            if ( Developer.class.isAssignableFrom( obj.getClass() ) )
+            {
+                Developer developer = (Developer) obj;
+                roles = developer.getRoles();
+            }
+            else
+            {
+                Contributor contributor = (Contributor) obj;
+                roles = contributor.getRoles();
+            }
+
+            if ( roles != null && roles.size() != 0 )
+            {
+                for ( Iterator it2 = roles.iterator(); it2.hasNext(); )
+                {
+                    String role = (String) it2.next();
+
+                    if ( role.toLowerCase().indexOf(
+                                                     DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N.getString( "doap.maintainer" )
+                                                         .toLowerCase() ) != -1 )
+                    {
+                        ( (List) returnMap.get( "maintainers" ) ).add( obj );
+                    }
+                    else if ( role.toLowerCase().indexOf(
+                                                           DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N
+                                                               .getString( "doap.developer" ).toLowerCase() ) != -1 )
+                    {
+                        ( (List) returnMap.get( "developers" ) ).add( obj );
+                    }
+                    else if ( role.toLowerCase().indexOf(
+                                                           DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N
+                                                               .getString( "doap.documenter" ).toLowerCase() ) != -1 )
+                    {
+                        ( (List) returnMap.get( "documenters" ) ).add( obj );
+                    }
+                    else if ( role.toLowerCase().indexOf(
+                                                           DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N
+                                                               .getString( "doap.translator" ).toLowerCase() ) != -1 )
+                    {
+                        ( (List) returnMap.get( "translators" ) ).add( obj );
+                    }
+                    else if ( role.toLowerCase().indexOf(
+                                                           DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N
+                                                               .getString( "doap.tester" ).toLowerCase() ) != -1 )
+                    {
+                        ( (List) returnMap.get( "testers" ) ).add( obj );
+                    }
+                    else if ( role.toLowerCase().indexOf(
+                                                           DEVELOPER_OR_CONTRIBUTOR_ROLES_I18N
+                                                               .getString( "doap.helper" ).toLowerCase() ) != -1 )
+                    {
+                        ( (List) returnMap.get( "helpers" ) ).add( obj );
+                    }
+                    else
+                    {
+                        ( (List) returnMap.get( "unknowns" ) ).add( obj );
+                    }
+                }
+            }
+            else
+            {
+                ( (List) returnMap.get( "unknowns" ) ).add( obj );
+            }
+        }
+
+        return returnMap;
+    }
 }

Added: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties?rev=669883&view=auto
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties (added)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties Fri Jun 20 06:15:54 2008
@@ -0,0 +1,23 @@
+# 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.
+
+doap.maintainer=maintainer
+doap.developer=developer
+doap.documenter=documenter
+doap.translator=translator
+doap.tester=tester
+doap.helper=helper
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties?rev=669883&view=auto
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties (added)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties Fri Jun 20 06:15:54 2008
@@ -0,0 +1,23 @@
+# 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.
+
+# NOTE:
+# This bundle is intentionally empty because English strings are provided by the base bundle via the parent chain. It
+# must be provided nevertheless such that a request for locale "en" will not errorneously pick up the bundle for the
+# JVM's default locale (which need not be "en"). See the method javadoc about
+#   ResourceBundle.getBundle(String, Locale, ClassLoader)
+# for a full description of the lookup strategy.
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_en.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties?rev=669883&view=auto
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties (added)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties Fri Jun 20 06:15:54 2008
@@ -0,0 +1,23 @@
+# 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.
+
+doap.maintainer=desarrollador principal
+doap.developer=desarrollador
+doap.documenter=escritor de ayuda
+doap.translator=traductor
+doap.tester=tester
+doap.helper=colaborador
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_es.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties?rev=669883&view=auto
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties (added)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties Fri Jun 20 06:15:54 2008
@@ -0,0 +1,23 @@
+# 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.
+
+doap.maintainer=d\u00e9veloppeur principal
+doap.developer=d\u00e9veloppeur
+doap.documenter=r\u00e9dacteur de l'aide
+doap.translator=traducteur
+doap.tester=testeur
+doap.helper=collaborateur
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/plugins/trunk/maven-doap-plugin/src/main/resources/doap-person_fr.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision