diff --git a/.classpath b/.classpath index 534b5e5..9547f0f 100644 --- a/.classpath +++ b/.classpath @@ -1,36 +1,52 @@ - + - - - - - - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project index 5779dc6..0720643 100644 --- a/.project +++ b/.project @@ -20,17 +20,11 @@ - - org.eclipse.m2e.core.maven2Builder - - - org.springframework.ide.eclipse.core.springnature org.sonar.ide.eclipse.core.sonarNature org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature org.eclipse.wst.common.project.facet.core.nature diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs index ab15b79..2d45d6e 100644 --- a/.settings/org.eclipse.core.resources.prefs +++ b/.settings/org.eclipse.core.resources.prefs @@ -1,7 +1,4 @@ eclipse.preferences.version=1 -encoding//src/main/java=UTF8 -encoding//src/main/resources=UTF8 -encoding//src/test/java=UTF8 -encoding//src/test/resources=UTF8 encoding//target/generated-sources/jaxb=UTF8 encoding/=UTF8 +encoding/test=UTF8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index b70abf3..ce4a1eb 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -9,10 +9,106 @@ org.eclipse.jdt.core.codeComplete.staticFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 -org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.autoboxing=ignore +org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning +org.eclipse.jdt.core.compiler.problem.deadCode=warning +org.eclipse.jdt.core.compiler.problem.deprecation=warning +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.compiler.problem.discouragedReference=warning +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore +org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore +org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.6 +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=warning +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore +org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled +org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore +org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled +org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning +org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error +org.eclipse.jdt.core.compiler.problem.nullReference=warning +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore +org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning +org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=ignore +org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning +org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled +org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled +org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unusedLabel=warning +org.eclipse.jdt.core.compiler.problem.unusedLocal=warning +org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore +org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning +org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning +org.eclipse.jdt.core.compiler.source=1.7 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 diff --git a/lib/Logs/log4j-1.2.17-source.zip b/lib/Logs/log4j-1.2.17-source.zip new file mode 100644 index 0000000..2a9a7f4 Binary files /dev/null and b/lib/Logs/log4j-1.2.17-source.zip differ diff --git a/lib/Logs/log4j-1.2.17.jar b/lib/Logs/log4j-1.2.17.jar new file mode 100644 index 0000000..068867e Binary files /dev/null and b/lib/Logs/log4j-1.2.17.jar differ diff --git a/lib/Logs/slf4j-api-1.7.5-sources.jar b/lib/Logs/slf4j-api-1.7.5-sources.jar new file mode 100644 index 0000000..51abe2b Binary files /dev/null and b/lib/Logs/slf4j-api-1.7.5-sources.jar differ diff --git a/lib/Logs/slf4j-api-1.7.5.jar b/lib/Logs/slf4j-api-1.7.5.jar new file mode 100644 index 0000000..8766455 Binary files /dev/null and b/lib/Logs/slf4j-api-1.7.5.jar differ diff --git a/lib/Logs/slf4j-log4j12-1.7.5-sources.jar b/lib/Logs/slf4j-log4j12-1.7.5-sources.jar new file mode 100644 index 0000000..ea1b93b Binary files /dev/null and b/lib/Logs/slf4j-log4j12-1.7.5-sources.jar differ diff --git a/lib/Logs/slf4j-log4j12-1.7.5.jar b/lib/Logs/slf4j-log4j12-1.7.5.jar new file mode 100644 index 0000000..afce5c2 Binary files /dev/null and b/lib/Logs/slf4j-log4j12-1.7.5.jar differ diff --git a/lib/README b/lib/README new file mode 100644 index 0000000..561eab9 --- /dev/null +++ b/lib/README @@ -0,0 +1,7 @@ + + + +Spring: +- aopalliance-1.0.jar +- spring* + diff --git a/lib/Spring/aopalliance-1.0.jar b/lib/Spring/aopalliance-1.0.jar new file mode 100644 index 0000000..578b1a0 Binary files /dev/null and b/lib/Spring/aopalliance-1.0.jar differ diff --git a/lib/Spring/spring-aop-4.1.7.jar b/lib/Spring/spring-aop-4.1.7.jar new file mode 100644 index 0000000..7dce4d6 Binary files /dev/null and b/lib/Spring/spring-aop-4.1.7.jar differ diff --git a/lib/Spring/spring-beans-4.1.7.jar b/lib/Spring/spring-beans-4.1.7.jar new file mode 100644 index 0000000..6bf32ee Binary files /dev/null and b/lib/Spring/spring-beans-4.1.7.jar differ diff --git a/lib/Spring/spring-context-4.1.7.jar b/lib/Spring/spring-context-4.1.7.jar new file mode 100644 index 0000000..2d78145 Binary files /dev/null and b/lib/Spring/spring-context-4.1.7.jar differ diff --git a/lib/Spring/spring-context-support-4.1.7.jar b/lib/Spring/spring-context-support-4.1.7.jar new file mode 100644 index 0000000..3b3f544 Binary files /dev/null and b/lib/Spring/spring-context-support-4.1.7.jar differ diff --git a/lib/Spring/spring-core-4.1.7.jar b/lib/Spring/spring-core-4.1.7.jar new file mode 100644 index 0000000..6441ef2 Binary files /dev/null and b/lib/Spring/spring-core-4.1.7.jar differ diff --git a/lib/Spring/spring-expression-4.1.7.jar b/lib/Spring/spring-expression-4.1.7.jar new file mode 100644 index 0000000..e929e9e Binary files /dev/null and b/lib/Spring/spring-expression-4.1.7.jar differ diff --git a/lib/Spring/spring-security-crypto-3.2.3.jar b/lib/Spring/spring-security-crypto-3.2.3.jar new file mode 100644 index 0000000..df3d27a Binary files /dev/null and b/lib/Spring/spring-security-crypto-3.2.3.jar differ diff --git a/lib/Spring/spring-social-config-1.1.0.jar b/lib/Spring/spring-social-config-1.1.0.jar new file mode 100644 index 0000000..831c6df Binary files /dev/null and b/lib/Spring/spring-social-config-1.1.0.jar differ diff --git a/lib/Spring/spring-social-core-1.1.0.jar b/lib/Spring/spring-social-core-1.1.0.jar new file mode 100644 index 0000000..e1698e5 Binary files /dev/null and b/lib/Spring/spring-social-core-1.1.0.jar differ diff --git a/lib/Spring/spring-social-twitter-1.1.0.jar b/lib/Spring/spring-social-twitter-1.1.0.jar new file mode 100644 index 0000000..d9f4765 Binary files /dev/null and b/lib/Spring/spring-social-twitter-1.1.0.jar differ diff --git a/lib/Spring/spring-social-web-1.1.0.jar b/lib/Spring/spring-social-web-1.1.0.jar new file mode 100644 index 0000000..4e22a9c Binary files /dev/null and b/lib/Spring/spring-social-web-1.1.0.jar differ diff --git a/lib/Spring/spring-test-4.1.7.jar b/lib/Spring/spring-test-4.1.7.jar new file mode 100644 index 0000000..6c35ed2 Binary files /dev/null and b/lib/Spring/spring-test-4.1.7.jar differ diff --git a/lib/Spring/spring-tx-4.1.7.jar b/lib/Spring/spring-tx-4.1.7.jar new file mode 100644 index 0000000..9d2d234 Binary files /dev/null and b/lib/Spring/spring-tx-4.1.7.jar differ diff --git a/lib/Spring/spring-web-4.0.3.jar b/lib/Spring/spring-web-4.0.3.jar new file mode 100644 index 0000000..ceef695 Binary files /dev/null and b/lib/Spring/spring-web-4.0.3.jar differ diff --git a/lib/Spring/spring-webmvc-4.0.3.jar b/lib/Spring/spring-webmvc-4.0.3.jar new file mode 100644 index 0000000..4f895da Binary files /dev/null and b/lib/Spring/spring-webmvc-4.0.3.jar differ diff --git a/lib/UnitTesting/hamcrest-core-1.3-sources.jar b/lib/UnitTesting/hamcrest-core-1.3-sources.jar new file mode 100644 index 0000000..c3c110b Binary files /dev/null and b/lib/UnitTesting/hamcrest-core-1.3-sources.jar differ diff --git a/lib/UnitTesting/hamcrest-core-1.3.jar b/lib/UnitTesting/hamcrest-core-1.3.jar new file mode 100644 index 0000000..9d5fe16 Binary files /dev/null and b/lib/UnitTesting/hamcrest-core-1.3.jar differ diff --git a/lib/UnitTesting/junit-4.11-sources.jar b/lib/UnitTesting/junit-4.11-sources.jar new file mode 100644 index 0000000..bab4cdd Binary files /dev/null and b/lib/UnitTesting/junit-4.11-sources.jar differ diff --git a/lib/UnitTesting/junit-4.11.jar b/lib/UnitTesting/junit-4.11.jar new file mode 100644 index 0000000..aaf7444 Binary files /dev/null and b/lib/UnitTesting/junit-4.11.jar differ diff --git a/lib/commons-cli-1.4-sources.zip b/lib/commons-cli-1.4-sources.zip new file mode 100644 index 0000000..b747279 Binary files /dev/null and b/lib/commons-cli-1.4-sources.zip differ diff --git a/lib/commons-cli-1.4.jar b/lib/commons-cli-1.4.jar new file mode 100644 index 0000000..22deb30 Binary files /dev/null and b/lib/commons-cli-1.4.jar differ diff --git a/lib/commons-codec-1.4.jar b/lib/commons-codec-1.4.jar new file mode 100644 index 0000000..458d432 Binary files /dev/null and b/lib/commons-codec-1.4.jar differ diff --git a/lib/commons-codec-1.4.pom b/lib/commons-codec-1.4.pom new file mode 100644 index 0000000..17f33c3 --- /dev/null +++ b/lib/commons-codec-1.4.pom @@ -0,0 +1,286 @@ + + + + + org.apache.commons + commons-parent + 11 + + 4.0.0 + commons-codec + commons-codec + 1.4 + Commons Codec + + 2002 + + The codec package contains simple encoder and decoders for + various formats such as Base64 and Hexadecimal. In addition to these + widely used encoders and decoders, the codec package also maintains a + collection of phonetic encoding utilities. + + + http://commons.apache.org/codec/ + + + jira + http://issues.apache.org/jira/browse/CODEC + + + + scm:svn:http://svn.apache.org/repos/asf/commons/proper/codec/trunk + scm:svn:https://svn.apache.org/repos/asf/commons/proper/codec/trunk + http://svn.apache.org/viewvc/commons/proper/codec/trunk + + + + + Henri Yandell + bayard + bayard@generationjava.com + + + Tim OBrien + tobrien + tobrien@apache.org + -6 + + + Scott Sanders + sanders + sanders@totalsync.com + + + Rodney Waldhoff + rwaldhoff + rwaldhoff@apache.org + + + Daniel Rall + dlr + dlr@finemaltcoding.com + + + Jon S. Stevens + jon + jon@collab.net + + + Gary D. Gregory + ggregory + ggregory@apache.org + http://www.garygregory.com + Seagull Software + http://www.seagullsoftware.com + -8 + + + David Graham + dgraham + dgraham@apache.org + + + + + Christopher O'Brien + siege@preoccupied.net + + hex + md5 + architecture + + + + Martin Redington + Representing xml-rpc + + + Jeffery Dever + Representing http-client + + + Steve Zimmermann + steve.zimmermann@heii.com + Documentation + + + Benjamin Walstrum + ben@walstrum.com + + + Oleg Kalnichevski + oleg@ural.ru + Representing http-client + + + Dave Dribin + apache@dave.dribin.org + DigestUtil + + + Alex Karasulu + aok123 at bellsouth.net + Submitted Binary class and test + + + Matthew Inger + mattinger at yahoo.com + Submitted DIFFERENCE algorithm for Soundex and RefinedSoundex + + + Jochen Wiedmann + jochen@apache.org + Base64 code [CODEC-69] + + + Julius Davies + juliusdavies@gmail.com + + Base64InputStream + Base64OutputStream + + + + Sebastian Bazley + sebb@apache.org + Streaming Base64 + + + + + + + junit + junit + 3.8.2 + test + + + + + 1.4 + 1.4 + codec + 1.4 + CODEC + 12310464 + + UTF-8 + UTF-8 + + + + src/java + src/test + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/*Test.java + **/Test*.java + + + **/*AbstractTest.java + + + + + maven-assembly-plugin + + + src/assembly/bin.xml + src/assembly/src.xml + + gnu + + + + + + + + + org.apache.maven.plugins + maven-changes-plugin + 2.1 + + ${basedir}/xdocs/changes.xml + %URL%/%ISSUE% + + + + + changes-report + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.3 + + ${basedir}/checkstyle.xml + false + ${basedir}/LICENSE-header.txt + + + + org.codehaus.mojo + cobertura-maven-plugin + 2.3 + + + org.apache.maven.plugins + maven-pmd-plugin + 2.4 + + + org.codehaus.mojo + findbugs-maven-plugin + 2.0.1 + + + org.codehaus.mojo + clirr-maven-plugin + 2.2.2 + + 1.3 + info + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.5 + + true + + http://java.sun.com/j2se/1.4.2/docs/api/ + + + + + + + diff --git a/lib/commons-collections-3.2.1.jar b/lib/commons-collections-3.2.1.jar new file mode 100644 index 0000000..c35fa1f Binary files /dev/null and b/lib/commons-collections-3.2.1.jar differ diff --git a/lib/commons-io-2.5-javadoc.jar b/lib/commons-io-2.5-javadoc.jar new file mode 100644 index 0000000..b957529 Binary files /dev/null and b/lib/commons-io-2.5-javadoc.jar differ diff --git a/lib/commons-io-2.5-src.jar b/lib/commons-io-2.5-src.jar new file mode 100644 index 0000000..1ef5feb Binary files /dev/null and b/lib/commons-io-2.5-src.jar differ diff --git a/lib/commons-io-2.5.jar b/lib/commons-io-2.5.jar new file mode 100644 index 0000000..1234918 Binary files /dev/null and b/lib/commons-io-2.5.jar differ diff --git a/lib/commons-lang3-3.4-javadoc.jar b/lib/commons-lang3-3.4-javadoc.jar new file mode 100644 index 0000000..f5c7c59 Binary files /dev/null and b/lib/commons-lang3-3.4-javadoc.jar differ diff --git a/lib/commons-lang3-3.4-src.jar b/lib/commons-lang3-3.4-src.jar new file mode 100644 index 0000000..6835050 Binary files /dev/null and b/lib/commons-lang3-3.4-src.jar differ diff --git a/lib/commons-lang3-3.4.jar b/lib/commons-lang3-3.4.jar new file mode 100644 index 0000000..8ec91d4 Binary files /dev/null and b/lib/commons-lang3-3.4.jar differ diff --git a/lib/commons-logging-1.1.1.jar b/lib/commons-logging-1.1.1.jar new file mode 100644 index 0000000..1deef14 Binary files /dev/null and b/lib/commons-logging-1.1.1.jar differ diff --git a/lib/commons-logging-1.1.1.pom b/lib/commons-logging-1.1.1.pom new file mode 100644 index 0000000..e4b4503 --- /dev/null +++ b/lib/commons-logging-1.1.1.pom @@ -0,0 +1,504 @@ + + + + + + org.apache.commons + commons-parent + 5 + + 4.0.0 + commons-logging + commons-logging + Commons Logging + 1.1.1 + Commons Logging is a thin adapter allowing configurable bridging to other, + well known logging systems. + http://commons.apache.org/logging + + + JIRA + http://issues.apache.org/jira/browse/LOGGING + + + 2001 + + + + morgand + Morgan Delagrange + morgand at apache dot org + Apache + + Java Developer + + + + rwaldhoff + Rodney Waldhoff + rwaldhoff at apache org + Apache Software Foundation + + + craigmcc + Craig McClanahan + craigmcc at apache org + Apache Software Foundation + + + sanders + Scott Sanders + sanders at apache dot org + Apache Software Foundation + + + rdonkin + Robert Burrell Donkin + rdonkin at apache dot org + Apache Software Foundation + + + donaldp + Peter Donald + donaldp at apache dot org + + + costin + Costin Manolache + costin at apache dot org + Apache Software Foundation + + + rsitze + Richard Sitze + rsitze at apache dot org + Apache Software Foundation + + + baliuka + Juozas Baliuka + baliuka@apache.org + + Java Developer + + + + skitching + Simon Kitching + skitching@apache.org + Apache Software Foundation + + + dennisl + Dennis Lundberg + dennisl@apache.org + Apache Software Foundation + + + bstansberry + Brian Stansberry + + + + + scm:svn:http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1 + scm:svn:https://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1 + http://svn.apache.org/repos/asf/commons/proper/logging/tags/commons-logging-1.1.1 + + + + src/java + src/test + + + + src/test + false + + **/*.properties + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + src/conf/MANIFEST.MF + + + + + testjar + package + + test-jar + + + commons-logging + + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.1 + + + apijar + package + + + + + + + + + + + + + + + + + + + + run + + + + adaptersjar + package + + + + + + + + + + + + + + + + + + run + + + + site.resources + site + + + + + + + + + + + + + + + run + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 1.0 + + + attach-artifacts + package + + attach-artifact + + + + + ${project.build.directory}/${project.artifactId}-adapters-${project.version}.jar + jar + adapters + + + ${project.build.directory}/${project.artifactId}-api-${project.version}.jar + jar + api + + + + + + + + + org.apache.maven.plugins + maven-release-plugin + 2.0-beta-6 + + + site deploy + + -Prelease + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/AvalonLoggerTestCase.java + + + + + + integration-test + integration-test + + test + + + + **/*TestCase.java + + + + + commons-logging + target/${project.build.finalName}.jar + + + commons-logging-api + target/${project.artifactId}-api-${project.version}.jar + + + commons-logging-adapters + target/${project.artifactId}-adapters-${project.version}.jar + + + testclasses + target/commons-logging-tests.jar + + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2-beta-1 + + false + + false + + src/assembly/assembly.xml + + gnu + + + + + org.apache.maven.plugins + maven-site-plugin + 2.0-beta-5 + + + + + + + + + ci + + + apache.snapshots + Apache Development Snapshot Repository + ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository + + + apache.snapshots + Apache Development Snapshot Repository + ${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository + + + + + release + + + + + org.apache.maven.plugins + maven-assembly-plugin + + + + single + + package + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.3 + + + ${deploy.altRepository} + true + + + + + + + + + + junit + junit + 3.8.1 + test + + + log4j + log4j + 1.2.12 + true + + + logkit + logkit + 1.0.1 + true + + + avalon-framework + avalon-framework + 4.1.3 + true + + + javax.servlet + servlet-api + 2.3 + provided + true + + + + + + + + org.codehaus.mojo + clirr-maven-plugin + 2.1.1 + + + org.codehaus.mojo + jdepend-maven-plugin + 2.0-beta-1 + + + + + + + apache.website + ${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/logging/ + + + + + 1.2 + 1.1 + + diff --git a/lib/devinsy-strings-0.4.1-sources.zip b/lib/devinsy-strings-0.4.1-sources.zip new file mode 100644 index 0000000..8480d88 Binary files /dev/null and b/lib/devinsy-strings-0.4.1-sources.zip differ diff --git a/lib/devinsy-strings-0.4.1.jar b/lib/devinsy-strings-0.4.1.jar new file mode 100644 index 0000000..e6febe7 Binary files /dev/null and b/lib/devinsy-strings-0.4.1.jar differ diff --git a/lib/httpclient-4.5.jar b/lib/httpclient-4.5.jar new file mode 100644 index 0000000..970c989 Binary files /dev/null and b/lib/httpclient-4.5.jar differ diff --git a/lib/httpcore-4.4.1.jar b/lib/httpcore-4.4.1.jar new file mode 100644 index 0000000..99715b6 Binary files /dev/null and b/lib/httpcore-4.4.1.jar differ diff --git a/lib/jaxb-api-2.2.12.jar b/lib/jaxb-api-2.2.12.jar new file mode 100644 index 0000000..3f4638c Binary files /dev/null and b/lib/jaxb-api-2.2.12.jar differ diff --git a/lib/joda-time-2.8.1-source.zip b/lib/joda-time-2.8.1-source.zip new file mode 100644 index 0000000..899ebb0 Binary files /dev/null and b/lib/joda-time-2.8.1-source.zip differ diff --git a/lib/joda-time-2.8.1.jar b/lib/joda-time-2.8.1.jar new file mode 100644 index 0000000..94be659 Binary files /dev/null and b/lib/joda-time-2.8.1.jar differ diff --git a/lib/pircbot-1.5.0-sources.zip b/lib/pircbot-1.5.0-sources.zip new file mode 100644 index 0000000..e4a4eed Binary files /dev/null and b/lib/pircbot-1.5.0-sources.zip differ diff --git a/lib/pircbot-1.5.0.jar b/lib/pircbot-1.5.0.jar new file mode 100644 index 0000000..b5eed50 Binary files /dev/null and b/lib/pircbot-1.5.0.jar differ diff --git a/lib/pircbot-1.5.0.pom b/lib/pircbot-1.5.0.pom new file mode 100644 index 0000000..a94a106 --- /dev/null +++ b/lib/pircbot-1.5.0.pom @@ -0,0 +1,43 @@ + + + + 4.0.0 + pircbot + pircbot + 1.5.0 + jar + PircBot + A Java framework for writing IRC bots quickly and easily + http://www.jibble.org/pircbot.php + + + The GNU General Public License, Version 2 (GPLv2) + http://www.jibble.org/licenses/gnu-license.php + repo + + + The www.jibble.org Commercial License + http://www.jibble.org/licenses/commercial-license.php + repo + + + + . + + + + Paul James Mutton + paul@jibble.org + Jibble + http://www.jibble.org + +0 + + http://www.jibble.org/images/paul-in-london.jpg + + + + + diff --git a/lib/quartz-2.2.1.jar b/lib/quartz-2.2.1.jar new file mode 100644 index 0000000..7cf3ca4 Binary files /dev/null and b/lib/quartz-2.2.1.jar differ diff --git a/lib/scribe-1.3.7.jar b/lib/scribe-1.3.7.jar new file mode 100644 index 0000000..138fc46 Binary files /dev/null and b/lib/scribe-1.3.7.jar differ diff --git a/src/main/resources/log4j.properties b/resources/log4j.properties similarity index 100% rename from src/main/resources/log4j.properties rename to resources/log4j.properties diff --git a/src/main/java/org/april/hebdobot/Application.java b/src/org/april/hebdobot/Application.java similarity index 100% rename from src/main/java/org/april/hebdobot/Application.java rename to src/org/april/hebdobot/Application.java diff --git a/src/main/java/org/april/hebdobot/Context.java b/src/org/april/hebdobot/Context.java similarity index 100% rename from src/main/java/org/april/hebdobot/Context.java rename to src/org/april/hebdobot/Context.java diff --git a/src/org/april/hebdobot/HebdobotException.java b/src/org/april/hebdobot/HebdobotException.java new file mode 100644 index 0000000..23dc40b --- /dev/null +++ b/src/org/april/hebdobot/HebdobotException.java @@ -0,0 +1,70 @@ +/** + * Copyright (C) 2017 Christian Pierre MOMON + * + * This file is part of (April) Hebdobot. + * + * Hebdobot is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Hebdobot is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Hebdobot. If not, see + */ +package org.april.hebdobot; + +/** + * The Class HebdobotException. + */ +public class HebdobotException extends Exception +{ + private static final long serialVersionUID = -4620284826152185283L; + + /** + * Instantiates a new hebdobot exception. + */ + public HebdobotException() + { + super(); + } + + /** + * Instantiates a new hebdobot exception. + * + * @param message + * the message + */ + public HebdobotException(final String message) + { + super(message); + } + + /** + * Instantiates a new hebdobot exception. + * + * @param message + * the message + * @param cause + * the cause + */ + public HebdobotException(final String message, final Throwable cause) + { + super(message, cause); + } + + /** + * Instantiates a new hebdobot exception. + * + * @param cause + * the cause + */ + public HebdobotException(final Throwable cause) + { + super(cause); + } +} \ No newline at end of file diff --git a/src/main/java/org/april/hebdobot/Job.java b/src/org/april/hebdobot/Job.java similarity index 100% rename from src/main/java/org/april/hebdobot/Job.java rename to src/org/april/hebdobot/Job.java diff --git a/src/main/java/org/april/hebdobot/OAuthRegistration.java b/src/org/april/hebdobot/OAuthRegistration.java similarity index 100% rename from src/main/java/org/april/hebdobot/OAuthRegistration.java rename to src/org/april/hebdobot/OAuthRegistration.java diff --git a/src/main/java/org/april/hebdobot/irc/Hebdobot.java b/src/org/april/hebdobot/irc/Hebdobot.java similarity index 88% rename from src/main/java/org/april/hebdobot/irc/Hebdobot.java rename to src/org/april/hebdobot/irc/Hebdobot.java index 231eb79..2b9058e 100644 --- a/src/main/java/org/april/hebdobot/irc/Hebdobot.java +++ b/src/org/april/hebdobot/irc/Hebdobot.java @@ -19,18 +19,23 @@ */ package org.april.hebdobot.irc; +import java.io.File; import java.util.Collection; import java.util.LinkedList; import org.apache.commons.collections.CollectionUtils; +import org.apache.commons.io.FileUtils; import org.apache.commons.lang.StringUtils; import org.april.hebdobot.Context; +import org.april.hebdobot.pastebin.Private; import org.april.hebdobot.review.CollectiveTopic; import org.april.hebdobot.review.IndividualTopic; import org.april.hebdobot.review.Message; import org.april.hebdobot.review.Review; import org.april.hebdobot.review.Topic; import org.jibble.pircbot.PircBot; +import org.joda.time.DateTime; +import org.joda.time.format.ISODateTimeFormat; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -161,9 +166,32 @@ public class Hebdobot extends PircBot } else { - for (final ReviewListener listener : this.listeners) { - listener.onEnd(this.review); + final String date = ISODateTimeFormat.basicDate().print(new DateTime()); + final String text = this.review.toString(); + try + { + this.bot.sendMessage( + "% Compte-rendu de la revue : " + this.pastebinClient.paste(text, "Revue APRIL " + date, Private.UNLISTED)); + } + catch (final Exception exception) + { + logger.error("Error during Pastebin submit", exception); + } + + if (this.properties.containsKey(FILE_SUFFIX)) + { + try + { + File file = new File(date + "_" + this.properties.getProperty(FILE_SUFFIX)); + FileUtils.writeStringToFile(file, text); + this.bot.sendMessage("% Compte-rendu de la revue : " + file.getName()); + } + catch (final Exception exception) + { + logger.error("Error during file generation", exception); + } + } } sendMessage("% " + this.review.getOwner() diff --git a/src/main/java/org/april/hebdobot/irc/ReviewListener.java b/src/org/april/hebdobot/irc/ReviewListener.java similarity index 100% rename from src/main/java/org/april/hebdobot/irc/ReviewListener.java rename to src/org/april/hebdobot/irc/ReviewListener.java diff --git a/src/main/java/org/april/hebdobot/pastebin/APIException.java b/src/org/april/hebdobot/pastebin/APIException.java similarity index 100% rename from src/main/java/org/april/hebdobot/pastebin/APIException.java rename to src/org/april/hebdobot/pastebin/APIException.java diff --git a/src/main/java/org/april/hebdobot/pastebin/Expiration.java b/src/org/april/hebdobot/pastebin/Expiration.java similarity index 100% rename from src/main/java/org/april/hebdobot/pastebin/Expiration.java rename to src/org/april/hebdobot/pastebin/Expiration.java diff --git a/src/main/java/org/april/hebdobot/pastebin/Format.java b/src/org/april/hebdobot/pastebin/Format.java similarity index 100% rename from src/main/java/org/april/hebdobot/pastebin/Format.java rename to src/org/april/hebdobot/pastebin/Format.java diff --git a/src/main/java/org/april/hebdobot/pastebin/Option.java b/src/org/april/hebdobot/pastebin/Option.java similarity index 100% rename from src/main/java/org/april/hebdobot/pastebin/Option.java rename to src/org/april/hebdobot/pastebin/Option.java diff --git a/src/main/java/org/april/hebdobot/pastebin/PastebinClient.java b/src/org/april/hebdobot/pastebin/PastebinClient.java similarity index 100% rename from src/main/java/org/april/hebdobot/pastebin/PastebinClient.java rename to src/org/april/hebdobot/pastebin/PastebinClient.java diff --git a/src/main/java/org/april/hebdobot/pastebin/Private.java b/src/org/april/hebdobot/pastebin/Private.java similarity index 100% rename from src/main/java/org/april/hebdobot/pastebin/Private.java rename to src/org/april/hebdobot/pastebin/Private.java diff --git a/src/main/java/org/april/hebdobot/review/CollectiveTopic.java b/src/org/april/hebdobot/review/CollectiveTopic.java similarity index 100% rename from src/main/java/org/april/hebdobot/review/CollectiveTopic.java rename to src/org/april/hebdobot/review/CollectiveTopic.java diff --git a/src/main/java/org/april/hebdobot/review/IndividualTopic.java b/src/org/april/hebdobot/review/IndividualTopic.java similarity index 100% rename from src/main/java/org/april/hebdobot/review/IndividualTopic.java rename to src/org/april/hebdobot/review/IndividualTopic.java diff --git a/src/main/java/org/april/hebdobot/review/Message.java b/src/org/april/hebdobot/review/Message.java similarity index 100% rename from src/main/java/org/april/hebdobot/review/Message.java rename to src/org/april/hebdobot/review/Message.java diff --git a/src/main/java/org/april/hebdobot/review/Messages.java b/src/org/april/hebdobot/review/Messages.java similarity index 100% rename from src/main/java/org/april/hebdobot/review/Messages.java rename to src/org/april/hebdobot/review/Messages.java diff --git a/src/main/java/org/april/hebdobot/review/Review.java b/src/org/april/hebdobot/review/Review.java similarity index 100% rename from src/main/java/org/april/hebdobot/review/Review.java rename to src/org/april/hebdobot/review/Review.java diff --git a/src/main/java/org/april/hebdobot/review/Topic.java b/src/org/april/hebdobot/review/Topic.java similarity index 100% rename from src/main/java/org/april/hebdobot/review/Topic.java rename to src/org/april/hebdobot/review/Topic.java diff --git a/src/main/resources/org/april/hebdobot/users.xjb b/src/org/april/hebdobot/users.xjb similarity index 100% rename from src/main/resources/org/april/hebdobot/users.xjb rename to src/org/april/hebdobot/users.xjb diff --git a/src/main/resources/org/april/hebdobot/users.xsd b/src/org/april/hebdobot/users.xsd similarity index 100% rename from src/main/resources/org/april/hebdobot/users.xsd rename to src/org/april/hebdobot/users.xsd diff --git a/src/main/java/org/april/hebdobot/xml/UserAlias.java b/src/org/april/hebdobot/xml/UserAlias.java similarity index 100% rename from src/main/java/org/april/hebdobot/xml/UserAlias.java rename to src/org/april/hebdobot/xml/UserAlias.java diff --git a/src/test/resources/org/april/hebdobot/conf.xml b/test/org/april/hebdobot/conf.xml similarity index 100% rename from src/test/resources/org/april/hebdobot/conf.xml rename to test/org/april/hebdobot/conf.xml diff --git a/src/test/java/org/april/hebdobot/irc/BotTest.java b/test/org/april/hebdobot/irc/BotTest.java similarity index 100% rename from src/test/java/org/april/hebdobot/irc/BotTest.java rename to test/org/april/hebdobot/irc/BotTest.java diff --git a/src/test/java/org/april/hebdobot/pastebin/PastebinClientTest.java b/test/org/april/hebdobot/pastebin/PastebinClientTest.java similarity index 100% rename from src/test/java/org/april/hebdobot/pastebin/PastebinClientTest.java rename to test/org/april/hebdobot/pastebin/PastebinClientTest.java diff --git a/src/test/resources/org/april/hebdobot/users.xml b/test/org/april/hebdobot/users.xml similarity index 100% rename from src/test/resources/org/april/hebdobot/users.xml rename to test/org/april/hebdobot/users.xml