You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2006/09/15 08:35:20 UTC

svn commit: r446530 - in /myfaces/tobago/trunk: contrib/facelets/pom.xml tobago-assembly/pom.xml

Author: bommel
Date: Thu Sep 14 23:35:20 2006
New Revision: 446530

URL: http://svn.apache.org/viewvc?view=rev&rev=446530
Log:
TOBAGO-126 retrotranslated version of tobago-facelets

Modified:
    myfaces/tobago/trunk/contrib/facelets/pom.xml
    myfaces/tobago/trunk/tobago-assembly/pom.xml

Modified: myfaces/tobago/trunk/contrib/facelets/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/facelets/pom.xml?view=diff&rev=446530&r1=446529&r2=446530
==============================================================================
--- myfaces/tobago/trunk/contrib/facelets/pom.xml (original)
+++ myfaces/tobago/trunk/contrib/facelets/pom.xml Thu Sep 14 23:35:20 2006
@@ -162,4 +162,61 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+     <profile>
+      <id>jdk14retro</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>retrotranslator-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>translate</goal>
+                </goals>
+                <configuration>
+                  <verbose>true</verbose>
+                  <includes>
+                    <include>
+                      <directory>${project.build.directory}/classes</directory>
+                    </include>
+                  </includes>
+                  <destdir>${project.build.directory}/classes-retro</destdir>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-jar-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+                <configuration>
+                  <classesDirectory>${project.build.directory}/classes-retro</classesDirectory>
+                  <classifier>jdk14retro</classifier>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+       <dependencies>
+        <dependency>
+          <groupId>sun.jdk</groupId>
+          <artifactId>rt</artifactId>
+          <version>1.4.0</version>
+          <scope>system</scope>
+          <systemPath>${java14.home}/lib/rt.jar</systemPath>
+        </dependency>
+        <dependency>
+          <groupId>net.sf.retrotranslator</groupId>
+          <artifactId>retrotranslator-runtime</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
 </project>

Modified: myfaces/tobago/trunk/tobago-assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-assembly/pom.xml?view=diff&rev=446530&r1=446529&r2=446530
==============================================================================
--- myfaces/tobago/trunk/tobago-assembly/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-assembly/pom.xml Thu Sep 14 23:35:20 2006
@@ -76,6 +76,12 @@
                   <artifactId>tobago-facelets</artifactId>
                   <version>${project.version}</version>
                 </artifactItem>
+                <artifactItem>
+                  <groupId>${project.groupId}</groupId>
+                  <artifactId>tobago-facelets</artifactId>
+                  <version>${project.version}</version>
+                  <classifier>jdk14retro</classifier>
+                </artifactItem>
 
               </artifactItems>
               <outputDirectory>${project.build.directory}/facelets</outputDirectory>