Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: maven dependency unavailable

  1. #21
    Join Date
    Jul 2007
    Location
    Mauritius
    Posts
    127

    Default Success!!

    Finally,

    the mvn install command succeeded.
    In the samples's pom I commented as shown below

    Code:
    <dependency>
    			<groupId>org.springmodules</groupId>
    			<artifactId>spring-modules-validation</artifactId>
    			<version>0.8</version>
    			<exclusions>
    				<!--exclusion>
    					<groupId>org.springframework</groupId>
    					<artifactId>spring</artifactId>
    				</exclusion-->
    				<exclusion>
    					<groupId>rhino</groupId>
    					<artifactId>js</artifactId>
    				</exclusion>
    				<exclusion>
    Hope my posts will help others make their build quicker, so we can all start adding our part to the spring-batch.

    Thanks
    Kris

  2. #22
    Join Date
    Sep 2007
    Posts
    1

    Default

    Hi all,

    this is no solution in the long run but may help those who want to get started with it
    If you want to build the acegi projects after checking out the code from svn with
    svn co http://acegisecurity.svn.sourceforge...ecurity/trunk/
    set the maven.test.skip flag:

    mvn -Dmaven.test.skip=true install

    Regards

    Thomas

  3. #23
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    Thomas,

    I think you might have the wrong forum, this is the spring-batch forum, not spring-security. However, it should be noted that the default profile in spring-batch is same as running with -Dmaven.test.failure.ignore=true, which means that test failures won't prevent you from successfully building the project. There are other profiles that can be used (scrict is one I believe) that will fail if any unit tests fail.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •