JBoss Rich Faces SVN: r1319 - trunk/richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-06-26 06:50:12 -0400 (Tue, 26 Jun 2007)
New Revision: 1319
Modified:
trunk/richfaces/pom.xml
Log:
ANTLR dependency added
Modified: trunk/richfaces/pom.xml
===================================================================
--- trunk/richfaces/pom.xml 2007-06-26 10:29:15 UTC (rev 1318)
+++ trunk/richfaces/pom.xml 2007-06-26 10:50:12 UTC (rev 1319)
@@ -1,401 +1,406 @@
-<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.richfaces</groupId>
- <artifactId>richfaces-parent</artifactId>
- <packaging>pom</packaging>
- <name>RichFaces Components</name>
- <version>3.0.2-SNAPSHOT</version>
- <url>http://richfaces.ajax4jsf.org</url>
- <properties>
- <maven.test.failure.ignore>true</maven.test.failure.ignore>
- <!-- -->
- </properties>
- <issueManagement>
- <system>JIRA</system>
- <url>http://jira.jboss.org/jira/browse/RF</url>
- </issueManagement>
- <ciManagement>
- <system>cruisecontrol</system>
- </ciManagement>
- <developers>
- <developer>
- <id>alexsmirnov</id>
- <name>Alexander Smirnov</name>
- <email>alexsmirnov(a)exadel.com</email>
- <organization>Exadel Inc.</organization>
- <organizationUrl>http://www.exadel.com</organizationUrl>
- <roles>
- <role>architect</role>
- <role>developer</role>
- </roles>
- <timezone>-3</timezone>
- </developer>
- <developer>
- <id>ishabalov</id>
- <name>Igor Shabalov</name>
- <email>ishabalov(a)exadel.com</email>
- <organization>Exadel Inc.</organization>
- <organizationUrl>http://www.exadel.com</organizationUrl>
- <roles>
- <role>architect</role>
- <role>developer</role>
- </roles>
- <timezone>+8</timezone>
- </developer>
- <developer>
- <id>sergeysmirnov</id>
- <name>Sergey Smirnov</name>
- <email>sergeysmirnov(a)exadel.com</email>
- <organization>Exadel Inc.</organization>
- <organizationUrl>http://www.exadel.com</organizationUrl>
- <roles>
- <role>architect</role>
- <role>developer</role>
- </roles>
- <timezone>+8</timezone>
- </developer>
- <developer>
- <id>nbelayevsky</id>
- <name>Nik Belyaevsky</name>
- <email>nbelayevsky(a)exadel.com</email>
- <organization>Exadel Inc.</organization>
- <organizationUrl>http://www.exadel.com</organizationUrl>
- <roles>
- <role>architect</role>
- <role>developer</role>
- </roles>
- <timezone>-2</timezone>
- </developer>
- </developers>
- <licenses>
- <license>
- <name>LGPL 2.1</name>
- <url>http://www.gnu.org/licenses/lgpl.html</url>
- <distribution>repo</distribution>
- <comments>
- GNU LESSER GENERAL PUBLIC LICENSE Version 2.1
- </comments>
- </license>
- </licenses>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/richfaces</developerConnection>
- <url>http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces/</url>
- </scm>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-source</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <index>true</index>
- <manifest>
- <addDefaultSpecificationEntries>
- true
- </addDefaultSpecificationEntries>
- <addDefaultImplementationEntries>
- true
- </addDefaultImplementationEntries>
- </manifest>
- <manifestEntries>
- <mode>development</mode>
- <Build-Number>
- ${buildNumber}
- </Build-Number>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
- <modules>
- <module>common</module>
- <module>drag-drop</module>
- <module>panel</module>
- <module>panelbar</module>
- <module>dataFilterSlider</module>
- <module>gmap</module>
- <module>separator</module>
- <module>spacer</module>
- <module>paint2D</module>
- <module>togglePanel</module>
- <module>tabPanel</module>
- <module>simpleTogglePanel</module>
- <module>toolBar</module>
- <module>inputnumber-slider</module>
- <module>inputnumber-spinner</module>
- <module>tree</module>
- <module>suggestionbox</module>
- <module>dataTable</module>
- <module>modal-panel</module>
- <module>datascroller</module>
- <module>menu-components</module>
- <module>dropdown-menu</module>
- </modules>
- <repositories>
- <repository>
- <releases />
- <snapshots>
- <enabled>false</enabled>
- <updatePolicy>never</updatePolicy>
- </snapshots>
- <id>maven-repository.dev.java.net</id>
- <name>Java.net Repository for Maven</name>
- <url>
- https://maven-repository.dev.java.net/nonav/repository
- </url>
- <layout>legacy</layout>
- </repository>
- <repository>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>maven2-snapshots.exadel.com</id>
- <name>Exadel Repository for Maven Snapshots</name>
- <url>http://maven.exadel.com/</url>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>maven2-snapshots.exadel.com</id>
- <name>Exadel Repository for Maven Snapshots</name>
- <url>http://maven.exadel.com/</url>
- </pluginRepository>
- </pluginRepositories>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- <version>1.1_02</version>
- <exclusions>
- <exclusion>
- <artifactId>jsp-api</artifactId>
- <groupId>javax.servlet.jsp</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jstl</artifactId>
- <groupId>javax.servlet.jsp.jstl</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-impl</artifactId>
- <version>1.1_02</version>
- <scope>runtime</scope>
- <exclusions>
- <exclusion>
- <artifactId>jsp-api</artifactId>
- <groupId>javax.servlet.jsp</groupId>
- </exclusion>
- <exclusion>
- <artifactId>jstl</artifactId>
- <groupId>javax.servlet.jsp.jstl</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.ajax4jsf</groupId>
- <artifactId>ajax4jsf</artifactId>
- <version>1.1.2-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.ajax4jsf</groupId>
- <artifactId>test</artifactId>
- <version>1.1.2-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>htmlunit</groupId>
- <artifactId>htmlunit</artifactId>
- <version>1.10</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2</version>
- </dependency>
- <dependency>
- <groupId>com.sun.facelets</groupId>
- <artifactId>jsf-facelets</artifactId>
- <version>1.1.11</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>el-impl</groupId>
- <artifactId>el-impl</artifactId>
- <version>1.0</version>
- <scope>provided</scope>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>2.4</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.0</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
- <reporting>
- <plugins>
- <plugin>
- <artifactId>
- maven-project-info-reports-plugin
- </artifactId>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <quiet>true</quiet>
- </configuration>
- </plugin>
- <!--
- <plugin>
- <artifactId>maven-checkstyle-plugin</artifactId>
- </plugin>
- --><!--
- <plugin>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- -->
- <plugin>
- <artifactId>maven-jxr-plugin</artifactId>
- <configuration>
- <aggregate>true</aggregate>
- </configuration>
- </plugin>
- <!--
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jdepend-maven-plugin</artifactId>
- </plugin>
- -->
- <!--
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changelog-maven-plugin</artifactId>
- </plugin>
- -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <configuration>
- <xmlOutput>false</xmlOutput>
- <threshold>Normal</threshold>
- <effort>Max</effort>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
- <distributionManagement>
- <repository>
- <uniqueVersion>false</uniqueVersion>
- <id>release-repository</id>
- <url>${releaseRepository}</url>
- </repository>
- <snapshotRepository>
- <id>snap-repository</id>
- <url>${snapshotRepository}</url>
- </snapshotRepository>
- <site>
- <id>richfaces-site</id>
- <url>richfaces/</url>
- </site>
- <downloadUrl>
- http://labs.jboss.com/portal/jbossrichfaces/downloads
- </downloadUrl>
- </distributionManagement>
- <profiles>
- <profile>
- <id>clover</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clover-plugin</artifactId>
- <configuration>
- <includesAllSourceRoots>
- true
- </includesAllSourceRoots>
- <licenseLocation>
- ${clover.license.path}
- </licenseLocation>
- <jdk>1.5</jdk>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>instrument</goal>
- <goal>aggregate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
-
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-clover-plugin</artifactId>
- <!--
- <configuration>
- <licenseLocation>${clover.license.path}</licenseLocation>
- <jdk>1.5</jdk>
- </configuration>
- -->
- </plugin>
- </plugins>
- </reporting>
- </profile>
- </profiles>
+<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.richfaces</groupId>
+ <artifactId>richfaces-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>RichFaces Components</name>
+ <version>3.0.2-SNAPSHOT</version>
+ <url>http://richfaces.ajax4jsf.org</url>
+ <properties>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
+ <!-- -->
+ </properties>
+ <issueManagement>
+ <system>JIRA</system>
+ <url>http://jira.jboss.org/jira/browse/RF</url>
+ </issueManagement>
+ <ciManagement>
+ <system>cruisecontrol</system>
+ </ciManagement>
+ <developers>
+ <developer>
+ <id>alexsmirnov</id>
+ <name>Alexander Smirnov</name>
+ <email>alexsmirnov(a)exadel.com</email>
+ <organization>Exadel Inc.</organization>
+ <organizationUrl>http://www.exadel.com</organizationUrl>
+ <roles>
+ <role>architect</role>
+ <role>developer</role>
+ </roles>
+ <timezone>-3</timezone>
+ </developer>
+ <developer>
+ <id>ishabalov</id>
+ <name>Igor Shabalov</name>
+ <email>ishabalov(a)exadel.com</email>
+ <organization>Exadel Inc.</organization>
+ <organizationUrl>http://www.exadel.com</organizationUrl>
+ <roles>
+ <role>architect</role>
+ <role>developer</role>
+ </roles>
+ <timezone>+8</timezone>
+ </developer>
+ <developer>
+ <id>sergeysmirnov</id>
+ <name>Sergey Smirnov</name>
+ <email>sergeysmirnov(a)exadel.com</email>
+ <organization>Exadel Inc.</organization>
+ <organizationUrl>http://www.exadel.com</organizationUrl>
+ <roles>
+ <role>architect</role>
+ <role>developer</role>
+ </roles>
+ <timezone>+8</timezone>
+ </developer>
+ <developer>
+ <id>nbelayevsky</id>
+ <name>Nik Belyaevsky</name>
+ <email>nbelayevsky(a)exadel.com</email>
+ <organization>Exadel Inc.</organization>
+ <organizationUrl>http://www.exadel.com</organizationUrl>
+ <roles>
+ <role>architect</role>
+ <role>developer</role>
+ </roles>
+ <timezone>-2</timezone>
+ </developer>
+ </developers>
+ <licenses>
+ <license>
+ <name>LGPL 2.1</name>
+ <url>http://www.gnu.org/licenses/lgpl.html</url>
+ <distribution>repo</distribution>
+ <comments>
+ GNU LESSER GENERAL PUBLIC LICENSE Version 2.1
+ </comments>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces</connection>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/richfaces/trunk/richfaces</developerConnection>
+ <url>http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces/</url>
+ </scm>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-source</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <index>true</index>
+ <manifest>
+ <addDefaultSpecificationEntries>
+ true
+ </addDefaultSpecificationEntries>
+ <addDefaultImplementationEntries>
+ true
+ </addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <mode>development</mode>
+ <Build-Number>
+ ${buildNumber}
+ </Build-Number>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ <modules>
+ <module>common</module>
+ <module>drag-drop</module>
+ <module>panel</module>
+ <module>panelbar</module>
+ <module>dataFilterSlider</module>
+ <module>gmap</module>
+ <module>separator</module>
+ <module>spacer</module>
+ <module>paint2D</module>
+ <module>togglePanel</module>
+ <module>tabPanel</module>
+ <module>simpleTogglePanel</module>
+ <module>toolBar</module>
+ <module>inputnumber-slider</module>
+ <module>inputnumber-spinner</module>
+ <module>tree</module>
+ <module>suggestionbox</module>
+ <module>dataTable</module>
+ <module>modal-panel</module>
+ <module>datascroller</module>
+ <module>menu-components</module>
+ <module>dropdown-menu</module>
+ </modules>
+ <repositories>
+ <repository>
+ <releases />
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>maven-repository.dev.java.net</id>
+ <name>Java.net Repository for Maven</name>
+ <url>
+ https://maven-repository.dev.java.net/nonav/repository
+ </url>
+ <layout>legacy</layout>
+ </repository>
+ <repository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ <id>maven2-snapshots.exadel.com</id>
+ <name>Exadel Repository for Maven Snapshots</name>
+ <url>http://maven.exadel.com/</url>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <updatePolicy>always</updatePolicy>
+ </snapshots>
+ <id>maven2-snapshots.exadel.com</id>
+ <name>Exadel Repository for Maven Snapshots</name>
+ <url>http://maven.exadel.com/</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ <version>1.1_02</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jsp-api</artifactId>
+ <groupId>javax.servlet.jsp</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jstl</artifactId>
+ <groupId>javax.servlet.jsp.jstl</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-impl</artifactId>
+ <version>1.1_02</version>
+ <scope>runtime</scope>
+ <exclusions>
+ <exclusion>
+ <artifactId>jsp-api</artifactId>
+ <groupId>javax.servlet.jsp</groupId>
+ </exclusion>
+ <exclusion>
+ <artifactId>jstl</artifactId>
+ <groupId>javax.servlet.jsp.jstl</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr</artifactId>
+ <version>3.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ajax4jsf</groupId>
+ <artifactId>ajax4jsf</artifactId>
+ <version>1.1.2-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.ajax4jsf</groupId>
+ <artifactId>test</artifactId>
+ <version>1.1.2-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>htmlunit</groupId>
+ <artifactId>htmlunit</artifactId>
+ <version>1.10</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.facelets</groupId>
+ <artifactId>jsf-facelets</artifactId>
+ <version>1.1.11</version>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>el-impl</groupId>
+ <artifactId>el-impl</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.4</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.0</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>
+ maven-project-info-reports-plugin
+ </artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <quiet>true</quiet>
+ </configuration>
+ </plugin>
+ <!--
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ --><!--
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+ -->
+ <plugin>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ </configuration>
+ </plugin>
+ <!--
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jdepend-maven-plugin</artifactId>
+ </plugin>
+ -->
+ <!--
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>changelog-maven-plugin</artifactId>
+ </plugin>
+ -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <configuration>
+ <xmlOutput>false</xmlOutput>
+ <threshold>Normal</threshold>
+ <effort>Max</effort>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+ <distributionManagement>
+ <repository>
+ <uniqueVersion>false</uniqueVersion>
+ <id>release-repository</id>
+ <url>${releaseRepository}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snap-repository</id>
+ <url>${snapshotRepository}</url>
+ </snapshotRepository>
+ <site>
+ <id>richfaces-site</id>
+ <url>richfaces/</url>
+ </site>
+ <downloadUrl>
+ http://labs.jboss.com/portal/jbossrichfaces/downloads
+ </downloadUrl>
+ </distributionManagement>
+ <profiles>
+ <profile>
+ <id>clover</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clover-plugin</artifactId>
+ <configuration>
+ <includesAllSourceRoots>
+ true
+ </includesAllSourceRoots>
+ <licenseLocation>
+ ${clover.license.path}
+ </licenseLocation>
+ <jdk>1.5</jdk>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>instrument</goal>
+ <goal>aggregate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clover-plugin</artifactId>
+ <!--
+ <configuration>
+ <licenseLocation>${clover.license.path}</licenseLocation>
+ <jdk>1.5</jdk>
+ </configuration>
+ -->
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file
17 years, 6 months
JBoss Rich Faces SVN: r1318 - trunk/docs/userguide/en/src/main/docbook/included.
by richfaces-svn-commits@lists.jboss.org
Author: vkorluzhenko
Date: 2007-06-26 06:29:15 -0400 (Tue, 26 Jun 2007)
New Revision: 1318
Modified:
trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
Log:
fixed error with using facet
Modified: trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-06-26 10:11:25 UTC (rev 1317)
+++ trunk/docs/userguide/en/src/main/docbook/included/dragIndicator.xml 2007-06-26 10:29:15 UTC (rev 1318)
@@ -111,9 +111,9 @@
</itemizedlist>
<para>Here is an example for an accept facet:</para>
<programlisting role="XML"><![CDATA[...
- <f:facet name="accept">
+ <f:dndParam name="accept">
<h:graphicImage value="./images/1.gif"/>
- </f:facet>
+ </f:dndParam>
...
]]></programlisting>
<para>Each of these three facets have a default structure for icons rendering on the left side.</para>
17 years, 6 months
JBoss Rich Faces SVN: r1317 - trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts.
by richfaces-svn-commits@lists.jboss.org
Author: dmorozov
Date: 2007-06-26 06:11:25 -0400 (Tue, 26 Jun 2007)
New Revision: 1317
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js
Log:
Fix bug with updateLayout agjusting for height
Modified: trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js
===================================================================
--- trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js 2007-06-26 10:05:39 UTC (rev 1316)
+++ trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/layouts/LayoutManager.js 2007-06-26 10:11:25 UTC (rev 1317)
@@ -64,7 +64,7 @@
updateLayout: function() {
if(this.container) {
var w = this.container.getWidth();
- var h = this.container.getWidth();
+ var h = this.container.getHeight();
if(ClientUILib.isGecko) {
w -= this.container.getBorderWidth("lr") + this.container.getPadding("lr");
h -= this.container.getBorderWidth("tb") + this.container.getPadding("tb");
17 years, 6 months
JBoss Rich Faces SVN: r1316 - trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/json.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-06-26 06:05:39 -0400 (Tue, 26 Jun 2007)
New Revision: 1316
Modified:
trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/json/json-dom.js
Log:
Handling for non-string parameters added
Modified: trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/json/json-dom.js
===================================================================
--- trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/json/json-dom.js 2007-06-26 10:04:34 UTC (rev 1315)
+++ trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/json/json-dom.js 2007-06-26 10:05:39 UTC (rev 1316)
@@ -111,11 +111,19 @@
// Escape XML symbols - < > & ' ...
xmlescape : function(text){
+ var t = text;
+ if (t) {
+ //handle non-strings
+ t = t.toString();
+ } else {
+ t = "";
+ }
+
for( var i in this._symbols ){
// text = text.replace(i,this._symbols[i]);
- text = text.split(i).join(this._symbols[i])
+ t = t.split(i).join(this._symbols[i])
}
- return text;
+ return t;
},
// Escape JavaScript function
17 years, 6 months
JBoss Rich Faces SVN: r1314 - trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-06-26 05:25:25 -0400 (Tue, 26 Jun 2007)
New Revision: 1314
Removed:
trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component/JSFComponentTest.java
Log:
Deleted: trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component/JSFComponentTest.java
===================================================================
--- trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component/JSFComponentTest.java 2007-06-26 09:25:12 UTC (rev 1313)
+++ trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component/JSFComponentTest.java 2007-06-26 09:25:25 UTC (rev 1314)
@@ -1,32 +0,0 @@
-package org.richfaces.component;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import javax.faces.component.UIComponent;
-
-/**
- * Unit test for simple Component.
- */
-public class JSFComponentTest
- extends TestCase
-{
- /**
- * Create the test case
- *
- * @param testName name of the test case
- */
- public JSFComponentTest( String testName )
- {
- super( testName );
- }
-
-
- /**
- * Rigourous Test :-)
- */
- public void testComponent()
- {
- assertTrue( true );
- }
-}
17 years, 6 months
JBoss Rich Faces SVN: r1312 - in trunk/sandbox/scrollable-grid/src/test/java/org/richfaces: renderkit and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: abelevich
Date: 2007-06-26 05:24:52 -0400 (Tue, 26 Jun 2007)
New Revision: 1312
Added:
trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/
trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/
trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/JSFComponentTest.java
trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/SelectionRendererContributorTest.java
Log:
move SelectioTest to another package
Copied: trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/JSFComponentTest.java (from rev 1270, trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component/JSFComponentTest.java)
===================================================================
--- trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/JSFComponentTest.java (rev 0)
+++ trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/JSFComponentTest.java 2007-06-26 09:24:52 UTC (rev 1312)
@@ -0,0 +1,31 @@
+package org.richfaces.renderkit.html;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import javax.faces.component.UIComponent;
+
+/**
+ * Unit test for simple Component.
+ */
+public class JSFComponentTest extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public JSFComponentTest( String testName )
+ {
+ super( testName );
+ }
+
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testComponent()
+ {
+ assertTrue( true );
+ }
+}
Copied: trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/SelectionRendererContributorTest.java (from rev 1270, trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/component/renderkit/html/SelectionRendererContributorTest.java)
===================================================================
--- trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/SelectionRendererContributorTest.java (rev 0)
+++ trunk/sandbox/scrollable-grid/src/test/java/org/richfaces/renderkit/html/SelectionRendererContributorTest.java 2007-06-26 09:24:52 UTC (rev 1312)
@@ -0,0 +1,197 @@
+/**
+ *
+ */
+package org.richfaces.renderkit.html;
+
+import java.util.ArrayList;
+
+import javax.faces.component.UIComponent;
+import javax.faces.context.ExternalContext;
+
+import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+import org.apache.shale.test.mock.MockExternalContext;
+import org.richfaces.component.UIScrollableGrid;
+import org.richfaces.model.selection.ClientSelection;
+import org.richfaces.model.selection.SelectionRange;
+import org.richfaces.renderkit.html.ScrollableGridBaseRenderer;
+import org.richfaces.renderkit.html.SelectionRendererContributor;
+
+/**
+ * @author Maksim Kaszynski
+ *
+ */
+public class SelectionRendererContributorTest extends AbstractAjax4JsfTestCase {
+
+ private UIScrollableGrid component;
+ private SelectionRendererContributor contributor;
+ private ScrollableGridBaseRenderer renderer;
+
+ public SelectionRendererContributorTest(String name) {
+ super(name);
+ }
+
+ /* (non-Javadoc)
+ * @see org.ajax4jsf.tests.AbstractAjax4JsfTestCase#setUp()
+ */
+ public void setUp() throws Exception {
+ super.setUp();
+ component = (UIScrollableGrid) application.createComponent(UIScrollableGrid.COMPONENT_TYPE);
+ component.setValue(new ArrayList());
+ facesContext.getViewRoot().getChildren().add(component);
+ contributor = new SelectionRendererContributor();
+ renderer = new ScrollableGridBaseRenderer(){
+ protected Class getComponentClass() {
+ return UIScrollableGrid.class;
+ }};
+ }
+
+ /* (non-Javadoc)
+ * @see org.ajax4jsf.tests.AbstractAjax4JsfTestCase#tearDown()
+ */
+ public void tearDown() throws Exception {
+ super.tearDown();
+ this.component = null;
+ this.contributor = null;
+ }
+
+ /**
+ * Test method for {@link org.richfaces.renderkit.html.SelectionRendererContributor#decode(javax.faces.context.FacesContext, javax.faces.component.UIComponent, org.richfaces.renderkit.CompositeRenderer)}.
+ */
+ public void testDecode() {
+ MockExternalContext mockExternalContext =
+ (MockExternalContext) facesContext.getExternalContext();
+ String name =
+ SelectionRendererContributor.getSelectionInputName(facesContext, (UIScrollableGrid) component);
+
+ String value = "";
+
+ mockExternalContext.addRequestParameterMap(name, value);
+
+ contributor.decode(facesContext, component, renderer);
+
+ Object selection = component.getSelection();
+
+ }
+
+ public void testShouldAddToSelection() {
+
+ ClientSelection oldSelection = new ClientSelection();
+ oldSelection.addRange(new SelectionRange(10, 15));
+ oldSelection.addRange(new SelectionRange(16, 20));
+
+ ClientSelection newSelection = new ClientSelection();
+ newSelection.addRange(new SelectionRange(20, 40));
+
+ newSelection.setSelectionFlag(ClientSelection.FLAG_ALL);
+
+ for(int i = 0; i < 100; i++) {
+ assertTrue(
+ "Contributor was supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+
+ newSelection.setSelectionFlag(null);
+
+ for (int i = 0; i < 21; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ for (int i = 21; i < 41; i++) {
+ assertTrue(
+ "Contributor was supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ for (int i = 41; i < 100; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+
+ newSelection.setSelectionFlag(ClientSelection.FLAG_RESET);
+
+
+ for (int i = 0; i < 20; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ for (int i = 21; i < 41; i++) {
+ assertTrue(
+ "Contributor was supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ for (int i = 41; i < 100; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to add " + i,
+ contributor.shouldAddToSelection(i, oldSelection, newSelection)
+ );
+ }
+
+
+
+ }
+
+
+ public void testShouldRemoveFromSelection() {
+ ClientSelection oldSelection = new ClientSelection();
+ oldSelection.addRange(new SelectionRange(10, 15));
+ oldSelection.addRange(new SelectionRange(16, 20));
+
+ ClientSelection newSelection = new ClientSelection();
+ newSelection.addRange(new SelectionRange(20, 40));
+
+ for (int i = 0; i < 10; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to remove " + i,
+ contributor.shouldRemoveFromSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ for (int i = 10; i < 20; i++) {
+ assertTrue(
+ "Contributor was supposed to remove " + i,
+ contributor.shouldRemoveFromSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ for (int i = 21; i < 100; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to remove " + i,
+ contributor.shouldRemoveFromSelection(i, oldSelection, newSelection)
+ );
+ }
+
+
+ newSelection.setSelectionFlag(ClientSelection.FLAG_ALL);
+
+ for (int i = 0; i < 100; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to remove " + i,
+ contributor.shouldRemoveFromSelection(i, oldSelection, newSelection)
+ );
+ }
+
+ newSelection.setSelectionFlag(ClientSelection.FLAG_RESET);
+
+ for (int i = 0; i < 100; i++) {
+ assertFalse(
+ "Contributor wasn't supposed to remove " + i,
+ contributor.shouldRemoveFromSelection(i, oldSelection, newSelection)
+ );
+ }
+ }
+
+}
17 years, 6 months
JBoss Rich Faces SVN: r1311 - trunk/richfaces/drag-drop/src/main/resources/org/richfaces/renderkit/html/scripts.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-06-25 15:06:28 -0400 (Mon, 25 Jun 2007)
New Revision: 1311
Modified:
trunk/richfaces/drag-drop/src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js
Log:
Resolved bug: drag/drop participants weren't able to override drag indicator params
Modified: trunk/richfaces/drag-drop/src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js
===================================================================
--- trunk/richfaces/drag-drop/src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js 2007-06-25 18:43:42 UTC (rev 1310)
+++ trunk/richfaces/drag-drop/src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js 2007-06-25 19:06:28 UTC (rev 1311)
@@ -6,17 +6,21 @@
setContent: function(name, single, params) {
Element.clearChildren(this);
- if (!params) {
- params = {};
+ var p = DnD.getDnDDefaultParams(this);
+
+ if (!p) {
+ p = {};
}
- Object.extend(params, DnD.getDnDDefaultParams(this));
-
- if (!params['marker']) {
- if (params[name]) {
- params['marker'] = params[name];
+ if (params) {
+ Object.extend(p, params);
+ }
+
+ if (!p['marker']) {
+ if (p[name]) {
+ p['marker'] = p[name];
} else {
- params['marker'] = this.markers[name];
+ p['marker'] = this.markers[name];
}
}
@@ -28,7 +32,7 @@
parts = this.indicatorTemplates['multi'];
}
- new Insertion.Top(this, parts.invoke('getOuterHTML', params).join(''));
+ new Insertion.Top(this, parts.invoke('getOuterHTML', p).join(''));
},
show: function() {
17 years, 6 months
JBoss Rich Faces SVN: r1310 - trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-06-25 14:43:42 -0400 (Mon, 25 Jun 2007)
New Revision: 1310
Modified:
trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp
Log:
Skin switching added
Modified: trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp 2007-06-25 18:41:43 UTC (rev 1309)
+++ trunk/sandbox-samples/panelmenu-sample/src/main/webapp/pages/index.jsp 2007-06-25 18:43:42 UTC (rev 1310)
@@ -9,34 +9,38 @@
</head>
<body>
<f:view>
- <pm:panelMenu>
- <pm:panelMenuGroup label="Group 1" iconExpanded="disc" iconCollapsed="chevron">
- <pm:panelMenuItem value="Item 1" icon="chevronUp">
- </pm:panelMenuItem>
- <pm:panelMenuItem value="Item "/>
- <pm:panelMenuGroup label="Group 2" >
- <pm:panelMenuItem icon="triangleDown">
- <f:verbatim>Item 3</f:verbatim>
+ <h:form>
+ <h:selectOneRadio binding="#{skinBean.component}" />
+ <h:commandLink action="#{skinBean.change}" value="set skin" />
+
+ <pm:panelMenu>
+ <pm:panelMenuGroup label="Group 1" iconExpanded="disc" iconCollapsed="chevron">
+ <pm:panelMenuItem value="Item 1" icon="chevronUp">
</pm:panelMenuItem>
- <pm:panelMenuGroup label="Group 33" expanded="true">
+ <pm:panelMenuItem value="Item "/>
+ <pm:panelMenuGroup label="Group 2" >
<pm:panelMenuItem icon="triangleDown">
- <f:verbatim>Item 3333</f:verbatim>
+ <f:verbatim>Item 3</f:verbatim>
</pm:panelMenuItem>
+ <pm:panelMenuGroup label="Group 33" expanded="true">
+ <pm:panelMenuItem icon="triangleDown">
+ <f:verbatim>Item 3333</f:verbatim>
+ </pm:panelMenuItem>
+ </pm:panelMenuGroup>
</pm:panelMenuGroup>
</pm:panelMenuGroup>
- </pm:panelMenuGroup>
- <pm:panelMenuGroup label="Group 3">
- <pm:panelMenuItem value="Item 4" >
- </pm:panelMenuItem>
- </pm:panelMenuGroup>
- <pm:panelMenuGroup label="Group 4" disabled="true">
- <pm:panelMenuItem value="Item 5" disabled="true"/>
- <pm:panelMenuItem value="Item 66" mode="server" />
- </pm:panelMenuGroup>
- <pm:panelMenuItem value="Top item"/>
- <pm:panelMenuItem value="Top item2" disabled="true"/>
- </pm:panelMenu>
-
+ <pm:panelMenuGroup label="Group 3">
+ <pm:panelMenuItem value="Item 4" >
+ </pm:panelMenuItem>
+ </pm:panelMenuGroup>
+ <pm:panelMenuGroup label="Group 4" disabled="true">
+ <pm:panelMenuItem value="Item 5" disabled="true"/>
+ <pm:panelMenuItem value="Item 66" mode="server" />
+ </pm:panelMenuGroup>
+ <pm:panelMenuItem value="Top item"/>
+ <pm:panelMenuItem value="Top item2" disabled="true"/>
+ </pm:panelMenu>
+ </h:form>
</f:view>
17 years, 6 months