Revision: 1231
Author: mathiasbr
Date: 2006-07-25 04:31:31 -0700 (Tue, 25 Jul 2006)
ViewCVS: http://svn.sourceforge.net/spring-rich-c/?rev=1231&view=rev
Log Message:
-----------
major cleanup of dependencies.
upgrading to spring 1.2.7 (1.2.8 was not working since
org.springframework.metadata package is not available in 1.2.8)
projects created through spring rich archetype doesn't depend on unused jars
(at least most of them)
archetype based projects now supports copying the dependencies to target/lib
and the application can now be started by invoking the generated jar.
Modified Paths:
--------------
trunk/spring-richclient/archetype/pom.xml
trunk/spring-richclient/archetype/src/main/resources/archetype-resources/pom.xml
trunk/spring-richclient/binding/pom.xml
trunk/spring-richclient/core/pom.xml
trunk/spring-richclient/form/pom.xml
trunk/spring-richclient/pom.xml
trunk/spring-richclient/samples/petclinic/gui/pom.xml
trunk/spring-richclient/samples/simple/pom.xml
trunk/spring-richclient/sandbox/pom.xml
trunk/spring-richclient/src/site/apt/gettingStarted.apt
trunk/spring-richclient/support/pom.xml
trunk/spring-richclient/support/src/main/java/org/springframework/binding/validation/support/ValangRichValidator.java
trunk/spring-richclient/tiger/pom.xml
Modified: trunk/spring-richclient/archetype/pom.xml
===================================================================
--- trunk/spring-richclient/archetype/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/archetype/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -15,5 +15,5 @@
<description>
Archetype for creating new Rich Client projects.
</description>
-
+
</project>
Modified:
trunk/spring-richclient/archetype/src/main/resources/archetype-resources/pom.xml
===================================================================
---
trunk/spring-richclient/archetype/src/main/resources/archetype-resources/pom.xml
2006-07-25 09:54:18 UTC (rev 1230)
+++
trunk/spring-richclient/archetype/src/main/resources/archetype-resources/pom.xml
2006-07-25 11:31:31 UTC (rev 1231)
@@ -6,58 +6,102 @@
<packaging>jar</packaging>
<version>${version}</version>
<name>Spring RCP Project Archetype</name>
+
+ <properties>
+ <springrich.version>0.2.0-SNAPSHOT</springrich.version>
+ <spring.version>1.2.8</spring.version>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <!-- this configuration generates the manifest in
target/${artifactId}-${version}.jar -->
+ <archive>
+ <manifest>
+ <!-- specify the main class for your application -->
+ <mainClass>${groupId}.SimpleApp</mainClass>
+ <addClasspath>true</addClasspath>
+ <addExtensions/>
+ <classpathPrefix>lib</classpathPrefix>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+
+ <!-- This plugin copies the dependencies into target/lib -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>dependency-maven-plugin</artifactId>
+ <configuration>
+
<outputDirectory>${project.build.directory}/lib</outputDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<dependencies>
<!-- Spring rich -->
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-resources</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>${springrich.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-core</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>${springrich.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-binding</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>${springrich.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-form</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>${springrich.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-support</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>${springrich.version}</version>
</dependency>
- <!--<dependency>-->
- <!--<groupId>org.springframework.richclient</groupId>-->
- <!--<artifactId>spring-richclient-tiger</artifactId>-->
- <!--</dependency>-->
+ <!-- Uncomment spring-richclient-tiger module if you want to use java
1.5 support classes from spring rich
<dependency>
<groupId>org.springframework.richclient</groupId>
+ <artifactId>spring-richclient-tiger</artifactId>
+ <version>${springrich.version}</version>
+ </dependency>
+ -->
+ <!-- Uncomment spring-richclient-sandbox module if you want to use in
dev classes from spring rich
+ <dependency>
+ <groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-sandbox</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>${springrich.version}</version>
</dependency>
+ -->
- <!-- Dependency injection -->
<dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <version>1.2.6</version>
+ <groupId>jgoodies</groupId>
+ <artifactId>forms</artifactId>
+ <version>1.0.5</version>
</dependency>
<dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- <version>1.2.6</version>
+ <groupId>jgoodies</groupId>
+ <artifactId>looks</artifactId>
+ <version>1.3.2</version>
</dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>1.2.6</version>
- </dependency>
</dependencies>
</project>
Modified: trunk/spring-richclient/binding/pom.xml
===================================================================
--- trunk/spring-richclient/binding/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/binding/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -16,92 +16,7 @@
Data binding from POJO's to Swing.
</description>
- <dependencies>
- <!-- Internal -->
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- <type>test-jar</type>
- </dependency>
-
- <!-- Logging -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
-
- <!-- Dependency injection -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
-
-
- <!-- Binding and validation -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-modules-sandbox</artifactId>
- </dependency>
-
- <!-- Security -->
- <dependency>
- <groupId>org.acegisecurity</groupId>
- <artifactId>acegi-security</artifactId>
- </dependency>
-
- <!-- Components -->
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>forms</artifactId>
- </dependency>
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>looks</artifactId>
- </dependency>
- <dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists</artifactId>
- </dependency>
-
- <!-- Utils -->
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.help</groupId>
- <artifactId>jhelp</artifactId>
- </dependency>
-
- </dependencies>
-
+ <dependencies>
+ </dependencies>
+
</project>
\ No newline at end of file
Modified: trunk/spring-richclient/core/pom.xml
===================================================================
--- trunk/spring-richclient/core/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/core/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -16,82 +16,7 @@
Core and basic classes.
</description>
- <dependencies>
- <!-- Internal -->
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- <type>test-jar</type>
- </dependency>
-
- <!-- Logging -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
-
- <!-- Dependency injection -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
-
- <!-- Binding and validation -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-modules-sandbox</artifactId>
- </dependency>
-
- <!-- Security -->
- <dependency>
- <groupId>org.acegisecurity</groupId>
- <artifactId>acegi-security</artifactId>
- </dependency>
-
- <!-- Components -->
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>forms</artifactId>
- </dependency>
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>looks</artifactId>
- </dependency>
- <dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists</artifactId>
- </dependency>
-
- <!-- Utils -->
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.help</groupId>
- <artifactId>jhelp</artifactId>
- </dependency>
-
- </dependencies>
-
+ <dependencies>
+ </dependencies>
+
</project>
\ No newline at end of file
Modified: trunk/spring-richclient/form/pom.xml
===================================================================
--- trunk/spring-richclient/form/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/form/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -16,100 +16,7 @@
Views and forms.
</description>
- <dependencies>
- <!-- Internal -->
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-binding</artifactId>
- <type>test-jar</type>
- </dependency>
-
- <!-- Logging -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
-
- <!-- Dependency injection -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
-
- <!-- Binding and validation -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-modules-sandbox</artifactId>
- </dependency>
-
- <!-- Security -->
- <dependency>
- <groupId>org.acegisecurity</groupId>
- <artifactId>acegi-security</artifactId>
- </dependency>
-
- <!-- Components -->
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>forms</artifactId>
- </dependency>
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>looks</artifactId>
- </dependency>
- <dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists</artifactId>
- </dependency>
-
- <!-- Utils -->
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.help</groupId>
- <artifactId>jhelp</artifactId>
- </dependency>
-
- </dependencies>
-
+ <dependencies>
+ </dependencies>
+
</project>
\ No newline at end of file
Modified: trunk/spring-richclient/pom.xml
===================================================================
--- trunk/spring-richclient/pom.xml 2006-07-25 09:54:18 UTC (rev 1230)
+++ trunk/spring-richclient/pom.xml 2006-07-25 11:31:31 UTC (rev 1231)
@@ -461,6 +461,10 @@
</repository>
</repositories>
<pluginRepositories/>
+
+ <properties>
+ <spring.version>1.2.7</spring.version>
+ </properties>
<dependencies>
<dependency>
@@ -472,6 +476,7 @@
<artifactId>easymock</artifactId>
</dependency>
</dependencies>
+
<dependencyManagement>
<dependencies>
<!--
@@ -620,47 +625,131 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.mail</groupId>
+ <artifactId>mail</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.transaction</groupId>
+ <artifactId>jta</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.resource</groupId>
+ <artifactId>connector</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>aopalliance</groupId>
+ <artifactId>aopalliance</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>xdoclet</groupId>
+ <artifactId>xjavadoc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.servlets</groupId>
+ <artifactId>cos</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>quartz</groupId>
+ <artifactId>quartz</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>oro</groupId>
+ <artifactId>oro</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>cglib</groupId>
+ <artifactId>cglib</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>velocity</groupId>
+ <artifactId>velocity</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>freemarker</groupId>
+ <artifactId>freemarker</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jasperreports</groupId>
+ <artifactId>jasperreports</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-support</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-remoting</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-dao</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-dao</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
- <version>1.2.6</version>
+ <version>${spring.version}</version>
</dependency>
<!--<dependency>-->
<!--<groupId>org.springframework</groupId>-->
@@ -676,11 +765,55 @@
<version>1.2.6</version>
</dependency>
+ <dependency>
+ <groupId>aopalliance</groupId>
+ <artifactId>aopalliance</artifactId>
+ <version>1.0</version>
+ </dependency>
+
<!-- Security -->
<dependency>
<groupId>org.acegisecurity</groupId>
<artifactId>acegi-security</artifactId>
- <version>1.0.0-RC1</version>
+ <version>1.0.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-mock</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ehcache</groupId>
+ <artifactId>ehcache</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>cas</groupId>
+ <artifactId>casclient</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>aspectj</groupId>
+ <artifactId>aspectjrt</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>cas</groupId>
+ <artifactId>casclient</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<!-- Components -->
@@ -721,13 +854,11 @@
<groupId>concurrent</groupId>
<artifactId>concurrent</artifactId>
<version>1.3.2</version>
- <optional>true</optional><!-- TODO move to module poms -->
</dependency>
<dependency>
<groupId>javax.help</groupId>
<artifactId>jhelp</artifactId>
<version>2.0</version>
- <optional>true</optional><!-- TODO move to module poms -->
</dependency>
<!-- Docking -->
@@ -759,6 +890,10 @@
<!--<artifactId>hibernate</artifactId>-->
<!--</exclusion>-->
<exclusion>
+ <groupId>lucene</groupId>
+ <artifactId>lucene</artifactId>
+ </exclusion>
+ <exclusion>
<groupId>javax.persistence</groupId>
<artifactId>ejb</artifactId>
</exclusion>
Modified: trunk/spring-richclient/samples/petclinic/gui/pom.xml
===================================================================
--- trunk/spring-richclient/samples/petclinic/gui/pom.xml 2006-07-25
09:54:18 UTC (rev 1230)
+++ trunk/spring-richclient/samples/petclinic/gui/pom.xml 2006-07-25
11:31:31 UTC (rev 1231)
@@ -74,8 +74,18 @@
<artifactId>spring-petclinic</artifactId>
</dependency>
+ <!-- Security -->
+ <dependency>
+ <groupId>org.acegisecurity</groupId>
+ <artifactId>acegi-security</artifactId>
+ </dependency>
+
<!-- Components -->
<dependency>
+ <groupId>jgoodies</groupId>
+ <artifactId>forms</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.jdesktop</groupId>
<artifactId>swingx</artifactId>
</dependency>
Modified: trunk/spring-richclient/samples/simple/pom.xml
===================================================================
--- trunk/spring-richclient/samples/simple/pom.xml 2006-07-25 09:54:18 UTC
(rev 1230)
+++ trunk/spring-richclient/samples/simple/pom.xml 2006-07-25 11:31:31 UTC
(rev 1231)
@@ -82,6 +82,10 @@
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
+ <dependency>
+ <groupId>net.java.dev.glazedlists</groupId>
+ <artifactId>glazedlists</artifactId>
+ </dependency>
</dependencies>
Modified: trunk/spring-richclient/sandbox/pom.xml
===================================================================
--- trunk/spring-richclient/sandbox/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/sandbox/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -20,126 +20,48 @@
</description>
<dependencies>
- <!-- Internal -->
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-binding</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-form</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-form</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-support</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-support</artifactId>
- <type>test-jar</type>
- </dependency>
-
- <!-- Logging -->
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
-
- <!-- Dependency injection -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
-
- <!-- Binding and validation -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-modules-sandbox</artifactId>
- </dependency>
-
- <!-- Security -->
- <dependency>
- <groupId>org.acegisecurity</groupId>
- <artifactId>acegi-security</artifactId>
- </dependency>
-
- <!-- Components -->
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>forms</artifactId>
- </dependency>
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>looks</artifactId>
- </dependency>
- <dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists</artifactId>
- </dependency>
- <dependency>
- <groupId>net.sf.nachocalendar</groupId>
- <artifactId>nachocalendar</artifactId>
- </dependency>
-
- <!-- Utils -->
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.help</groupId>
- <artifactId>jhelp</artifactId>
- </dependency>
-
- <!-- JDBC -->
- <dependency>
- <groupId>hsqldb</groupId>
- <artifactId>hsqldb</artifactId>
- </dependency>
+ <!-- Spring rich -->
+ <dependency>
+ <groupId>org.springframework.richclient</groupId>
+ <artifactId>spring-richclient-support</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.richclient</groupId>
+ <artifactId>spring-richclient-support</artifactId>
+ <type>test-jar</type>
+ </dependency>
+
+ <!-- Components -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>net.java.dev.glazedlists</groupId>
+ <artifactId>glazedlists</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>net.sf.nachocalendar</groupId>
+ <artifactId>nachocalendar</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>jgoodies</groupId>
+ <artifactId>forms</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: trunk/spring-richclient/src/site/apt/gettingStarted.apt
===================================================================
--- trunk/spring-richclient/src/site/apt/gettingStarted.apt 2006-07-25
09:54:18 UTC (rev 1230)
+++ trunk/spring-richclient/src/site/apt/gettingStarted.apt 2006-07-25
11:31:31 UTC (rev 1231)
@@ -27,30 +27,37 @@
In order to simplify the process of getting your first Spring Rich
Client project started,
a maven archetype has been created to do just that.
- * See {{development/developmentSetup.html}} to install Maven 2, checkout
the project and run
+ * See {{development/developmentSetup.html}} to install Maven 2, checkout the
project and run
+--
mvn install
+--
- * Next, run the following command (with appropriate substitutions for
- <<<your.group.id>>> and <<<your-artifact-id>>>) in an empty directory:
+
+ * Next, run the following command (with appropriate substitutions for
+ <<<your.group.id>>> and <<<your-artifact-id>>>) in an empty directory:
-+---
++--
mvn archetype:create \
-DarchetypeGroupId=org.springframework.richclient \
-DarchetypeArtifactId=spring-richclient-archetype \
-DarchetypeVersion=0.2.0-SNAPSHOT \
-DgroupId=your.group.id -DartifactId=your-artifact-id
-+---
++--
- Once this command completes, you will have a new project that is ready
to go.
+ Once this command completes, you will have a new project that is ready to go.
- * You can use the Eclipse or Idea plugins in Maven to get the project
into your
- favorite IDE.
+ * You can use the Eclipse or Idea plugins in Maven to get the project into
your favorite IDE.
+
+--
cd your-artifact-id
mvn install eclipse:eclipse idea:idea
+--
- The application should be runnable as is.
+ The application can be started either through the IDE or with:
+
++--
+cd your-artifact-id
+mvn package
+java -jar target/your-artifact-id-1.0-SNAPSHOT.jar
++--
\ No newline at end of file
Modified: trunk/spring-richclient/support/pom.xml
===================================================================
--- trunk/spring-richclient/support/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/support/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -21,11 +21,13 @@
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-resources</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-resources</artifactId>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
@@ -35,6 +37,7 @@
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-core</artifactId>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
@@ -44,6 +47,7 @@
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-binding</artifactId>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.richclient</groupId>
@@ -53,6 +57,7 @@
<groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-form</artifactId>
<type>test-jar</type>
+ <scope>test</scope>
</dependency>
<!-- Logging -->
@@ -78,41 +83,64 @@
</dependency>
<dependency>
<groupId>org.springframework</groupId>
+ <artifactId>spring-remoting</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>aopalliance</groupId>
+ <artifactId>aopalliance</artifactId>
+ <optional>true</optional>
+ </dependency>
+
<!-- Binding and validation -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-binding</artifactId>
</dependency>
+
+ <!-- only required when ValangRichValidator is used -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-modules-sandbox</artifactId>
+ <optional>true</optional>
</dependency>
<!-- Security -->
<dependency>
<groupId>org.acegisecurity</groupId>
<artifactId>acegi-security</artifactId>
+ <optional>true</optional>
</dependency>
<!-- Components -->
<dependency>
<groupId>jgoodies</groupId>
<artifactId>forms</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>jgoodies</groupId>
<artifactId>looks</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>net.java.dev.glazedlists</groupId>
<artifactId>glazedlists</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>net.sf.nachocalendar</groupId>
@@ -124,10 +152,12 @@
<dependency>
<groupId>concurrent</groupId>
<artifactId>concurrent</artifactId>
+ <optional>true</optional>
</dependency>
<dependency>
<groupId>javax.help</groupId>
<artifactId>jhelp</artifactId>
+ <optional>true</optional>
</dependency>
<!-- Docking -->
Modified:
trunk/spring-richclient/support/src/main/java/org/springframework/binding/validation/support/ValangRichValidator.java
===================================================================
---
trunk/spring-richclient/support/src/main/java/org/springframework/binding/validation/support/ValangRichValidator.java
2006-07-25 09:54:18 UTC (rev 1230)
+++
trunk/spring-richclient/support/src/main/java/org/springframework/binding/validation/support/ValangRichValidator.java
2006-07-25 11:31:31 UTC (rev 1231)
@@ -346,5 +346,9 @@
public void setExtractOldValueForEditor(boolean
extractOldValueForEditor){
throw new UnsupportedOperationException("Not implemented");
}
+
+ public boolean isExtractOldValueForEditor() {
+ throw new UnsupportedOperationException("Not implemented");
+ }
}
}
\ No newline at end of file
Modified: trunk/spring-richclient/tiger/pom.xml
===================================================================
--- trunk/spring-richclient/tiger/pom.xml 2006-07-25 09:54:18 UTC (rev
1230)
+++ trunk/spring-richclient/tiger/pom.xml 2006-07-25 11:31:31 UTC (rev
1231)
@@ -41,45 +41,9 @@
</reporting>
<dependencies>
- <!-- Internal -->
+
<dependency>
<groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-resources</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-core</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-binding</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-form</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
- <artifactId>spring-richclient-form</artifactId>
- <type>test-jar</type>
- </dependency>
- <dependency>
- <groupId>org.springframework.richclient</groupId>
<artifactId>spring-richclient-support</artifactId>
</dependency>
<dependency>
@@ -89,77 +53,11 @@
<scope>test</scope>
</dependency>
- <!-- Logging -->
<dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging-api</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </dependency>
-
- <!-- Dependency injection -->
- <dependency>
<groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-beans</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
-
- <!-- Binding and validation -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-binding</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-modules-sandbox</artifactId>
- </dependency>
-
- <!-- Security -->
- <dependency>
- <groupId>org.acegisecurity</groupId>
- <artifactId>acegi-security</artifactId>
- </dependency>
-
- <!-- Components -->
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>forms</artifactId>
- </dependency>
- <dependency>
- <groupId>jgoodies</groupId>
- <artifactId>looks</artifactId>
- </dependency>
- <dependency>
- <groupId>net.java.dev.glazedlists</groupId>
- <artifactId>glazedlists</artifactId>
- </dependency>
-
- <!-- Utils -->
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.help</groupId>
- <artifactId>jhelp</artifactId>
- </dependency>
-
- <!-- Validation -->
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-annotations</artifactId>
- <optional>true</optional>
- </dependency>
-
+
</dependencies>
</project>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
spring-rich-c-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs