You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2012/03/16 15:14:10 UTC

svn commit: r1301536 - in /myfaces/extensions/scripting/trunk: ./ extscript-bundles/ extscript-bundles/extscript-myfaces20-bundle/ extscript-bundles/extscript20-assembly/ src/site/apt/

Author: werpu
Date: Fri Mar 16 14:14:09 2012
New Revision: 1301536

URL: http://svn.apache.org/viewvc?rev=1301536&view=rev
Log:
https://issues.apache.org/jira/browse/EXTSCRIPT-157 adding the bundles and assemblies to be conform with the documentation

Added:
    myfaces/extensions/scripting/trunk/extscript-bundles/
    myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle/
    myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle/pom.xml
    myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly/
    myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly/pom.xml
    myfaces/extensions/scripting/trunk/extscript-bundles/pom.xml
Modified:
    myfaces/extensions/scripting/trunk/pom.xml
    myfaces/extensions/scripting/trunk/src/site/apt/download.apt

Added: myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle/pom.xml?rev=1301536&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle/pom.xml (added)
+++ myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle/pom.xml Fri Mar 16 14:14:09 2012
@@ -0,0 +1,67 @@
+<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.extensions.scripting</groupId>
+    <artifactId>extscript-myfaces20-bundle</artifactId>
+    <packaging>jar</packaging>
+    <name>MyFaces Extension Scripting MyFaces 2.0 convenience meta bundle</name>
+    <version>1.0.3-SNAPSHOT</version>
+
+    <description>
+        The meta bundle bundeling all needed core runtimes
+        for a full myfaces 2.0 build
+    </description>
+
+    <parent>
+        <groupId>org.apache.myfaces.extensions.scripting</groupId>
+        <artifactId>extscript-bundles</artifactId>
+        <version>1.0.3-SNAPSHOT</version>
+    </parent>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle</developerConnection>
+        <url>http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-bundles/extscript-myfaces20-bundle</url>
+    </scm>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.myfaces.extensions.scripting</groupId>
+            <artifactId>extscript-core</artifactId>
+            <version>1.0.3-SNAPSHOT</version>
+        </dependency>
+
+    </dependencies>
+
+    <!-- we use the maven shade plugin to bundle our subprojects into bundles -->
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>1.3.1</version>
+                <!--
+                    todo use the shade plugin
+                    to rename references from
+                    util.shared_impl into impl
+                -->
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>shade</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <artifactSet>
+                        <includes>
+                            <artifact>org.apache.myfaces.extensions.scripting:extscript-core</artifact>
+                        </includes>
+                    </artifactSet>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+
+</project>

Added: myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly/pom.xml?rev=1301536&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly/pom.xml (added)
+++ myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly/pom.xml Fri Mar 16 14:14:09 2012
@@ -0,0 +1,125 @@
+<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>
+    <artifactId>extscript20-assembly</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache MyFaces Extensions Scripting MyFaces 2.0 Assembly</name>
+    <description>MyFaces Extensions Scripting Assembly is used to generate
+        .zip and .tar.gz distributions
+    </description>
+
+    <parent>
+        <groupId>org.apache.myfaces.extensions.scripting</groupId>
+        <artifactId>extscript-bundles</artifactId>
+        <version>1.0.2-SNAPSHOT</version>
+    </parent>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly</developerConnection>
+        <url>http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-bundles/extscript20-assembly</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-javadoc</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.extensions.scripting</groupId>
+                                    <artifactId>extscript-core</artifactId>
+                                    <version>${version}</version>
+                                    <classifier>javadoc</classifier>
+                                </artifactItem>
+
+
+                            </artifactItems>
+                            <outputDirectory>${project.build.directory}/javadoc</outputDirectory>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy-source</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.extensions.scripting</groupId>
+                                    <artifactId>extscript-core</artifactId>
+                                    <version>${version}</version>
+                                    <classifier>sources</classifier>
+                                </artifactItem>
+
+
+                            </artifactItems>
+                            <outputDirectory>${project.build.directory}/src</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <!-- EXECUTE mvn package to generate assembly files -->
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>make_assembly_src</id>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/coresrc.xml</descriptor>
+                            </descriptors>
+                            <finalName>myfaces-extscript20-${version}-src</finalName>
+                            <appendAssemblyId>false</appendAssemblyId>
+                            <outputDirectory>target/assembly/out</outputDirectory>
+                            <workDirectory>target/assembly/work</workDirectory>
+                        </configuration>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>make_assembly_bin</id>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>${basedir}/src/main/assembly/corebin.xml</descriptor>
+                            </descriptors>
+                            <finalName>myfaces-extscript20-${version}-bin</finalName>
+                            <appendAssemblyId>false</appendAssemblyId>
+                            <outputDirectory>target/assembly/out</outputDirectory>
+                            <workDirectory>target/assembly/work</workDirectory>
+                        </configuration>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.myfaces.extensions.scripting</groupId>
+            <artifactId>extscript-core</artifactId>
+            <version>1.0.3-SNAPSHOT</version>
+            <scope>compile</scope>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        <version>1.0.3-SNAPSHOT</version>
+    </properties>
+</project>

