You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mf...@apache.org on 2009/10/12 21:38:13 UTC

svn commit: r824469 - /myfaces/portlet-bridge/testsuite/trunk/pom.xml

Author: mfreedman
Date: Mon Oct 12 19:38:13 2009
New Revision: 824469

URL: http://svn.apache.org/viewvc?rev=824469&view=rev
Log:
Added dependency to compile annotations.

Modified:
    myfaces/portlet-bridge/testsuite/trunk/pom.xml

Modified: myfaces/portlet-bridge/testsuite/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/testsuite/trunk/pom.xml?rev=824469&r1=824468&r2=824469&view=diff
==============================================================================
--- myfaces/portlet-bridge/testsuite/trunk/pom.xml (original)
+++ myfaces/portlet-bridge/testsuite/trunk/pom.xml Mon Oct 12 19:38:13 2009
@@ -1,360 +1,367 @@
-<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">
-  <modelVersion>4.0.0</modelVersion>
-  
-  <groupId>org.apache.myfaces.portlet-bridge</groupId>
-  <artifactId>portlet-bridge-testsuite</artifactId>
-  <packaging>war</packaging>
-  <name>MyFaces Portlet Bridge Test Suite</name>
-  <version>1.0.0-SNAPSHOT</version>	 
-  <inceptionYear>2007</inceptionYear>  
-  <description>
-  Portlet 1.0 Bridge for JavaServer Faces is a subproject of Apache MyFaces which provides an
-  implementation of the standardized Portlet Bridge as outlined by JSR-301 and subsequent
-  specifications.  This project contains the tests for the TCK which validate an implementations
-  fidelity to the specification.
-  </description>
-  
-  <url>http://myfaces.apache.org/portlet-bridge/1.0</url>
-  
-  <parent>
-    <artifactId>portlet-bridge-master-pom</artifactId>
-    <groupId>org.apache.myfaces.portlet-bridge</groupId>
-    <version>3-SNAPSHOT</version>
-  </parent>
-
-  <properties>
-    <servlet.version>2.5</servlet.version>
-    <jsp.version>2.1</jsp.version>    
-    <portlet.version>1.0</portlet.version>
-    <bridge.version>1.0.0-SNAPSHOT</bridge.version>
-    <jetty.version>6.1.10</jetty.version>
-    <pluto-embedded.version>1.0.1</pluto-embedded.version>
-    <pluto.version>1.1.7</pluto.version>
-    <jsf.version>1.2_03</jsf.version>
-    <selenium.version>1.0-beta-1</selenium.version>
-    <junit.version>4.7</junit.version>
-  </properties>
-  
-  <!-- issueManagement is in parent -->
-  <!-- ciManagement are in parent -->
-  <!-- mailingLists are in parent -->
-  <!-- developers are in parent -->
-  <!-- contributors are in parent -->
-
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/portlet-bridge/testsuite/trunk/</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/portlet-bridge/testsuite/trunk/</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/myfaces/portlet-bridge/testsuite/trunk/</url>
-  </scm>
-
-  <distributionManagement>
-    <site>
-      <id>apache-site</id>
-      <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/portlet-bridge/testsuite</url>
-    </site>
-  </distributionManagement>
-  
-  <dependencies>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <version>${servlet.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>javax.servlet.jsp</groupId>
-      <artifactId>jsp-api</artifactId>
-      <version>${jsp.version}</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>javax.faces</groupId>
-      <artifactId>jsf-api</artifactId>
-      <version>${jsf.version}</version>
-      <scope>compile</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>javax.faces</groupId>
-      <artifactId>jsf-impl</artifactId>
-      <version>${jsf.version}</version>
-      <scope>compile</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>portlet-api</groupId>
-      <artifactId>portlet-api</artifactId>
-      <version>${portlet.version}</version>
-      <scope>provided</scope>
-    </dependency>
-            
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>portlet-bridge-api</artifactId>
-      <version>${bridge.version}</version>
-      <scope>compile</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>${project.groupId}</groupId>
-      <artifactId>portlet-bridge-impl</artifactId>
-      <version>${bridge.version}</version>
-      <scope>runtime</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.openqa.selenium.client-drivers</groupId>
-      <artifactId>selenium-java-client-driver</artifactId>
-      <version>${selenium.version}</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>${junit.version}</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>com.bekk.boss</groupId>
-      <artifactId>maven-jetty-pluto-embedded</artifactId>
-      <version>${pluto-embedded.version}</version>
-      <scope>compile</scope>
-    </dependency>
-  </dependencies>
-  
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>selenium-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>start</id>
-            <phase>process-test-classes</phase>
-            <goals>
-              <goal>start-server</goal>
-            </goals>
-            <configuration>
-              <background>true</background>
-              <logOutput>true</logOutput>
-              <multiWindow>true</multiWindow>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <systemProperties>
-            <property>
-              <name>bridge.tck.host</name>
-              <value>http://localhost:8080</value>
-           </property>
-            <property>
-              <name>bridge.tck.test.file</name>
-              <value>target/generated-resources/xml/xslt/test.xml</value>
-            </property>
-          </systemProperties>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-jdev-plugin</artifactId>
-        <groupId>org.apache.myfaces.trinidadbuild</groupId>
-        <configuration>
-          <libraries>
-            <library>JSP Runtime</library>
-          </libraries>
-        </configuration>
-      </plugin>
-     
-      <!-- Generates the Javadocs for the Website.  Wagon will transport it -->
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <configuration>
-          <links>
-            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
-            <link>http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api</link>
-            <link>http://portals.apache.org/pluto/portlet-1.0-apidocs/</link>
-          </links>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-      </plugin>
-
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>xml-maven-plugin</artifactId>
-        <configuration>
-          <transformationSets>
-            <transformationSet>
-              <dir>${basedir}/src/main/webapp/WEB-INF</dir>
-              <includes>
-                <include>portlet.xml</include>
-              </includes>
-              <fileMappers>
-                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
-                  <targetName>test.xml</targetName>
-                </fileMapper>
-              </fileMappers>
-              <parameters>
-                <parameter>
-                  <name>page-path</name>
-                  <value>${project.artifactId}/pluto/index.jsp?portlet=</value>
-                </parameter>
-              </parameters>                
-              <stylesheet>${basedir}/src/test/resources/test.xsl</stylesheet>
-            </transformationSet>
-            <transformationSet>
-              <dir>${basedir}/src/main/webapp/WEB-INF</dir>
-              <includes>
-                <include>portlet.xml</include>
-              </includes>
-              <fileMappers>
-                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
-                  <targetName>pluto-portal-driver-config.xml</targetName>
-                </fileMapper>
-              </fileMappers>
-              <parameters>
-                <parameter>
-                  <name>portlet-app-context</name>
-                  <value>${project.artifactId}</value>
-                </parameter>
-              </parameters>  
-              <outputDir>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF</outputDir>
-              <stylesheet>${basedir}/src/test/resources/pluto-portal-driver-config.xsl</stylesheet>
-            </transformationSet>
-          </transformationSets>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <groupId>org.mortbay.jetty</groupId>
-        <artifactId>maven-jetty-plugin</artifactId>
-        <version>${jetty.version}</version>
-        <configuration>
-          <webDefaultXml>${basedir}/src/main/webapp/WEB-INF/jetty-pluto-web-default.xml</webDefaultXml>
-          <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
-          <!-- see http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin systemPropertiesFile -->
-          <!--systemProperties>
-            <systemProperty>
-              <name>org.apache.pluto.embedded.portletIds</name>
-              <value>chapter6Tests-wrappedFacesContextTest-portlet</value>
-            </systemProperty>
-          </systemProperties-->
-        </configuration>
-        <executions>
-          <execution>
-            <id>start-jetty</id>
-            <phase>process-test-classes</phase>
-            <goals>
-              <goal>run</goal>
-            </goals>
-            <configuration>
-              <scanIntervalSeconds>0</scanIntervalSeconds>
-              <daemon>true</daemon>
-            </configuration>
-          </execution>
-          <execution>
-            <id>stop-jetty</id>
-            <phase>test</phase>
-            <goals>
-              <goal>stop</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.pluto</groupId>
-        <artifactId>maven-pluto-plugin</artifactId>
-        <version>${pluto.version}</version>
-        <executions>
-          <execution>
-            <phase>generate-resources</phase>
-            <goals>
-              <goal>assemble</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-
-    </plugins>
-  </build>
-  
-  <profiles>  
-    <!-- This profile is invoked by -DprepareRelease=true.  This allows mvn release:prepare to
-         run successfully on the assembly projects. -->
-    <profile>
-      <id>prepare-release</id>
-      <activation>
-        <property>
-          <name>prepareRelease</name>
-        </property>
-      </activation>
-      <modules>
-        <module>assembly</module>
-      </modules>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-release-plugin</artifactId>
-            <configuration>
-              <arguments>-DprepareRelease</arguments>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    
-    <profile>
-      <id>perform-release</id>
-      <activation>
-        <property>
-          <name>performRelease</name>
-          <value>true</value>
-        </property>
-      </activation>
-      <modules>
-        <module>assembly</module>
-      </modules>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <version>2.2</version>
-            <executions>
-              <execution>
-                <id>attach-javadocs</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-scm-plugin</artifactId>
-            <executions>
-              <execution>
-                <phase>validate</phase>
-                <id>getting-scm.revision</id>
-                <goals>
-                  <goal>update</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>      
-</project>
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  
+  <groupId>org.apache.myfaces.portlet-bridge</groupId>
+  <artifactId>portlet-bridge-testsuite</artifactId>
+  <packaging>war</packaging>
+  <name>MyFaces Portlet Bridge Test Suite</name>
+  <version>1.0.0-SNAPSHOT</version>	 
+  <inceptionYear>2007</inceptionYear>  
+  <description>
+  Portlet 1.0 Bridge for JavaServer Faces is a subproject of Apache MyFaces which provides an
+  implementation of the standardized Portlet Bridge as outlined by JSR-301 and subsequent
+  specifications.  This project contains the tests for the TCK which validate an implementations
+  fidelity to the specification.
+  </description>
+  
+  <url>http://myfaces.apache.org/portlet-bridge/1.0</url>
+  
+  <parent>
+    <artifactId>portlet-bridge-master-pom</artifactId>
+    <groupId>org.apache.myfaces.portlet-bridge</groupId>
+    <version>3-SNAPSHOT</version>
+  </parent>
+
+  <properties>
+    <servlet.version>2.5</servlet.version>
+    <jsp.version>2.1</jsp.version>    
+    <portlet.version>1.0</portlet.version>
+    <bridge.version>1.0.0-SNAPSHOT</bridge.version>
+    <jetty.version>6.1.10</jetty.version>
+    <pluto-embedded.version>1.0.1</pluto-embedded.version>
+    <pluto.version>1.1.7</pluto.version>
+    <jsf.version>1.2_03</jsf.version>
+    <selenium.version>1.0-beta-1</selenium.version>
+    <junit.version>4.7</junit.version>
+  </properties>
+  
+  <!-- issueManagement is in parent -->
+  <!-- ciManagement are in parent -->
+  <!-- mailingLists are in parent -->
+  <!-- developers are in parent -->
+  <!-- contributors are in parent -->
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/portlet-bridge/testsuite/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/portlet-bridge/testsuite/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/myfaces/portlet-bridge/testsuite/trunk/</url>
+  </scm>
+
+  <distributionManagement>
+    <site>
+      <id>apache-site</id>
+      <url>scpexe://minotaur.apache.org/www/myfaces.apache.org/portlet-bridge/testsuite</url>
+    </site>
+  </distributionManagement>
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-annotation_1.0_spec</artifactId>
+      <version>1.0</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <version>${servlet.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.servlet.jsp</groupId>
+      <artifactId>jsp-api</artifactId>
+      <version>${jsp.version}</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.faces</groupId>
+      <artifactId>jsf-api</artifactId>
+      <version>${jsf.version}</version>
+      <scope>compile</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>javax.faces</groupId>
+      <artifactId>jsf-impl</artifactId>
+      <version>${jsf.version}</version>
+      <scope>compile</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>portlet-api</groupId>
+      <artifactId>portlet-api</artifactId>
+      <version>${portlet.version}</version>
+      <scope>provided</scope>
+    </dependency>
+            
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>portlet-bridge-api</artifactId>
+      <version>${bridge.version}</version>
+      <scope>compile</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>portlet-bridge-impl</artifactId>
+      <version>${bridge.version}</version>
+      <scope>runtime</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>org.openqa.selenium.client-drivers</groupId>
+      <artifactId>selenium-java-client-driver</artifactId>
+      <version>${selenium.version}</version>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${junit.version}</version>
+      <scope>test</scope>
+    </dependency>
+    
+    <dependency>
+      <groupId>com.bekk.boss</groupId>
+      <artifactId>maven-jetty-pluto-embedded</artifactId>
+      <version>${pluto-embedded.version}</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>selenium-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>start</id>
+            <phase>process-test-classes</phase>
+            <goals>
+              <goal>start-server</goal>
+            </goals>
+            <configuration>
+              <background>true</background>
+              <logOutput>true</logOutput>
+              <multiWindow>true</multiWindow>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemProperties>
+            <property>
+              <name>bridge.tck.host</name>
+              <value>http://localhost:8080</value>
+           </property>
+            <property>
+              <name>bridge.tck.test.file</name>
+              <value>target/generated-resources/xml/xslt/test.xml</value>
+            </property>
+          </systemProperties>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-jdev-plugin</artifactId>
+        <groupId>org.apache.myfaces.trinidadbuild</groupId>
+        <configuration>
+          <libraries>
+            <library>JSP Runtime</library>
+          </libraries>
+        </configuration>
+      </plugin>
+     
+      <!-- Generates the Javadocs for the Website.  Wagon will transport it -->
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <configuration>
+          <links>
+            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+            <link>http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api</link>
+            <link>http://portals.apache.org/pluto/portlet-1.0-apidocs/</link>
+          </links>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+      </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>xml-maven-plugin</artifactId>
+        <configuration>
+          <transformationSets>
+            <transformationSet>
+              <dir>${basedir}/src/main/webapp/WEB-INF</dir>
+              <includes>
+                <include>portlet.xml</include>
+              </includes>
+              <fileMappers>
+                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                  <targetName>test.xml</targetName>
+                </fileMapper>
+              </fileMappers>
+              <parameters>
+                <parameter>
+                  <name>page-path</name>
+                  <value>${project.artifactId}/pluto/index.jsp?portlet=</value>
+                </parameter>
+              </parameters>                
+              <stylesheet>${basedir}/src/test/resources/test.xsl</stylesheet>
+            </transformationSet>
+            <transformationSet>
+              <dir>${basedir}/src/main/webapp/WEB-INF</dir>
+              <includes>
+                <include>portlet.xml</include>
+              </includes>
+              <fileMappers>
+                <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
+                  <targetName>pluto-portal-driver-config.xml</targetName>
+                </fileMapper>
+              </fileMappers>
+              <parameters>
+                <parameter>
+                  <name>portlet-app-context</name>
+                  <value>${project.artifactId}</value>
+                </parameter>
+              </parameters>  
+              <outputDir>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF</outputDir>
+              <stylesheet>${basedir}/src/test/resources/pluto-portal-driver-config.xsl</stylesheet>
+            </transformationSet>
+          </transformationSets>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>maven-jetty-plugin</artifactId>
+        <version>${jetty.version}</version>
+        <configuration>
+          <webDefaultXml>${basedir}/src/main/webapp/WEB-INF/jetty-pluto-web-default.xml</webDefaultXml>
+          <webXml>${project.build.directory}/pluto-resources/web.xml</webXml>
+          <!-- see http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin systemPropertiesFile -->
+          <!--systemProperties>
+            <systemProperty>
+              <name>org.apache.pluto.embedded.portletIds</name>
+              <value>chapter6Tests-wrappedFacesContextTest-portlet</value>
+            </systemProperty>
+          </systemProperties-->
+        </configuration>
+        <executions>
+          <execution>
+            <id>start-jetty</id>
+            <phase>process-test-classes</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <scanIntervalSeconds>0</scanIntervalSeconds>
+              <daemon>true</daemon>
+            </configuration>
+          </execution>
+          <execution>
+            <id>stop-jetty</id>
+            <phase>test</phase>
+            <goals>
+              <goal>stop</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.pluto</groupId>
+        <artifactId>maven-pluto-plugin</artifactId>
+        <version>${pluto.version}</version>
+        <executions>
+          <execution>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>assemble</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+    </plugins>
+  </build>
+  
+  <profiles>  
+    <!-- This profile is invoked by -DprepareRelease=true.  This allows mvn release:prepare to
+         run successfully on the assembly projects. -->
+    <profile>
+      <id>prepare-release</id>
+      <activation>
+        <property>
+          <name>prepareRelease</name>
+        </property>
+      </activation>
+      <modules>
+        <module>assembly</module>
+      </modules>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-release-plugin</artifactId>
+            <configuration>
+              <arguments>-DprepareRelease</arguments>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
+    <profile>
+      <id>perform-release</id>
+      <activation>
+        <property>
+          <name>performRelease</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <modules>
+        <module>assembly</module>
+      </modules>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.2</version>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-scm-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>validate</phase>
+                <id>getting-scm.revision</id>
+                <goals>
+                  <goal>update</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>      
+</project>