You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2007/02/14 03:26:34 UTC
svn commit: r507359 - in /myfaces/core/branches/1_1_5: api/pom.xml
assembly/pom.xml assembly/src/main/assembly/bin.xml
assembly/src/main/assembly/src.xml impl/pom.xml
Author: manolito
Date: Tue Feb 13 18:26:33 2007
New Revision: 507359
URL: http://svn.apache.org/viewvc?view=rev&rev=507359
Log:
1. Fixed assembly build (tlddoc and some sources where missing)
2. The generate-assembly profile is now automatically activated when performRelease=true
(merged from trunk)
Modified:
myfaces/core/branches/1_1_5/api/pom.xml
myfaces/core/branches/1_1_5/assembly/pom.xml
myfaces/core/branches/1_1_5/assembly/src/main/assembly/bin.xml
myfaces/core/branches/1_1_5/assembly/src/main/assembly/src.xml
myfaces/core/branches/1_1_5/impl/pom.xml
Modified: myfaces/core/branches/1_1_5/api/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1_1_5/api/pom.xml?view=diff&rev=507359&r1=507358&r2=507359
==============================================================================
--- myfaces/core/branches/1_1_5/api/pom.xml (original)
+++ myfaces/core/branches/1_1_5/api/pom.xml Tue Feb 13 18:26:33 2007
@@ -20,6 +20,12 @@
<profiles>
<profile>
<id>generate-assembly</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
<build>
<plugins>
<plugin>
@@ -212,4 +218,4 @@
</plugin>
</plugins>
</reporting>
-</project>
\ No newline at end of file
+</project>
Modified: myfaces/core/branches/1_1_5/assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1_1_5/assembly/pom.xml?view=diff&rev=507359&r1=507358&r2=507359
==============================================================================
--- myfaces/core/branches/1_1_5/assembly/pom.xml (original)
+++ myfaces/core/branches/1_1_5/assembly/pom.xml Tue Feb 13 18:26:33 2007
@@ -1,12 +1,6 @@
<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>myfaces-core-assembly</artifactId>
- <packaging>pom</packaging>
- <name>Core Assembly</name>
- <description>
- This is the MyFaces Assembly [INSERT MORE STUFF HERE]
- </description>
<parent>
<groupId>org.apache.myfaces.core</groupId>
@@ -14,6 +8,13 @@
<version>1.1.5</version>
</parent>
+ <artifactId>myfaces-core-assembly</artifactId>
+ <packaging>pom</packaging>
+ <name>Core Assembly</name>
+ <description>
+ This is the MyFaces Assembly [INSERT MORE STUFF HERE]
+ </description>
+
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/core/trunk/assembly</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/core/trunk/assembly</developerConnection>
@@ -24,57 +25,54 @@
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>dependency-maven-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-javadoc</id>
<phase>package</phase>
<goals>
- <goal>copy</goal>
+ <goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
-
<artifactItem>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>${version}</version>
<classifier>javadoc</classifier>
+ <outputDirectory>${project.build.directory}/javadoc/api</outputDirectory>
</artifactItem>
-
<artifactItem>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${version}</version>
<classifier>javadoc</classifier>
+ <outputDirectory>${project.build.directory}/javadoc/impl</outputDirectory>
</artifactItem>
-
</artifactItems>
- <outputDirectory>${project.build.directory}/javadoc</outputDirectory>
</configuration>
</execution>
+
<execution>
<id>copy-tlddoc</id>
<phase>package</phase>
<goals>
- <goal>copy</goal>
+ <goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
-
<artifactItem>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${version}</version>
<classifier>tlddoc</classifier>
</artifactItem>
-
</artifactItems>
<outputDirectory>${project.build.directory}/tlddoc</outputDirectory>
</configuration>
- </execution>
+ </execution>
+
<execution>
<id>copy-source</id>
<phase>package</phase>
@@ -83,28 +81,24 @@
</goals>
<configuration>
<artifactItems>
- <artifactItem>
+ <artifactItem>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>${version}</version>
- <classifier>sources</classifier>
+ <classifier>sources</classifier>
</artifactItem>
-
<artifactItem>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${version}</version>
- <classifier>sources</classifier>
+ <classifier>sources</classifier>
</artifactItem>
-
- <artifactItem>
+ <artifactItem>
<groupId>org.apache.myfaces.shared</groupId>
<artifactId>myfaces-shared-impl</artifactId>
<version>2.0.5</version>
- <classifier>sources</classifier>
+ <classifier>sources</classifier>
</artifactItem>
-
-
</artifactItems>
<outputDirectory>${project.build.directory}/src</outputDirectory>
</configuration>
@@ -116,10 +110,10 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>2.0.1</version>
<configuration>
- <descriptors>
+ <descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
- <descriptor>src/main/assembly/src.xml</descriptor>
- </descriptors>
+ <descriptor>src/main/assembly/src.xml</descriptor>
+ </descriptors>
<finalName>myfaces-core-${version}</finalName>
<outputDirectory>target/assembly/out</outputDirectory>
<workDirectory>target/assembly/work</workDirectory>
Modified: myfaces/core/branches/1_1_5/assembly/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1_1_5/assembly/src/main/assembly/bin.xml?view=diff&rev=507359&r1=507358&r2=507359
==============================================================================
--- myfaces/core/branches/1_1_5/assembly/src/main/assembly/bin.xml (original)
+++ myfaces/core/branches/1_1_5/assembly/src/main/assembly/bin.xml Tue Feb 13 18:26:33 2007
@@ -24,15 +24,15 @@
<fileSet>
<directory>target/javadoc</directory>
<outputDirectory>javadoc</outputDirectory>
- <includes>
- <include>*.jar</include>
- </includes>
+ <excludes>
+ <exclude>META-INF/*</exclude>
+ </excludes>
</fileSet>
<fileSet>
<directory>target/tlddoc</directory>
<outputDirectory>tlddoc</outputDirectory>
<includes>
- <include>*.jar</include>
+ <include>**/*</include>
</includes>
</fileSet>
Modified: myfaces/core/branches/1_1_5/assembly/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1_1_5/assembly/src/main/assembly/src.xml?view=diff&rev=507359&r1=507358&r2=507359
==============================================================================
--- myfaces/core/branches/1_1_5/assembly/src/main/assembly/src.xml (original)
+++ myfaces/core/branches/1_1_5/assembly/src/main/assembly/src.xml Tue Feb 13 18:26:33 2007
@@ -17,7 +17,7 @@
</fileSet>
<fileSet>
<directory>target/src</directory>
- <outputDirectory>source</outputDirectory>
+ <outputDirectory>src</outputDirectory>
</fileSet>
</fileSets>
</assembly>
Modified: myfaces/core/branches/1_1_5/impl/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/branches/1_1_5/impl/pom.xml?view=diff&rev=507359&r1=507358&r2=507359
==============================================================================
--- myfaces/core/branches/1_1_5/impl/pom.xml (original)
+++ myfaces/core/branches/1_1_5/impl/pom.xml Tue Feb 13 18:26:33 2007
@@ -159,8 +159,15 @@
</plugins>
</reporting>
</profile>
+
<profile>
<id>generate-assembly</id>
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
<build>
<plugins>
<plugin>