Incidentally, there's a whole lot going on in that POM.xml file that I don't 
recognize or understand.  I think I'm just going to replace it with your 
simple-cas4-overlay-template POM.xml and build up from there.

Geoff

From: Whittaker, Geoffrey [mailto:[email protected]]
Sent: Tuesday, October 28, 2014 2:01 PM
To: [email protected]
Subject: RE: [cas-user] Build Error: checkstyle-rules.xml not found

Hmm, I'm confused (obviously) and I'm afraid your reply is a bit over my head.

When I was building our 3.5.x servers, I would simply run >mvn clean package 
from the root of the cas folder and out would pop a WAR file.  There were no 
tests defined in the POM.xml by default or I removed them.  I can't remember.

I was trying to package a cas 4.0.0 server and my build is failing for the 
reason below.

Geoff


From: Misagh Moayyed [mailto:[email protected]]
Sent: Tuesday, October 28, 2014 1:42 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [cas-user] Build Error: checkstyle-rules.xml not found

If you are just interested in what exists in master right now, would SNAPSHOT 
releases work for you in your overlay?
https://oss.sonatype.org/content/repositories/snapshots/org/jasig/cas/
FWIW, I had a look at our travis build and tried this locally as well. Seems to 
pass just fine.

From: Whittaker, Geoffrey [mailto:[email protected]]
Sent: Tuesday, October 28, 2014 10:01 AM
To: [email protected]<mailto:[email protected]>
Subject: [cas-user] Build Error: checkstyle-rules.xml not found

I'm trying to generate a test build of a new cas4 WAR and when I run mvn clean 
package, I get this error.

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-checkstyle-plugin:2.10:checkstyle (checkstyle) 
on project cas-server-core: An error has occurred in Checkstyle report 
generation. Failed during checkstyle execution: Unable to find configuration 
file at location ${project.parent.basedir}/checkstyle-rules.xml
: Could not find resource '${project.parent.basedir}/checkstyle-rules.xml'. -> 
[Help 1]

I'm running the build operation from the root directory, and the file is there. 
 I'm not sure what's causing this.

Any ideas?

Geoff



--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user



--

You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>

To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to