MyFaces Html5 : Versioning as 1.0.0-alpha-SNAPSHOT

git-svn-id: https://svn.apache.org/repos/asf/myfaces/html5/trunk@1083349 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/myfaces-html5-core/pom.xml b/myfaces-html5-core/pom.xml
index 12f7199..f578419 100644
--- a/myfaces-html5-core/pom.xml
+++ b/myfaces-html5-core/pom.xml
@@ -23,7 +23,7 @@
     <parent>

         <groupId>org.apache.myfaces.html5</groupId>

         <artifactId>myfaces-html5-project</artifactId>

-        <version>0.0.4-SNAPSHOT</version>

+        <version>1.0.0-alpha-SNAPSHOT</version>

     </parent>

 

     <groupId>org.apache.myfaces.html5</groupId>

@@ -333,29 +333,47 @@
                             </execution>

                         </executions>

                     </plugin>

+                </plugins>

+            </build>

+

+            <reporting>

+                <plugins>

                     <!-- Facelets doc generation! -->

                     <plugin>

                         <groupId>net.sourceforge.maven-taglib</groupId>

                         <artifactId>maven-taglib-plugin</artifactId>

                         <version>2.4</version>

-                        <executions>

-                            <execution>

-                                <id>tlddoc-facelets</id>

-                                <phase>site</phase>

-                                <goals>

-                                    <goal>taglibdoc</goal>

-                                </goals>

-                                <inherited>false</inherited>

+                            <configuration>

+                                <taglib.src.dir>${basedir}/target/classes/META-INF</taglib.src.dir>

+                                <tldDocDir>${basedir}/target/site/tlddoc-facelets</tldDocDir>

+                            </configuration>

+                    </plugin>

+

+                    <!-- trigger tagdoc-index report -->

+                    <plugin>

+                        <groupId>org.apache.myfaces.buildtools</groupId>

+                        <artifactId>myfaces-builder-plugin</artifactId>

+                        <reportSets>

+                            <reportSet>

                                 <configuration>

-                                    <title>${project.name} Tag library documentation for Facelets</title>

-                                    <srcDir>${basedir}/target/tlddoc-facelets</srcDir>

-                                    <tldDocDir>${basedir}/target/site/tlddoc-facelets</tldDocDir>

+                                    <metadataFile>META-INF/myfaces-html5-metadata.xml</metadataFile>

+                                    <modelIds>

+                                        <modelId>myfaces-html5-core</modelId>

+                                    </modelIds>

+                                    <taglibs>

+                                        <fx>http://myfaces.apache.org/html5/core</fx>

+                                        <hx>http://myfaces.apache.org/html5/core</hx>

+                                    </taglibs>

                                 </configuration>

-                            </execution>

-                        </executions>

+                                <reports>

+                                    <report>tagdoc-index</report>

+                                </reports>

+                            </reportSet>

+                        </reportSets>

                     </plugin>

                 </plugins>

-            </build>

+            </reporting>

+

         </profile>

     </profiles>

 

diff --git a/myfaces-html5-demo/pom.xml b/myfaces-html5-demo/pom.xml
index 4fb132d..6b803f8 100644
--- a/myfaces-html5-demo/pom.xml
+++ b/myfaces-html5-demo/pom.xml
@@ -25,7 +25,7 @@
     <parent>

         <groupId>org.apache.myfaces.html5</groupId>

         <artifactId>myfaces-html5-project</artifactId>

-        <version>0.0.4-SNAPSHOT</version>

+        <version>1.0.0-alpha-SNAPSHOT</version>

     </parent>

 

     <groupId>org.apache.myfaces.html5</groupId>

diff --git a/pom.xml b/pom.xml
index fadfda0..062e714 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,22 +19,23 @@
   -->

 

 <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">

+         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>

         <artifactId>myfaces</artifactId>

         <groupId>org.apache.myfaces</groupId>

-        <version>6</version>

+        <version>10</version>

     </parent>

 

     <groupId>org.apache.myfaces.html5</groupId>

     <artifactId>myfaces-html5-project</artifactId>

     <packaging>pom</packaging>

     <name>Apache MyFaces Html5 Parent Project</name>

-    <version>0.0.4-SNAPSHOT</version>

-    <description>Apache MyFaces Html5 is a sub-project of Apache MyFaces which provides Html5 functionality.</description>

+    <version>1.0.0-alpha-SNAPSHOT</version>

+    <description>Apache MyFaces Html5 is a sub-project of Apache MyFaces which provides Html5 functionality.

+    </description>

     <scm>

         <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/html5/trunk</connection>

         <developerConnection>scm:svn:http://svn.apache.org/repos/asf/myfaces/html5/trunk</developerConnection>

@@ -87,7 +88,7 @@
             </plugin>

         </plugins>

     </build>

-    

+

     <profiles>

         <profile>

             <!--

@@ -95,48 +96,45 @@
             -   mvn -Pgenerate-site site

             -->

             <id>generate-site</id>

-            <build>

+            <reporting>

                 <plugins>

                     <plugin>

-                        <!-- this plugin will generate the project site. -->

-                        <artifactId>maven-site-plugin</artifactId>

-                        <version>2.0-beta-6</version>

+                        <!-- disable the plugin for this site project -->

+                        <artifactId>maven-pmd-plugin</artifactId>

+                        <version>2.2</version>

+                        <reportSets>

+                            <reportSet/>

+                        </reportSets>

+                    </plugin>

+                    <plugin>

+                        <!-- disable the plugin for this site project -->

+                        <groupId>org.codehaus.mojo</groupId>

+                        <artifactId>findbugs-maven-plugin</artifactId>

+                        <reportSets>

+                            <reportSet/>

+                        </reportSets>

+                    </plugin>

+                    <plugin>

+                        <!-- disable the plugin for this site project -->

+                        <groupId>org.codehaus.mojo</groupId>

+                        <artifactId>jdepend-maven-plugin</artifactId>

+                        <reportSets>

+                            <reportSet/>

+                        </reportSets>

                     </plugin>

                 </plugins>

-            </build>

-            <reporting>

-            <plugins>

-                <plugin>

-                    <!-- disable the plugin for this site project -->

-                    <artifactId>maven-pmd-plugin</artifactId>

-                    <version>2.2</version>

-                    <reportSets>

-                        <reportSet />

-                    </reportSets>

-                </plugin>

-                <plugin>

-                <!-- disable the plugin for this site project -->

-                    <groupId>org.codehaus.mojo</groupId>

-                    <artifactId>findbugs-maven-plugin</artifactId>

-                    <version>1.2</version>

-                    <reportSets>

-                        <reportSet />

-                    </reportSets>

-                </plugin>

-                <plugin>

-                <!-- disable the plugin for this site project -->

-                    <groupId>org.codehaus.mojo</groupId>

-                    <artifactId>jdepend-maven-plugin</artifactId>

-                    <version>2.0-beta-1</version>

-                    <reportSets>

-                        <reportSet />

-                    </reportSets>

-                </plugin>

-            </plugins>

-        </reporting>

-    </profile>

+            </reporting>

+        </profile>

     </profiles>

-    

+

+    <distributionManagement>

+        <site>

+            <id>apache.website</id>

+            <name>Apache Website</name>

+            <url>scpexe://people.apache.org/www/myfaces.apache.org/html5/</url>

+        </site>

+    </distributionManagement>

+

     <properties>

         <myfaces-core-version>2.0.1</myfaces-core-version>

         <myfaces-shared-html5-version>4.0.6-SNAPSHOT</myfaces-shared-html5-version>