Added: myfaces/extensions/scripting/trunk/extscript-bundles/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-bundles/pom.xml?rev=1301536&view=auto
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-bundles/pom.xml (added)
+++ myfaces/extensions/scripting/trunk/extscript-bundles/pom.xml Fri Mar 16 14:14:09 2012
@@ -0,0 +1,58 @@
+<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.extensions.scripting</groupId>
+    <artifactId>extscript-bundles</artifactId>
+    <packaging>pom</packaging>
+    <name>MyFaces Extension Scripting meta bundles</name>
+    <version>1.0.2-SNAPSHOT</version>
+
+    <description>
+        Meta bundles bundling the various ext-script
+        combinations into one coherent package per
+        jsf version
+    </description>
+
+    <parent>
+        <groupId>org.apache.myfaces.extensions.scripting</groupId>
+        <artifactId>extscript-root</artifactId>
+        <version>1.0.3-SNAPSHOT</version>
+    </parent>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/extscript-bundles</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/extensions/scripting/trunk/extscript-bundles</developerConnection>
+        <url>http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-bundles</url>
+    </scm>
+
+    <modules>
+        <module>extscript-myfaces20-bundle</module>
+    </modules>
+
+
+     <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>extscript20-assembly</module>
+            </modules>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-release-plugin</artifactId>
+                        <configuration>
+                            <arguments>-DprepareRelease</arguments>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+</project>

Modified: myfaces/extensions/scripting/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/pom.xml?rev=1301536&r1=1301535&r2=1301536&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/pom.xml (original)
+++ myfaces/extensions/scripting/trunk/pom.xml Fri Mar 16 14:14:09 2012
@@ -46,9 +46,7 @@
 
     <modules>
         <module>extscript-core-root</module>
-        <!--
         <module>extscript-bundles</module>
-        -->
         <module>extscript-examples</module>
     </modules>
 
@@ -121,6 +119,7 @@
                 <plugin>
                     <artifactId>maven-site-plugin</artifactId>
                     <inherited>true</inherited>
+                    <version>2.2</version>
                     <configuration>
                         <outputEncoding>UTF-8</outputEncoding>
                     </configuration>
@@ -213,7 +212,7 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>jxr-maven-plugin</artifactId>
-                <version>2.3</version>
+
                 <!--
                 <configuration>
                     <aggregate>true</aggregate>
@@ -224,7 +223,7 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>taglist-maven-plugin</artifactId>
-                <version>2.4</version>
+
                 <configuration>
                     <tags>
                         <tag>TODO</tag>
@@ -244,7 +243,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-pmd-plugin</artifactId>
-                <version>2.12</version>
+
                 <configuration>
                     <targetJdk>1.5</targetJdk>
                 </configuration>

Modified: myfaces/extensions/scripting/trunk/src/site/apt/download.apt
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/src/site/apt/download.apt?rev=1301536&r1=1301535&r2=1301536&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/src/site/apt/download.apt (original)
+++ myfaces/extensions/scripting/trunk/src/site/apt/download.apt Fri Mar 16 14:14:09 2012
@@ -19,7 +19,40 @@ Download Apache MyFaces Extension Script
 
 Download Apache MyFaces Extension Scripting
 
