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/04/27 04:24:34 UTC

svn commit: r397363 - in /myfaces/tobago/trunk: core/ theme/ theme/charlotteville/ theme/richmond/ theme/scarborough/ theme/speyside/ theme/standard/ tobago-assembly/ tobago-assembly/src/main/assembly/

Author: bommel
Date: Wed Apr 26 19:24:32 2006
New Revision: 397363

URL: http://svn.apache.org/viewcvs?rev=397363&view=rev
Log:
added example for retrotranslater
added source to assembly

Modified:
    myfaces/tobago/trunk/core/pom.xml
    myfaces/tobago/trunk/theme/charlotteville/pom.xml
    myfaces/tobago/trunk/theme/pom.xml
    myfaces/tobago/trunk/theme/richmond/pom.xml
    myfaces/tobago/trunk/theme/scarborough/pom.xml
    myfaces/tobago/trunk/theme/speyside/pom.xml
    myfaces/tobago/trunk/theme/standard/pom.xml
    myfaces/tobago/trunk/tobago-assembly/pom.xml
    myfaces/tobago/trunk/tobago-assembly/src/main/assembly/dep.xml

Modified: myfaces/tobago/trunk/core/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/core/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/pom.xml (original)
+++ myfaces/tobago/trunk/core/pom.xml Wed Apr 26 19:24:32 2006
@@ -308,6 +308,16 @@
                </execution>
             </executions>
           </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-source</id>
+                <goals><goal>jar</goal></goals>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>
@@ -345,8 +355,12 @@
         </plugins>
       </build>
     </profile>
-    <!--profile>
-      <id>jdk14</id>
+    <profile>
+      <!--
+mvn install:install-file -Dfile=retrotranslator-runtime-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-runtime -Dversion=1.0.3 -Dpackaging=jar
+mvn install:install-file -Dfile=retrotranslator-transformer-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-transformer -Dversion=1.0.3 -Dpackaging=jar
+      -->
+      <id>jdk14retro</id>
       <build>
         <plugins>
           <plugin>
@@ -357,6 +371,9 @@
                 <goals>
                   <goal>translate</goal>
                 </goals>
+                <configuration>
+                  <verify>true</verify>
+                </configuration>
               </execution>
             </executions>
           </plugin>
@@ -369,13 +386,27 @@
                 </goals>
                 <configuration>
                 <classesDirectory>${project.build.directory}/classes-retro</classesDirectory>
-                  <classifier>jdk14</classifier>
+                  <classifier>jdk14retro</classifier>
                 </configuration>
               </execution>
             </executions>
           </plugin>
         </plugins>
       </build>
-    </profile-->
+       <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>
+          <version>1.0.3</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 </project>

Modified: myfaces/tobago/trunk/theme/charlotteville/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/charlotteville/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/charlotteville/pom.xml (original)
+++ myfaces/tobago/trunk/theme/charlotteville/pom.xml Wed Apr 26 19:24:32 2006
@@ -60,4 +60,61 @@
     </dependency>
 
   </dependencies>
+
+  <profiles>
+    <profile>
+      <!--
+  mvn install:install-file -Dfile=retrotranslator-runtime-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-runtime -Dversion=1.0.3 -Dpackaging=jar
+  mvn install:install-file -Dfile=retrotranslator-transformer-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-transformer -Dversion=1.0.3 -Dpackaging=jar
+      -->
+      <id>jdk14retro</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>retrotranslator-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>translate</goal>
+                </goals>
+                <configuration>
+                  <verify>true</verify>
+                </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>
+          <version>1.0.3</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+  
 </project>

Modified: myfaces/tobago/trunk/theme/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/pom.xml (original)
+++ myfaces/tobago/trunk/theme/pom.xml Wed Apr 26 19:24:32 2006
@@ -59,4 +59,25 @@
     <module>charlotteville</module>
 <!--    <module>tobago-theme-boccoo</module>-->
   </modules>
+  <profiles>
+    <profile>
+      <id>generate-assembly</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-source</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>

Modified: myfaces/tobago/trunk/theme/richmond/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/richmond/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/richmond/pom.xml (original)
+++ myfaces/tobago/trunk/theme/richmond/pom.xml Wed Apr 26 19:24:32 2006
@@ -59,4 +59,60 @@
       <scope>provided</scope>
     </dependency>
   </dependencies>
+  <profiles>
+      <profile>
+        <!--
+  mvn install:install-file -Dfile=retrotranslator-runtime-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-runtime -Dversion=1.0.3 -Dpackaging=jar
+  mvn install:install-file -Dfile=retrotranslator-transformer-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-transformer -Dversion=1.0.3 -Dpackaging=jar
+        -->
+        <id>jdk14retro</id>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>retrotranslator-maven-plugin</artifactId>
+              <executions>
+                <execution>
+                  <goals>
+                    <goal>translate</goal>
+                  </goals>
+                  <configuration>
+                    <verify>true</verify>
+                  </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>
+            <version>1.0.3</version>
+          </dependency>
+        </dependencies>
+      </profile>
+    </profiles>
+  
 </project>

