diff --git a/apache-fop/.classpath b/apache-fop/.classpath new file mode 100644 index 0000000000..0720e4851b --- /dev/null +++ b/apache-fop/.classpath @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apache-fop/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch b/apache-fop/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch new file mode 100644 index 0000000000..627021fb96 --- /dev/null +++ b/apache-fop/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch @@ -0,0 +1,7 @@ + + + + + + + diff --git a/apache-fop/.gitignore b/apache-fop/.gitignore new file mode 100644 index 0000000000..6ecc6405c2 --- /dev/null +++ b/apache-fop/.gitignore @@ -0,0 +1,16 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear + +# Files generated by integration tests +*.txt \ No newline at end of file diff --git a/apache-fop/.project b/apache-fop/.project new file mode 100644 index 0000000000..d91e323034 --- /dev/null +++ b/apache-fop/.project @@ -0,0 +1,36 @@ + + + apache-fop + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + + diff --git a/apache-fop/.springBeans b/apache-fop/.springBeans new file mode 100644 index 0000000000..a79097f40d --- /dev/null +++ b/apache-fop/.springBeans @@ -0,0 +1,14 @@ + + + 1 + + + + + + + src/main/webapp/WEB-INF/api-servlet.xml + + + + diff --git a/apache-fop/README.md b/apache-fop/README.md new file mode 100644 index 0000000000..772681ad57 --- /dev/null +++ b/apache-fop/README.md @@ -0,0 +1,9 @@ +========= + +## Core Java Cookbooks and Examples + +### Relevant Articles: +- [Immutable ArrayList in Java](http://www.baeldung.com/java-immutable-list) +- [Java - Reading a Large File Efficiently](http://www.baeldung.com/java-read-lines-large-file) +- [Java InputStream to String](http://www.baeldung.com/convert-input-stream-to-string) + diff --git a/apache-fop/pom.xml b/apache-fop/pom.xml new file mode 100644 index 0000000000..17df0b410b --- /dev/null +++ b/apache-fop/pom.xml @@ -0,0 +1,188 @@ + + 4.0.0 + org.baeldung + apache-fop + 0.1-SNAPSHOT + + apache-fop + + + + + + + com.google.guava + guava + ${guava.version} + + + + org.apache.commons + commons-collections4 + 4.0 + + + + commons-io + commons-io + 2.4 + + + + org.apache.commons + commons-lang3 + ${commons-lang3.version} + + + + org.apache.commons + commons-math3 + 3.3 + + + + + + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + + org.slf4j + jcl-over-slf4j + ${org.slf4j.version} + + + + org.slf4j + log4j-over-slf4j + ${org.slf4j.version} + + + + + + junit + junit-dep + ${junit.version} + test + + + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + + + + org.mockito + mockito-core + ${mockito.version} + test + + + + + + apache-fop + + + src/main/resources + true + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.7 + 1.7 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + **/*IntegrationTest.java + + + + + + + + + + + 4.1.2.RELEASE + 3.2.5.RELEASE + + + 4.3.7.Final + 5.1.34 + + + 2.4.2 + + + 1.7.7 + 1.1.2 + + + 5.1.3.Final + + + 17.0 + 3.3.2 + + + 1.3 + 4.11 + 1.10.8 + + 4.3.3 + 4.3.6 + + 2.4.0 + + + 3.2 + 2.5 + 2.17 + 2.7 + 1.4.10 + + + + \ No newline at end of file diff --git a/apache-fop/src/main/resources/logback.xml b/apache-fop/src/main/resources/logback.xml new file mode 100644 index 0000000000..62d0ea5037 --- /dev/null +++ b/apache-fop/src/main/resources/logback.xml @@ -0,0 +1,16 @@ + + + + + web - %date [%thread] %-5level %logger{36} - %message%n + + + + + + + + + + + \ No newline at end of file diff --git a/apache-fop/src/main/webapp/WEB-INF/api-servlet.xml b/apache-fop/src/main/webapp/WEB-INF/api-servlet.xml new file mode 100644 index 0000000000..4c74be8912 --- /dev/null +++ b/apache-fop/src/main/webapp/WEB-INF/api-servlet.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/apache-fop/src/main/webapp/WEB-INF/web.xml b/apache-fop/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..48d4b8fe61 --- /dev/null +++ b/apache-fop/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,42 @@ + + + + Spring MVC Application + + + + contextClass + + org.springframework.web.context.support.AnnotationConfigWebApplicationContext + + + + contextConfigLocation + org.baeldung.config + + + + org.springframework.web.context.ContextLoaderListener + + + + + api + org.springframework.web.servlet.DispatcherServlet + 1 + + + api + / + + + + + + + \ No newline at end of file diff --git a/apache-fop/src/test/resources/.gitignore b/apache-fop/src/test/resources/.gitignore new file mode 100644 index 0000000000..83c05e60c8 --- /dev/null +++ b/apache-fop/src/test/resources/.gitignore @@ -0,0 +1,13 @@ +*.class + +#folders# +/target +/neoDb* +/data +/src/main/webapp/WEB-INF/classes +*/META-INF/* + +# Packaged files # +*.jar +*.war +*.ear \ No newline at end of file