Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Re: grouper2.2.1 build

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Re: grouper2.2.1 build


Chronological Thread 
  • From: "Misagh Moayyed" <>
  • To: <>
  • Subject: RE: [grouper-users] Re: grouper2.2.1 build
  • Date: Tue, 14 Oct 2014 09:44:54 -0700 (MST)

This probably has to do with LDAP/DB initialization. Last I tried this, running tests required an active db/ldap instance running. If you poke around in the test configuration files, you’d see placeholders for urls and other connection settings.

 

Perhaps, for the time being, it might be easier to simply skip tests?

 

From: [mailto:] On Behalf Of Rahul Doshi
Sent: Tuesday, October 14, 2014 9:29 AM
To:
Subject: [grouper-users] Re: grouper2.2.1 build

 

Thanks! Still getting build error due to one of the tests failing.

 

Rahul

 

-------------------------------------------------------

 T E S T S

-------------------------------------------------------

Running edu.internet2.middleware.subject.provider.AllSubjectTests

DEBUG SourceManager:357 - Instantiating new Digester.

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.189 sec <<< FAILURE!

 

Results :

 

Tests in error: 

  initializationError(edu.internet2.middleware.subject.provider.AllSubjectTests)

 

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

 

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] Grouper ............................................ SUCCESS [  6.139 s]

[INFO] MorphString ........................................ SUCCESS [  4.873 s]

[INFO] Grouper Client ..................................... SUCCESS [ 16.903 s]

[INFO] Subject API ........................................ FAILURE [  7.268 s]

[INFO] Grouper API ........................................ SKIPPED

[INFO] Grouper Plugin for Shibboleth ...................... SKIPPED

[INFO] Grouper SCIM ....................................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 35.415 s

[INFO] Finished at: 2014-10-14T12:26:05-04:00

[INFO] Final Memory: 24M/123M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) on project subject: There are test failures.

[ERROR] 

[ERROR] Please refer to /Users/rrdoshi/java/projects/grouper.2.2.1/grouper/subject/target/surefire-reports for the individual test results.

[ERROR] -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :subject

 

 

From: Chris Hyzer <>
Date: Tuesday, October 14, 2014 at 11:10 AM
To: Rahul Doshi <>, "" <>
Subject: RE: grouper2.2.1 build

 

I added a license header to that file, want to pull and try again?

 

 

From: [] On Behalf Of Rahul Doshi
Sent: Tuesday, October 14, 2014 10:34 AM
To:
Subject: [grouper-users] grouper2.2.1 build

 

Hello,

 

I am trying to build grouper2.2.1 from source and getting error below.  Looks like there is a problem with the build.

 

Thanks,

Rahul

 

[INFO] 

[INFO] --- license-maven-plugin:2.6:check (default) @ grouperClient ---

[INFO] Checking licenses...

[WARNING] Missing header in: /Users/rrdoshi/java/projects/grouper.2.2.1/grouper/grouper-misc/grouperClient/src/testSource/edu/internet2/middleware/grouperClient/util/ExpirableCacheTest.java

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] Grouper ............................................ SUCCESS [  7.699 s]

[INFO] MorphString ........................................ SUCCESS [  4.313 s]

[INFO] Grouper Client ..................................... FAILURE [ 23.112 s]

[INFO] Subject API ........................................ SKIPPED

[INFO] Grouper API ........................................ SKIPPED

[INFO] Grouper Plugin for Shibboleth ...................... SKIPPED

[INFO] Grouper SCIM ....................................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 35.453 s

[INFO] Finished at: 2014-10-14T10:28:11-04:00

[INFO] Final Memory: 21M/123M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.6:check (default) on project grouperClient: Some files do not have the expected license header -> [Help 1]

[ERROR] 

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR] 

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

[ERROR] 

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :grouperClient

 




Archive powered by MHonArc 2.6.16.

Top of Page