Modified: myfaces/tobago/trunk/theme/scarborough/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/scarborough/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/pom.xml (original)
+++ myfaces/tobago/trunk/theme/scarborough/pom.xml Wed Apr 26 19:24:32 2006
@@ -86,4 +86,59 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
+  <profiles>
+    <profile>
+      <!--
+  mvn install:install-file -Dfile=retrotranslator-runtime-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-runtime -Dversion=1.0.3 -Dpackaging=jar
+  mvn install:install-file -Dfile=retrotranslator-transformer-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-transformer -Dversion=1.0.3 -Dpackaging=jar
+      -->
+      <id>jdk14retro</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>retrotranslator-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>translate</goal>
+                </goals>
+                <configuration>
+                  <verify>true</verify>
+                </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>
+          <version>1.0.3</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
 </project>

Modified: myfaces/tobago/trunk/theme/speyside/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/speyside/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/speyside/pom.xml (original)
+++ myfaces/tobago/trunk/theme/speyside/pom.xml Wed Apr 26 19:24:32 2006
@@ -62,4 +62,61 @@
     </dependency>
 
   </dependencies>
+
+  <profiles>
+    <profile>
+      <!--
+  mvn install:install-file -Dfile=retrotranslator-runtime-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-runtime -Dversion=1.0.3 -Dpackaging=jar
+  mvn install:install-file -Dfile=retrotranslator-transformer-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-transformer -Dversion=1.0.3 -Dpackaging=jar
+      -->
+      <id>jdk14retro</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>retrotranslator-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>translate</goal>
+                </goals>
+                <configuration>
+                  <verify>true</verify>
+                </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>
+          <version>1.0.3</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
 </project>

Modified: myfaces/tobago/trunk/theme/standard/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/standard/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/pom.xml (original)
+++ myfaces/tobago/trunk/theme/standard/pom.xml Wed Apr 26 19:24:32 2006
@@ -58,4 +58,60 @@
 
   </dependencies>
 
+  <profiles>
+    <profile>
+      <!--
+mvn install:install-file -Dfile=retrotranslator-runtime-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-runtime -Dversion=1.0.3 -Dpackaging=jar
+mvn install:install-file -Dfile=retrotranslator-transformer-1.0.3.jar -DgroupId=net.sf.retrotranslator -DartifactId=retrotranslator-transformer -Dversion=1.0.3 -Dpackaging=jar
+      -->
+      <id>jdk14retro</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>retrotranslator-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>translate</goal>
+                </goals>
+                <configuration>
+                  <verify>true</verify>
+                </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>
+          <version>1.0.3</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
 </project>

Modified: myfaces/tobago/trunk/tobago-assembly/pom.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/tobago-assembly/pom.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-assembly/pom.xml (original)
+++ myfaces/tobago/trunk/tobago-assembly/pom.xml Wed Apr 26 19:24:32 2006
@@ -75,10 +75,59 @@
                   <classifier>tlddoc</classifier>
                 </artifactItem>
 
-               </artifactItems>
-               <outputDirectory>${project.build.directory}/tlddoc</outputDirectory>
-             </configuration>
-           </execution>
+              </artifactItems>
+              <outputDirectory>${project.build.directory}/tlddoc</outputDirectory>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>copy-source</id>
+            <phase>package</phase>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>tobago-core</artifactId>
+                  <version>${version}</version>
+                  <classifier>sources</classifier>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>tobago-theme-charlotteville</artifactId>
+                  <version>${version}</version>
+                  <classifier>sources</classifier>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>tobago-theme-richmond</artifactId>
+                  <version>${version}</version>
+                  <classifier>sources</classifier>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>tobago-theme-speyside</artifactId>
+                  <version>${version}</version>
+                  <classifier>sources</classifier>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>tobago-theme-scarborough</artifactId>
+                  <version>${version}</version>
+                  <classifier>sources</classifier>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.myfaces.tobago</groupId>
+                  <artifactId>tobago-theme-standard</artifactId>
+                  <version>${version}</version>
+                  <classifier>sources</classifier>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>${project.build.directory}/src</outputDirectory>
+            </configuration>
+          </execution>
 
         </executions>
       </plugin>
@@ -97,7 +146,7 @@
        <plugin>
         <groupId>org.apache.myfaces.maven</groupId>
         <artifactId>wagon-maven-plugin</artifactId>
-        <version>1.0.3-SNAPSHOT</version>
+        <version>1.0.1</version>
         <configuration>
           <id>myfaces-nightly-builds</id>
           <url>scpexe://minotaur.apache.org/www/cvs.apache.org/builds/myfaces/nightly</url>
@@ -126,18 +175,4 @@
       </exclusions>
     </dependency>
   </dependencies>
-
-  <pluginRepositories>
-    <pluginRepository>
-      <releases>
-        <enabled>false</enabled>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-      <id>apache-maven-snapshots</id>
-      <url>http://cvs.apache.org/maven-snapshot-repository</url>
-    </pluginRepository>
-  </pluginRepositories>
-  
 </project>

Modified: myfaces/tobago/trunk/tobago-assembly/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/tobago-assembly/src/main/assembly/dep.xml?rev=397363&r1=397362&r2=397363&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-assembly/src/main/assembly/dep.xml (original)
+++ myfaces/tobago/trunk/tobago-assembly/src/main/assembly/dep.xml Wed Apr 26 19:24:32 2006
@@ -34,5 +34,12 @@
         <include>*.jar</include>
       </includes>
     </fileSet>
+    <fileSet>
+      <directory>target/src</directory>
+      <outputDirectory>src</outputDirectory>
+      <includes>
+        <include>*.jar</include>
+      </includes>
+    </fileSet>
   </fileSets>
 </assembly>