- Apache MyFaces Extension Scripting now has a 1.0.1 bugfix release which reenables compatibility with newer MyFaces versions:
+ Apache MyFaces Extension Scripting now has a 1.0.2 bugfix release which reenables compatibility with newer MyFaces 
+ versions:
+ Apache MyFaces is distributed as jar archives for inclusion and as war archives for the
+ examples.
+
+ Note this is the last release which will support java 5 and MyFaces 1.x from version 1.0.3 onwards
+ only Java 6 and JSF 2.1 will be supported.
+
+ Use the links below to download
+
+
+  Release notes can be found {{{https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310964&version=12316367}here}}
+
+*-------------------------+---------+----------+-----------+
+|                         | Server | Checksum | Signature |
+*-------------------------+---------+----------+-----------+
+| Ext-Script MyFaces 1.2 bundle(jar)     | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/extscript-myfaces12-bundle/1.0.2/extscript-myfaces12-bundle-1.0.2.jar} extscript-myfaces12-bundle-1.0.2.jar}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/extscript-myfaces12-bundle/1.0.2/extscript-myfaces12-bundle-1.0.2.jar.asc.md5} extscript-myfaces12-bundle-1.0.2.jar.asc.md5}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/extscript-myfaces12-bundle/1.0.2/extscript-myfaces12-bundle-1.0.2.jar.asc}extscript-myfaces12-bundle-1.0.2.jar.asc}} |
+*-------------------------+---------+----------+-----------+
+| Ext-Script MyFaces 2.1 bundle(jar)     | {{{https://repository.apache
+.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/extscript-myfaces20-bundle/1.0.2/extscript-myfaces20-bundle-1.0.2.jar} extscript-myfaces20-bundle-1.0.2.jar}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/extscript-myfaces20-bundle/1.0.2/extscript-myfaces20-bundle-1.0.2.jar.asc.md5} extscript-myfaces20-bundle-1.0.2.jar.asc.md5}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/extscript-myfaces20-bundle/1.0.2/extscript-myfaces20-bundle-1.0.2.jar.asc}extscript-myfaces20-bundle-1.0.2.jar.asc}} |
+*-------------------------+---------+----------+-----------+
+| Ext-Script Demo Application MyFaces 1.2 (war)     | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces12-example/1.0.2/myfaces12-example-1.0.2.war} myfaces12-example-1.0.2.war}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces12-example/1.0.2/myfaces12-example-1.0.2.war.asc.md5} myfaces12-example-1.0.2.war.asc.md5}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces12-example/1.0.2/myfaces12-example-1.0.2.war.asc}myfaces12-example-1.0.2.war.asc}} |
+*-------------------------+---------+----------+-----------+
+| Ext-Script Demo Application MyFaces 2.0 (war)     | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces20-example/1.0.2/myfaces20-example-1.0.2.war} myfaces20-example-1.0.2.war}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces20-example/1.0.2/myfaces20-example-1.0.2.war.asc.md5} myfaces20-example-1.0.2.war.asc.md5}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces20-example/1.0.2/myfaces20-example-1.0.2.war.asc}myfaces20-example-1.0.2.war.asc}} |
+*-------------------------+---------+----------+-----------+
+| Ext-Script Blank Application JSF2 (war)      | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces20-extscript-helloworld/1.0.2/myfaces20-extscript-helloworld-1.0.2.war} myfaces20-extscript-helloworld-1.0.2.war}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces20-extscript-helloworld/1.0.2/myfaces20-extscript-helloworld-1.0.2.war.md5} myfaces20-extscript-helloworld-1.0.2.war.md5}} | {{{https://repository.apache.org/content/repositories/releases/org/apache/myfaces/extensions/scripting/myfaces20-extscript-helloworld/1.0.2/myfaces20-extscript-helloworld-1.0.2.war.asc} myfaces20-extscript-helloworld-1.0.2.war.asc}} |
+*-------------------------+---------+----------+-----------+
+
+
+Older Versions
+
+
+ Apache MyFaces Extension Scripting now has a 1.0.1 bugfix release which reenables compatibility with newer MyFaces
+ versions:
  Apache MyFaces is distributed as jar archives for inclusion and as war archives for the
  examples.
 
@@ -44,8 +77,6 @@ Download Apache MyFaces Extension Script
 *-------------------------+---------+----------+-----------+
 
 
-Older Versions
-
  As of now the project has an initial 1.0 release.
  The initial release will only run with Apache MyFaces up to 2.0.2.
  A subsequent release will follow soon which will support later versions