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
------------------------------------------
<===[HUDSON REMOTING CAPACITY]===> channel started
Executing Maven: -B -f <http://16degrees.com.au/hudson/job/SimalRESTSVN/uk.ac.osswatch$simal-rest/ws/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/uk.ac.osswatch$simal-rest/ws/target>
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/uk.ac.osswatch$simal-rest/ws/src/main/java'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/uk.ac.osswatch$simal-rest/ws/src/test/java'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/uk.ac.osswatch$simal-rest/ws/src/main/resources'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/uk.ac.osswatch$simal-rest/ws/src/main/java'> for tasks ...
[TASKS] Found 0.
[TASKS] Scanning folder '<http://16degrees.com.au/hudson/job/SimalRESTSVN/uk.ac.osswatch$simal-rest/ws/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/uk.ac.osswatch$simal-rest/ws/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/uk.ac.osswatch$simal-rest/ws/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/uk.ac.osswatch$simal-rest/ws/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/uk.ac.osswatch$simal-rest/ws/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] ------------------------------------------------------------------------