Changes:
[rgar...@apache.org] This is a potentially risky commit with respect to side effects. I'd appreciate a code review, all tests pass but that's not enough.
This commit removes the toJSON(boolean) method. Normally I would deprecate it, but toJSON(false) was never called, other than in a test. I strongly suspect this was a throwback to some previous issue that has now gone away.
I've removed it to simplify the JSON workflow, though we really ought to be using a standard JSON library not building the JSON by hand. See ISSUE 73
------------------------------------------
Started by an SCM change
Updating http://simal.googlecode.com/svn/trunk/uk.ac.osswatch.simal.rest
U src/main/java/uk/ac/osswatch/simal/rest/PersonAPI.java
At revision 2222
Parsing POMs
[uk.ac.osswatch.simal.rest] $ /usr/lib/jvm/java-6-sun/bin/java -cp /usr/local/hudson/plugins/maven-plugin/WEB-INF/lib/maven-agent-1.366.jar:/usr/local/apache-maven/apache-maven-2.0.8/boot/classworlds-1.1.jar hudson.maven.agent.Main /usr/local/apache-maven/apache-maven-2.0.8 /usr/local/hudson/war/WEB-INF/lib/remoting-1.366.jar /usr/local/hudson/plugins/maven-plugin/WEB-INF/lib/maven-interceptor-1.366.jar 40290
<===[HUDSON REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/pom.xml> clean findbugs:findbugs pmd:pmd install
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'findbugs'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Simal Rest API
[INFO] task-segment: [clean, findbugs:findbugs, pmd:pmd, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory <http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/target>
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/main/java'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/test/java'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/main/resources'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/main/java'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/test/java'> for tasks ...
[TASKS] Found 0.
[TASKS] File encoding has not been set in pom.xml, using platform encoding UTF-8, i.e. build is platform dependent (see <a href="http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding">Maven FAQ</a>).
[INFO] Preparing findbugs:findbugs
[HUDSON] Archiving <http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/pom.xml> to /usr/local/hudson/jobs/SimalRESTSVN/modules/uk.ac.osswatch$simal-rest/builds/2011-03-07_07-11-24/archive/uk.ac.osswatch/simal-rest/0.2.5-SNAPSHOT/pom.xml
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] [compiler:compile]
[INFO] Compiling 12 source files to <http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/target/classes>
[TASKS] Skipping maven reporter: there is already a result available.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/main/java/uk/ac/osswatch/simal/rest/PersonAPI.java>:[115,21] toJSON(boolean) in uk.ac.osswatch.simal.model.IResourceService cannot be applied to ()
<http://16degrees.com.au/hudson/job/SimalRESTSVN/ws/uk.ac.osswatch.simal.rest/src/main/java/uk/ac/osswatch/simal/rest/PersonAPI.java>:[178,36] toJSON(boolean) in uk.ac.osswatch.simal.model.IResourceService cannot be applied to ()
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Mar 07 07:11:35 EST 2011
[INFO] Final Memory: 27M/273M
[INFO] ------------------------------------------------------------------------
Sending e-mails to: simal-...@googlegroups.com
channel stopped
[WARNINGS] Skipping publisher since build result is FAILURE