Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Grouper 1.6.3 API tarball fails tests.

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Grouper 1.6.3 API tarball fails tests.


Chronological Thread 
  • From: Erik Froese <>
  • To: "Zach A. Thomas" <>
  • Cc:
  • Subject: Re: [grouper-users] Grouper 1.6.3 API tarball fails tests.
  • Date: Fri, 4 Mar 2011 13:11:06 -0500

Chris, Zach,

Thanks for the suggestions. I finally just disabled the tests and went
on my less-than-merry way. Here's the procedure.

In the grouper API source directory.

mvn -Dmaven.test.skip=true clean install
mvn jar:test-jar
mvn install:install-file -DgroupId=edu.internet2.middleware.grouper
-DartifactId=grouper -Dversion=1.6.3 -Dclassifier=tests
-Dpackaging=test-jar -Dfile=target/grouper-1.6.3-tests.jar

Then in the grouper client svn checkout
mvn clean install

All set. And now for something completely different...
Erik


On Fri, Mar 4, 2011 at 11:52 AM, Zach A. Thomas
<>
wrote:
> I do an awful lot of mavening. Try adding a MaxPermSize entry.
>
> This setup has worked for me:
> Zachs-Mac:~ zach$ echo $MAVEN_OPTS
> -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m
>
> Zach
> On Mar 4, 2011, at 10:47 AM, Erik Froese wrote:
>
>> Hey I'm trying to build the grouper api and install it properly so I
>> can build the grouper client project.
>>
>> I can mvn install the grouper api if I skip the tests but the test
>> always fails trying to see if it has enough memory.
>>
>> I've tried adjusting MAVEN_OPTS and the maven-compiler-plugin
>> configuration int he pom./xml but neither seem to make a difference.
>> Any suggestions on how to configure this to get it to build?
>>
>> Here's the test output:
>>
>> -------------------------------------------------------------------------------
>> Test set: edu.internet2.middleware.grouper.AllTests
>> -------------------------------------------------------------------------------
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.46
>> sec <<< FAILURE!
>> initializationError(edu.internet2.middleware.grouper.AllTests)  Time
>> elapsed: 0.005 sec  <<< ERROR!
>> java.lang.RuntimeException: Not enough memory, you should have at
>> least 500 megs, e.g. -XX:MaxPermSize=300m -Xms80m -Xmx640m, but this
>> much was detected: 129957888
>>        at
>> edu.internet2.middleware.grouper.helper.GrouperTest.assertEnoughMemory(GrouperTest.java:77)
>>        at
>> edu.internet2.middleware.grouper.AllTests.suite(AllTests.java:150)
>>
>> snipped ....
>>
>> (froese@iMac)
>> (~/work/grouper.api-1.6.3)
>> $ echo $MAVEN
>> apache-maven-2.2.1
>>
>> (froese@iMac)
>> (~/work/grouper.api-1.6.3)
>> $ echo $MAVEN_OPTS
>> -Xmx1024m
>>
>> Any suggestions on how to get this to build correctly?
>>
>> Thanks
>> Erik
>
>



Archive powered by MHonArc 2.6.16.

Top of Page