Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DATASOLR-40 - Upgraded to new build system.

Polished pom.xml and removed configuration now already declared in the parent pom.xml. Added template.mf to make sure Bundlor plugin can create a correct manifest. Removed obsolete resources for documentation and assembly creation that is now taken care of by the parent pom. Renamed test cases to follow the …Tests naming pattern to make sure they are executed during the build.

For more information on what is configured and enabled through the parent pom, have a look at https://github.com/SpringSource/spring-data-build#spring-data-build-infrastructure.
  • Loading branch information...
commit 4c91b0ba203f1ee325e1fca087184cc928e60243 1 parent 0656131
@olivergierke olivergierke authored
Showing with 305 additions and 1,587 deletions.
  1. +259 −488 pom.xml
  2. +0 −36 src/docbkx/resources/css/highlight.css
  3. +0 −114 src/docbkx/resources/css/html.css
  4. BIN  src/docbkx/resources/images/admons/blank.png
  5. BIN  src/docbkx/resources/images/admons/caution.gif
  6. BIN  src/docbkx/resources/images/admons/caution.png
  7. BIN  src/docbkx/resources/images/admons/caution.tif
  8. BIN  src/docbkx/resources/images/admons/draft.png
  9. BIN  src/docbkx/resources/images/admons/home.gif
  10. BIN  src/docbkx/resources/images/admons/home.png
  11. BIN  src/docbkx/resources/images/admons/important.gif
  12. BIN  src/docbkx/resources/images/admons/important.png
  13. BIN  src/docbkx/resources/images/admons/important.tif
  14. BIN  src/docbkx/resources/images/admons/next.gif
  15. BIN  src/docbkx/resources/images/admons/next.png
  16. BIN  src/docbkx/resources/images/admons/note.gif
  17. BIN  src/docbkx/resources/images/admons/note.png
  18. BIN  src/docbkx/resources/images/admons/note.tif
  19. BIN  src/docbkx/resources/images/admons/prev.gif
  20. BIN  src/docbkx/resources/images/admons/prev.png
  21. BIN  src/docbkx/resources/images/admons/tip.gif
  22. BIN  src/docbkx/resources/images/admons/tip.png
  23. BIN  src/docbkx/resources/images/admons/tip.tif
  24. BIN  src/docbkx/resources/images/admons/toc-blank.png
  25. BIN  src/docbkx/resources/images/admons/toc-minus.png
  26. BIN  src/docbkx/resources/images/admons/toc-plus.png
  27. BIN  src/docbkx/resources/images/admons/up.gif
  28. BIN  src/docbkx/resources/images/admons/up.png
  29. BIN  src/docbkx/resources/images/admons/warning.gif
  30. BIN  src/docbkx/resources/images/admons/warning.png
  31. BIN  src/docbkx/resources/images/admons/warning.tif
  32. BIN  src/docbkx/resources/images/callouts/1.png
  33. BIN  src/docbkx/resources/images/callouts/10.png
  34. BIN  src/docbkx/resources/images/callouts/11.png
  35. BIN  src/docbkx/resources/images/callouts/12.png
  36. BIN  src/docbkx/resources/images/callouts/13.png
  37. BIN  src/docbkx/resources/images/callouts/14.png
  38. BIN  src/docbkx/resources/images/callouts/15.png
  39. BIN  src/docbkx/resources/images/callouts/2.png
  40. BIN  src/docbkx/resources/images/callouts/3.png
  41. BIN  src/docbkx/resources/images/callouts/4.png
  42. BIN  src/docbkx/resources/images/callouts/5.png
  43. BIN  src/docbkx/resources/images/callouts/6.png
  44. BIN  src/docbkx/resources/images/callouts/7.png
  45. BIN  src/docbkx/resources/images/callouts/8.png
  46. BIN  src/docbkx/resources/images/callouts/9.png
  47. BIN  src/docbkx/resources/images/logo.png
  48. BIN  src/docbkx/resources/images/xdev-spring_logo.jpg
  49. +0 −433 src/docbkx/resources/xsl/fopdf.xsl
  50. +0 −45 src/docbkx/resources/xsl/highlight-fo.xsl
  51. +0 −43 src/docbkx/resources/xsl/highlight.xsl
  52. +0 −108 src/docbkx/resources/xsl/html.xsl
  53. +0 −222 src/docbkx/resources/xsl/html_chunk.xsl
  54. +0 −53 src/main/assembly/distribution.xml
  55. +0 −22 src/main/assembly/jar-with-dependencies.descriptor.xml
  56. +1 −1  .../java/org/springframework/data/solr/{HttpSolrServerFactoryTest.java → HttpSolrServerFactoryTests.java}
  57. +1 −1  src/test/java/org/springframework/data/solr/core/{QueryParserTest.java → QueryParserTests.java}
  58. +1 −1  src/test/java/org/springframework/data/solr/core/{ResultHelperTest.java → ResultHelperTests.java}
  59. +1 −1  .../springframework/data/solr/core/{SolrExceptionTranslatorTest.java → SolrExceptionTranslatorTests.java}
  60. +1 −1  src/test/java/org/springframework/data/solr/core/{SolrTemplateTest.java → SolrTemplateTests.java}
  61. +1 −1  ...rg/springframework/data/solr/core/convert/{DateTimeConvertersTest.java → DateTimeConvertersTests.java}
  62. +3 −3 src/test/java/org/springframework/data/solr/core/convert/{GeoConverterTest.java → GeoConverterTests.java}
  63. +1 −1  ...pringframework/data/solr/core/convert/{MappingSolrConverterTest.java → MappingSolrConverterTests.java}
  64. +1 −1  ...va/org/springframework/data/solr/core/convert/{NumberConvertersTest.java → NumberConvertersTests.java}
  65. +1 −1  ...rk/data/solr/core/mapping/{SimpleSolrPersistentEntityTest.java → SimpleSolrPersistentEntityTests.java}
  66. +1 −1  src/test/java/org/springframework/data/solr/core/query/{CriteriaTest.java → CriteriaTests.java}
  67. +1 −1  src/test/java/org/springframework/data/solr/core/query/{FacetOptionsTest.java → FacetOptionsTests.java}
  68. +1 −1  src/test/java/org/springframework/data/solr/core/query/{PartialUpdateTest.java → PartialUpdateTests.java}
  69. +1 −1  src/test/java/org/springframework/data/solr/core/query/{SimpleQueryTest.java → SimpleQueryTests.java}
  70. +1 −1  .../springframework/data/solr/core/query/{SimpleStringCriteriaTest.java → SimpleStringCriteriaTests.java}
  71. +1 −1  .../springframework/data/solr/repository/{SimpleSolrRepositoryTest.java → SimpleSolrRepositoryTests.java}
  72. +1 −1  ...rg/springframework/data/solr/repository/query/{SolrQueryCreatorTest.java → SolrQueryCreatorTests.java}
  73. +1 −1  .../org/springframework/data/solr/repository/query/{SolrQueryMethodTest.java → SolrQueryMethodTests.java}
  74. +1 −1  ...gframework/data/solr/repository/query/{StringBasedSolrQueryTest.java → StringBasedSolrQueryTests.java}
  75. +1 −1  ...lr/repository/support/{MappingSolrEntityInformationTest.java → MappingSolrEntityInformationTests.java}
  76. +1 −1  ...mework/data/solr/repository/support/{SolrRepositoryFactoryTest.java → SolrRepositoryFactoryTests.java}
  77. +23 −0 template.mf
View
747 pom.xml
@@ -1,488 +1,259 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-solr</artifactId>
- <version>1.0.0.BUILD-SNAPSHOT</version>
- <packaging>jar</packaging>
- <inceptionYear>2012</inceptionYear>
- <url>http://github.com/SpringSource/spring-data-solr</url>
- <name>Spring Data Solr</name>
- <description>Spring Data module providing support for Apache Solr repositories</description>
- <organization>
- <name>SpringSource</name>
- <url>http://www.springsource.org</url>
- </organization>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <junit.version>4.11</junit.version>
- <spring.version>3.1.2.RELEASE</spring.version>
- <slf4j.version>1.7.1</slf4j.version>
- <commons-lang.version>2.6</commons-lang.version>
- <solr.version>4.0.0</solr.version>
- <apache.httpcomponents.version>4.2.2</apache.httpcomponents.version>
- <spring.data-commons.version>1.5.0.BUILD-SNAPSHOT</spring.data-commons.version>
- <joda-time.version>2.1</joda-time.version>
- <logback-classic.version>1.0.7</logback-classic.version>
- <mockito.version>1.9.5</mockito.version>
- <cdi.version>1.0-SP4</cdi.version>
- <webbeans.version>1.1.5</webbeans.version>
- <dist.finalName>${project.artifactId}-${project.version}</dist.finalName>
- </properties>
-
- <licenses>
- <license>
- <name>The Apache Software License, Version 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
- <distribution>repo</distribution>
- <comments>
- Copyright 2010 the original author or authors.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- </comments>
- </license>
- </licenses>
-
- <issueManagement>
- <system>JIRA</system>
- <url>https://jira.springsource.org/browse/DATASOLR</url>
- </issueManagement>
-
- <scm>
- <url>https://github.com/SpringSource/spring-data-solr</url>
- <connection>scm:git:git://github.com/SpringSource/spring-data-solr.git</connection>
- <developerConnection>scm:git:ssh://git@github.com:SpringSource/spring-data-solr.git</developerConnection>
- </scm>
-
- <ciManagement>
- <system>Bamboo</system>
- <url>http://build.springsource.org/browse/DATASOLR</url>
- </ciManagement>
-
- <dependencies>
- <!-- SPRING -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- <version>${spring.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- <version>${spring.version}</version>
- </dependency>
-
- <!-- For JavaConfig -->
- <dependency>
- <groupId>cglib</groupId>
- <artifactId>cglib</artifactId>
- <version>2.2.2</version>
- <scope>test</scope>
- </dependency>
-
- <!-- SPRING DATA -->
- <dependency>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-commons-core</artifactId>
- <version>${spring.data-commons.version}</version>
- </dependency>
-
- <!-- APACHE -->
- <dependency>
- <groupId>commons-lang</groupId>
- <artifactId>commons-lang</artifactId>
- <version>${commons-lang.version}</version>
- </dependency>
- <dependency>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <version>3.2.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>${apache.httpcomponents.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpmime</artifactId>
- <version>${apache.httpcomponents.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient-cache</artifactId>
- <version>${apache.httpcomponents.version}</version>
- <exclusions>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- JODA Time -->
- <dependency>
- <groupId>joda-time</groupId>
- <artifactId>joda-time</artifactId>
- <version>${joda-time.version}</version>
- </dependency>
-
- <!-- SOLR -->
- <dependency>
- <artifactId>solr-solrj</artifactId>
- <groupId>org.apache.solr</groupId>
- <version>${solr.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpmime</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.solr</groupId>
- <artifactId>solr-core</artifactId>
- <version>${solr.version}</version>
- <optional>true</optional>
- <exclusions>
- <exclusion>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <!-- LOGGING -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>${slf4j.version}</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>jcl-over-slf4j</artifactId>
- <version>${slf4j.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>${logback-classic.version}</version>
- <scope>test</scope>
- </dependency>
-
- <!-- CDI -->
- <dependency>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- <version>${cdi.version}</version>
- <scope>provided</scope>
- <optional>true</optional>
- </dependency>
-
- <!-- TEST -->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${spring.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <version>${mockito.version}</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.apache.openwebbeans.test</groupId>
- <artifactId>cditest-owb</artifactId>
- <version>${webbeans.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>${spring.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.3.168</version>
- <scope>test</scope>
- </dependency>
-
- <!-- solr 4.x requires servlet api to run in embedded mode -->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- <version>3.0-alpha-1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <useDefaultManifestFile>true</useDefaultManifestFile>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.1.2</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <version>2.12</version>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>integration-test</goal>
- </goals>
- </execution>
- <execution>
- <id>verify</id>
- <goals>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.12</version>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>jar-with-dependencies</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <descriptor>src/main/assembly/jar-with-dependencies.descriptor.xml</descriptor>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>distribute</id>
- <build>
- <plugins>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.8</version>
- <executions>
- <execution>
- <goals>
- <goal>javadoc</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- <configuration>
- <breakiterator>true</breakiterator>
- <header>Spring Data Solr</header>
- <source>1.5</source>
- <quiet>true</quiet>
- <!-- copies doc-files subdirectory which contains image resources -->
- <docfilessubdirs>true</docfilessubdirs>
- <links>
- <link>http://static.springframework.org/spring/docs/3.1.x/javadoc-api</link>
- <link>http://download.oracle.com/javase/1.5.0/docs/api</link>
- <link>http://static.springsource.org/spring-data/data-commons/docs/${spring.data-commons.version}/api</link>
- </links>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>com.agilejava.docbkx</groupId>
- <artifactId>docbkx-maven-plugin</artifactId>
- <version>2.0.7</version>
- <executions>
- <execution>
- <goals>
- <goal>generate-html</goal>
- <goal>generate-pdf</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.docbook</groupId>
- <artifactId>docbook-xml</artifactId>
- <version>4.4</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- <configuration>
- <includes>index.xml</includes>
- <xincludeSupported>true</xincludeSupported>
- <foCustomization>${project.basedir}/src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
- <htmlStylesheet>${project.basedir}/src/docbkx/resources/css/html.css</htmlStylesheet>
- <chunkedOutput>false</chunkedOutput>
- <htmlCustomization>${project.basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization>
- <highlightSource>1</highlightSource>
- <entities>
- <entity>
- <name>version</name>
- <value>${project.version}</value>
- </entity>
- </entities>
- <postProcess>
- <copy todir="${project.basedir}/target/site/reference">
- <fileset dir="${project.basedir}/target/docbkx">
- <include name="**/*.html" />
- <include name="**/*.pdf" />
- </fileset>
- </copy>
- <copy todir="${project.basedir}/target/site/reference/html">
- <fileset dir="${project.basedir}/src/docbkx/resources">
- <include name="**/*.css" />
- <include name="**/*.png" />
- <include name="**/*.gif" />
- <include name="**/*.jpg" />
- </fileset>
- </copy>
- <move file="${project.basedir}/target/site/reference/pdf/index.pdf" tofile="${project.basedir}/target/site/reference/pdf/${project.artifactId}-reference.pdf" failonerror="false" />
- </postProcess>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2.1</version>
- <executions>
- <execution>
- <id>distribution</id>
- <goals>
- <goal>single</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>${project.basedir}/src/main/assembly/distribution.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
- <developers>
- <developer>
- <id>christophstrobl</id>
- <name>Christoph Strobl</name>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <id>ogierke</id>
- <name>Oliver Gierke</name>
- <timezone>+1</timezone>
- </developer>
- <developer>
- <id>mpollack</id>
- <name>Mark Pollack</name>
- <timezone>-5</timezone>
- </developer>
- </developers>
-
- <repositories>
- <repository>
- <id>spring-releases</id>
- <url>http://repo.springsource.org/libs-release</url>
- </repository>
- <repository>
- <id>spring-snapshots</id>
- <url>http://repo.springsource.org/libs-snapshot</url>
- </repository>
- </repositories>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-solr</artifactId>
+ <version>1.0.0.BUILD-SNAPSHOT</version>
+
+ <name>Spring Data Solr</name>
+ <description>Spring Data module providing support for Apache Solr repositories.</description>
+ <url>http://github.com/SpringSource/spring-data-solr</url>
+
+ <parent>
+ <groupId>org.springframework.data.build</groupId>
+ <artifactId>spring-data-parent</artifactId>
+ <version>1.0.0.BUILD-SNAPSHOT</version>
+ <relativePath>../spring-data-build/parent/pom.xml</relativePath>
+ </parent>
+
+ <properties>
+ <commons.collections>3.2.1</commons.collections>
+ <commons.lang>2.6</commons.lang>
+ <httpcomponents>4.2.2</httpcomponents>
+ <solr>4.0.0</solr>
+ <springdata.commons>1.5.0.BUILD-SNAPSHOT</springdata.commons>
+ </properties>
+
+ <developers>
+ <developer>
+ <id>christophstrobl</id>
+ <name>Christoph Strobl</name>
+ <timezone>+1</timezone>
+ </developer>
+ <developer>
+ <id>ogierke</id>
+ <name>Oliver Gierke</name>
+ <timezone>+1</timezone>
+ </developer>
+ <developer>
+ <id>mpollack</id>
+ <name>Mark Pollack</name>
+ <timezone>-5</timezone>
+ </developer>
+ </developers>
+
+ <dependencies>
+ <!-- SPRING -->
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${spring}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-tx</artifactId>
+ <version>${spring}</version>
+ </dependency>
+
+ <!-- For JavaConfig -->
+ <dependency>
+ <groupId>cglib</groupId>
+ <artifactId>cglib</artifactId>
+ <version>2.2.2</version>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- SPRING DATA -->
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-commons</artifactId>
+ <version>${springdata.commons}</version>
+ </dependency>
+
+ <!-- APACHE -->
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>${commons.lang}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>3.2.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ <version>${httpcomponents}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpmime</artifactId>
+ <version>${httpcomponents}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient-cache</artifactId>
+ <version>${httpcomponents}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <!-- JODA Time -->
+ <dependency>
+ <groupId>joda-time</groupId>
+ <artifactId>joda-time</artifactId>
+ <version>${jodatime}</version>
+ </dependency>
+
+ <!-- SOLR -->
+ <dependency>
+ <artifactId>solr-solrj</artifactId>
+ <groupId>org.apache.solr</groupId>
+ <version>${solr}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpclient</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.httpcomponents</groupId>
+ <artifactId>httpmime</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.solr</groupId>
+ <artifactId>solr-core</artifactId>
+ <version>${solr}</version>
+ <optional>true</optional>
+ <exclusions>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+
+ <!-- CDI -->
+ <dependency>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ <version>${cdi}</version>
+ <scope>provided</scope>
+ <optional>true</optional>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.openwebbeans.test</groupId>
+ <artifactId>cditest-owb</artifactId>
+ <version>${webbeans}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-jdbc</artifactId>
+ <version>${spring}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.168</version>
+ <scope>test</scope>
+ </dependency>
+
+ <!-- solr 4.x requires servlet api to run in embedded mode -->
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>3.0-alpha-1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <version>2.12</version>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>integration-test</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>verify</id>
+ <goals>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+
+ <issueManagement>
+ <system>JIRA</system>
+ <url>https://jira.springsource.org/browse/DATASOLR</url>
+ </issueManagement>
+
+ <scm>
+ <url>https://github.com/SpringSource/spring-data-solr</url>
+ <connection>scm:git:git://github.com/SpringSource/spring-data-solr.git</connection>
+ <developerConnection>scm:git:ssh://git@github.com:SpringSource/spring-data-solr.git</developerConnection>
+ </scm>
+
+ <ciManagement>
+ <system>Bamboo</system>
+ <url>http://build.springsource.org/browse/DATASOLR</url>
+ </ciManagement>
+
+ <repositories>
+ <repository>
+ <id>spring-libs-snapshot</id>
+ <url>http://repo.springsource.org/libs-snapshot-local</url>
+ </repository>
+ </repositories>
+
+</project>
View
36 src/docbkx/resources/css/highlight.css
@@ -1,36 +0,0 @@
-/*
- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/css/highlight.css
- code highlight CSS resemblign the Eclipse IDE default color schema
- @author Costin Leau
-*/
-
-.hl-keyword {
- color: #7F0055;
- font-weight: bold;
-}
-
-.hl-comment {
- color: #3F5F5F;
- font-style: italic;
-}
-
-.hl-multiline-comment {
- color: #3F5FBF;
- font-style: italic;
-}
-
-.hl-tag {
- color: #3F7F7F;
-}
-
-.hl-attribute {
- color: #7F007F;
-}
-
-.hl-value {
- color: #2A00FF;
-}
-
-.hl-string {
- color: #2A00FF;
-}
View
114 src/docbkx/resources/css/html.css
@@ -1,114 +0,0 @@
-/*
- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/css/html.css
-*/
-
-@IMPORT url("highlight.css");
-
-html {
- padding: 0pt;
- margin: 0pt;
-}
-
-body {
- margin-left: 15%;
- margin-right: 15%;
- font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
-}
-
-div {
- margin: 0pt;
-}
-
-p {
- text-align: justify;
- line-height: 1.3em;
-}
-
-hr {
- border: 1px solid gray;
- background: gray;
-}
-
-h1,h2,h3,h4,h5 {
- color: #234623;
- font-weight: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
- margin-bottom: 0em;
- margin-top: 2em;
-}
-
-pre {
- line-height: 1.0;
- color: black;
-}
-
-table code {
- font-size: 110%;
-}
-
-pre.programlisting {
- font-size: 1em;
- padding: 3pt 3pt;
- border: 1pt solid black;
- background: #eeeeee;
- clear: both;
-}
-
-div.table {
- margin: 1em;
- padding: 0.5em;
- text-align: center;
-}
-
-div.table table {
- display: table;
- width: 100%;
-}
-
-div.table td {
- padding-left: 7px;
- padding-right: 7px;
-}
-
-.sidebar {
- float: right;
- margin: 10px 0 10px 30px;
- padding: 10px 20px 20px 20px;
- width: 33%;
- border: 1px solid black;
- background-color: #F4F4F4;
- font-size: 14px;
-}
-
-.mediaobject {
- padding-top: 30px;
- padding-bottom: 30px;
-}
-
-.legalnotice {
- font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
- font-size: 12px;
- font-style: italic;
-}
-
-p.releaseinfo {
- font-size: 100%;
- font-weight: bold;
- font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
- padding-top: 10px;
-}
-
-p.pubdate {
- font-size: 120%;
- font-weight: bold;
- font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
-}
-
-span.productname {
- font-size: 200%;
- font-weight: bold;
- font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
-}
-
-code {
- font-size: 125%;
-}
View
BIN  src/docbkx/resources/images/admons/blank.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/caution.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/caution.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/caution.tif
Binary file not shown
View
BIN  src/docbkx/resources/images/admons/draft.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/home.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/home.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/important.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/important.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/important.tif
Binary file not shown
View
BIN  src/docbkx/resources/images/admons/next.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/next.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/note.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/note.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/note.tif
Binary file not shown
View
BIN  src/docbkx/resources/images/admons/prev.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/prev.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/tip.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/tip.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/tip.tif
Binary file not shown
View
BIN  src/docbkx/resources/images/admons/toc-blank.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/toc-minus.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/toc-plus.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/up.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/up.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/warning.gif
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/warning.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/admons/warning.tif
Binary file not shown
View
BIN  src/docbkx/resources/images/callouts/1.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/callouts/10.png
Deleted file not rendered
View
BIN  src/docbkx/resources/images/callouts/11.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/12.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/13.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/14.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/15.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/2.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/3.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/4.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/5.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/6.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/7.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/8.png
Diff not rendered
View
BIN  src/docbkx/resources/images/callouts/9.png
Diff not rendered
View
BIN  src/docbkx/resources/images/logo.png
Diff not rendered
View
BIN  src/docbkx/resources/images/xdev-spring_logo.jpg
Diff not rendered
View
433 src/docbkx/resources/xsl/fopdf.xsl
@@ -1,433 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- borrowed from: https://raw.github.com/SpringSource/spring-data-commons/master/src/docbkx/resources/xsl/fopdf.xsl
- This is the XSL FO (PDF) stylesheet for the Spring Data reference
- documentation.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="1.0">
-
-
- <xsl:import href="urn:docbkx:stylesheet"/>
- <xsl:import href="highlight-fo.xsl"/>
-
- <!--###################################################
- Custom Title Page
- ################################################### -->
-
- <xsl:template name="book.titlepage.recto">
- <fo:block>
- <fo:table table-layout="fixed" width="175mm">
- <fo:table-column column-width="175mm"/>
- <fo:table-body>
- <fo:table-row>
- <fo:table-cell text-align="center">
- <fo:block font-family="Helvetica" font-size="22pt" padding-before="10mm">
- <xsl:value-of select="bookinfo/subtitle"/>
- </fo:block>
- <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
- <xsl:value-of select="bookinfo/title"/>
- </fo:block>
- <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
- <xsl:value-of select="bookinfo/releaseinfo"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- <fo:table-row>
- <fo:table-cell text-align="center">
- <fo:block font-family="Helvetica" font-size="14pt" padding="10mm">
- <xsl:value-of select="bookinfo/pubdate"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- <fo:table-row>
- <fo:table-cell text-align="center">
- <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
- <xsl:for-each select="bookinfo/authorgroup/author">
- <xsl:if test="position() > 1">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:value-of select="firstname"/>
- <xsl:text> </xsl:text>
- <xsl:value-of select="surname"/>
- <!-- <xsl:text> (</xsl:text>
- <xsl:value-of select="affiliation"/>
- <xsl:text>)</xsl:text> -->
- </xsl:for-each>
- </fo:block>
- <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
- <xsl:text>Copyright &#xA9; 2012</xsl:text>
- </fo:block>
-
- <fo:block font-family="Helvetica" font-size="10pt" padding="1mm">
- <xsl:value-of select="bookinfo/legalnotice"/>
- </fo:block>
- </fo:table-cell>
- </fo:table-row>
- </fo:table-body>
- </fo:table>
- </fo:block>
- </xsl:template>
-
- <!-- Prevent blank pages in output -->
- <xsl:template name="book.titlepage.before.verso">
- </xsl:template>
- <xsl:template name="book.titlepage.verso">
- </xsl:template>
- <xsl:template name="book.titlepage.separator">
- </xsl:template>
-
- <!--###################################################
- Header
- ################################################### -->
-
- <!-- More space in the center header for long text -->
- <xsl:attribute-set name="header.content.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$body.font.family"/>
- </xsl:attribute>
- <xsl:attribute name="margin-left">-5em</xsl:attribute>
- <xsl:attribute name="margin-right">-5em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Custom Footer
- ################################################### -->
- <xsl:template name="footer.content">
- <xsl:param name="pageclass" select="''"/>
- <xsl:param name="sequence" select="''"/>
- <xsl:param name="position" select="''"/>
- <xsl:param name="gentext-key" select="''"/>
- <xsl:variable name="Version">
- <xsl:if test="//releaseinfo">
- <xsl:text>Spring Data Solr (</xsl:text><xsl:value-of select="//releaseinfo" /><xsl:text>)</xsl:text>
- </xsl:if>
- </xsl:variable>
- <xsl:choose>
- <xsl:when test="$sequence='blank'">
- <xsl:if test="$position = 'center'">
- <xsl:value-of select="$Version"/>
- </xsl:if>
- </xsl:when>
- <!-- for double sided printing, print page numbers on alternating sides (of the page) -->
- <xsl:when test="$double.sided != 0">
- <xsl:choose>
- <xsl:when test="$sequence = 'even' and $position='left'">
- <fo:page-number/>
- </xsl:when>
- <xsl:when test="$sequence = 'odd' and $position='right'">
- <fo:page-number/>
- </xsl:when>
- <xsl:when test="$position='center'">
- <xsl:value-of select="$Version"/>
- </xsl:when>
- </xsl:choose>
- </xsl:when>
- <!-- for single sided printing, print all page numbers on the right (of the page) -->
- <xsl:when test="$double.sided = 0">
- <xsl:choose>
- <xsl:when test="$position='center'">
- <xsl:value-of select="$Version"/>
- </xsl:when>
- <xsl:when test="$position='right'">
- <fo:page-number/>
- </xsl:when>
- </xsl:choose>
- </xsl:when>
- </xsl:choose>
- </xsl:template>
-
- <!--###################################################
- Extensions
- ################################################### -->
-
- <!-- These extensions are required for table printing and other stuff -->
- <xsl:param name="tablecolumns.extension">0</xsl:param>
- <!-- FOP provide only PDF Bookmarks at the moment -->
- <xsl:param name="fop.extensions">1</xsl:param>
- <xsl:param name="fop1.extensions">1</xsl:param>
- <xsl:param name="ignore.image.scaling">0</xsl:param>
-
- <!--###################################################
- Table Of Contents
- ################################################### -->
-
- <!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">
- book toc
- </xsl:param>
-
- <!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">2</xsl:param>
-
- <!-- Dot and Whitespace as separator in TOC between Label and Title-->
- <xsl:param name="autotoc.label.separator" select="'. '"/>
-
-
- <!--###################################################
- Paper & Page Size
- ################################################### -->
-
- <!-- Paper type, no headers on blank pages, no double sided printing -->
- <xsl:param name="paper.type" select="'A4'"/>
- <xsl:param name="double.sided">0</xsl:param>
- <xsl:param name="headers.on.blank.pages">0</xsl:param>
- <xsl:param name="footers.on.blank.pages">0</xsl:param>
-
- <!-- Space between paper border and content (chaotic stuff, don't touch) -->
- <xsl:param name="page.margin.top">5mm</xsl:param>
- <xsl:param name="region.before.extent">10mm</xsl:param>
- <xsl:param name="body.margin.top">10mm</xsl:param>
-
- <xsl:param name="body.margin.bottom">15mm</xsl:param>
- <xsl:param name="region.after.extent">10mm</xsl:param>
- <xsl:param name="page.margin.bottom">0mm</xsl:param>
-
- <xsl:param name="page.margin.outer">18mm</xsl:param>
- <xsl:param name="page.margin.inner">18mm</xsl:param>
-
- <!-- No intendation of Titles -->
- <xsl:param name="title.margin.left">0pc</xsl:param>
-
- <!--###################################################
- Fonts & Styles
- ################################################### -->
-
- <!-- Left aligned text and no hyphenation -->
- <xsl:param name="alignment">justify</xsl:param>
- <xsl:param name="hyphenate">false</xsl:param>
-
- <!-- Default Font size -->
- <xsl:param name="body.font.master">11</xsl:param>
- <xsl:param name="body.font.small">8</xsl:param>
-
- <!-- Line height in body text -->
- <xsl:param name="line-height">1.4</xsl:param>
-
- <!-- Monospaced fonts are smaller than regular text -->
- <xsl:attribute-set name="monospace.properties">
- <xsl:attribute name="font-family">
- <xsl:value-of select="$monospace.font.family"/>
- </xsl:attribute>
- <xsl:attribute name="font-size">0.8em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Tables
- ################################################### -->
-
- <!-- The table width should be adapted to the paper size -->
- <xsl:param name="default.table.width">17.4cm</xsl:param>
-
- <!-- Some padding inside tables -->
- <xsl:attribute-set name="table.cell.padding">
- <xsl:attribute name="padding-left">4pt</xsl:attribute>
- <xsl:attribute name="padding-right">4pt</xsl:attribute>
- <xsl:attribute name="padding-top">4pt</xsl:attribute>
- <xsl:attribute name="padding-bottom">4pt</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Only hairlines as frame and cell borders in tables -->
- <xsl:param name="table.frame.border.thickness">0.1pt</xsl:param>
- <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
-
- <!--###################################################
- Labels
- ################################################### -->
-
- <!-- Label Chapters and Sections (numbering) -->
- <xsl:param name="chapter.autolabel">1</xsl:param>
- <xsl:param name="section.autolabel" select="1"/>
- <xsl:param name="section.label.includes.component.label" select="1"/>
-
- <!--###################################################
- Titles
- ################################################### -->
-
- <!-- Chapter title size -->
- <xsl:attribute-set name="chapter.titlepage.recto.style">
- <xsl:attribute name="text-align">left</xsl:attribute>
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.8"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Why is the font-size for chapters hardcoded in the XSL FO templates?
- Let's remove it, so this sucker can use our attribute-set only... -->
- <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
- <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xsl:use-attribute-sets="chapter.titlepage.recto.style">
- <xsl:call-template name="component.title">
- <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
- </xsl:call-template>
- </fo:block>
- </xsl:template>
-
- <!-- Sections 1, 2 and 3 titles have a small bump factor and padding -->
- <xsl:attribute-set name="section.title.level1.properties">
- <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.5"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
- <xsl:attribute-set name="section.title.level2.properties">
- <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.25"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
- <xsl:attribute-set name="section.title.level3.properties">
- <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master * 1.0"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Titles of formal objects (tables, examples, ...) -->
- <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
- <xsl:attribute name="font-weight">bold</xsl:attribute>
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.master"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- <xsl:attribute name="hyphenate">false</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Programlistings
- ################################################### -->
-
- <!-- Verbatim text formatting (programlistings) -->
- <xsl:attribute-set name="monospace.verbatim.properties">
- <xsl:attribute name="font-size">
- <xsl:value-of select="$body.font.small * 1.0"/>
- <xsl:text>pt</xsl:text>
- </xsl:attribute>
- </xsl:attribute-set>
-
- <xsl:attribute-set name="verbatim.properties">
- <xsl:attribute name="space-before.minimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">1em</xsl:attribute>
- <xsl:attribute name="border-color">#444444</xsl:attribute>
- <xsl:attribute name="border-style">solid</xsl:attribute>
- <xsl:attribute name="border-width">0.1pt</xsl:attribute>
- <xsl:attribute name="padding-top">0.5em</xsl:attribute>
- <xsl:attribute name="padding-left">0.5em</xsl:attribute>
- <xsl:attribute name="padding-right">0.5em</xsl:attribute>
- <xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
- <xsl:attribute name="margin-left">0.5em</xsl:attribute>
- <xsl:attribute name="margin-right">0.5em</xsl:attribute>
- </xsl:attribute-set>
-
- <!-- Shade (background) programlistings -->
- <xsl:param name="shade.verbatim">1</xsl:param>
- <xsl:attribute-set name="shade.verbatim.style">
- <xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- Callouts
- ################################################### -->
-
- <!-- Use images for callouts instead of (1) (2) (3) -->
- <xsl:param name="callout.graphics">0</xsl:param>
- <xsl:param name="callout.unicode">1</xsl:param>
-
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.defaultcolumn">90</xsl:param>
-
- <!--###################################################
- Admonitions
- ################################################### -->
-
- <!-- Use nice graphics for admonitions -->
- <xsl:param name="admon.graphics">'1'</xsl:param>
- <xsl:param name="admon.graphics.path">src/docbkx/resources/images/admons/</xsl:param>
-
- <!--###################################################
- Misc
- ################################################### -->
-
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
-
- <!-- Format Variable Lists as Blocks (prevents horizontal overflow) -->
- <xsl:param name="variablelist.as.blocks">1</xsl:param>
-
- <!-- The horrible list spacing problems -->
- <xsl:attribute-set name="list.block.spacing">
- <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
- <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
- <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
- <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
- </xsl:attribute-set>
-
- <!--###################################################
- colored and hyphenated links
- ################################################### -->
- <xsl:template match="ulink">
- <fo:basic-link external-destination="{@url}"
- xsl:use-attribute-sets="xref.properties"
- text-decoration="underline"
- color="blue">
- <xsl:choose>
- <xsl:when test="count(child::node())=0">
- <xsl:value-of select="@url"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </fo:basic-link>
- </xsl:template>
-
- <xsl:template match="link">
- <fo:basic-link internal-destination="{@linkend}"
- xsl:use-attribute-sets="xref.properties"
- text-decoration="underline"
- color="blue">
- <xsl:choose>
- <xsl:when test="count(child::node())=0">
- <xsl:value-of select="@linkend"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- </fo:basic-link>
- </xsl:template>
-
-</xsl:stylesheet>
View
45 src/docbkx/resources/xsl/highlight-fo.xsl
@@ -1,45 +0,0 @@
-<?xml version='1.0'?>
-<!--
- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/highlight-fo.xsl
- Simple highlighter for FO/PDF output. Follows the Eclipse color scheme.
--->
-
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:xslthl="http://xslthl.sf.net"
- exclude-result-prefixes="xslthl"
- version='1.0'>
-
- <xsl:template match='xslthl:keyword'>
- <fo:inline font-weight="bold" color="#7F0055"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:comment'>
- <fo:inline font-style="italic" color="#3F5F5F"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:oneline-comment'>
- <fo:inline font-style="italic" color="#3F5F5F"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:multiline-comment'>
- <fo:inline font-style="italic" color="#3F5FBF"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:tag'>
- <fo:inline color="#3F7F7F"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:attribute'>
- <fo:inline color="#7F007F"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:value'>
- <fo:inline color="#2A00FF"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
- <xsl:template match='xslthl:string'>
- <fo:inline color="#2A00FF"><xsl:apply-templates/></fo:inline>
- </xsl:template>
-
-</xsl:stylesheet>
View
43 src/docbkx/resources/xsl/highlight.xsl
@@ -1,43 +0,0 @@
-<?xml version='1.0'?>
-<!--
- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/highlight.xsl
- Simple highlighter for HTML output. Follows the Eclipse color scheme.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xslthl="http://xslthl.sf.net"
- exclude-result-prefixes="xslthl"
- version='1.0'>
-
- <xsl:template match='xslthl:keyword'>
- <span class="hl-keyword"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:comment'>
- <span class="hl-comment"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:oneline-comment'>
- <span class="hl-comment"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:multiline-comment'>
- <span class="hl-multiline-comment"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:tag'>
- <span class="hl-tag"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:attribute'>
- <span class="hl-attribute"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:value'>
- <span class="hl-value"><xsl:value-of select='.'/></span>
- </xsl:template>
-
- <xsl:template match='xslthl:string'>
- <span class="hl-string"><xsl:value-of select='.'/></span>
- </xsl:template>
-
-</xsl:stylesheet>
View
108 src/docbkx/resources/xsl/html.xsl
@@ -1,108 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/html.xsl
- This is the XSL HTML configuration file for the Spring
- Reference Documentation.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- xmlns:xslthl="http://xslthl.sf.net"
- exclude-result-prefixes="xslthl"
- version="1.0">
-
- <xsl:import href="urn:docbkx:stylesheet"/>
- <xsl:import href="highlight.xsl"/>
-
- <!--###################################################
- HTML Settings
- ################################################### -->
-
- <!-- These extensions are required for table printing and other stuff -->
- <xsl:param name="tablecolumns.extension">0</xsl:param>
- <xsl:param name="graphicsize.extension">0</xsl:param>
- <xsl:param name="ignore.image.scaling">1</xsl:param>
-
- <!--###################################################
- Table Of Contents
- ################################################### -->
-
- <!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">
- book toc
- </xsl:param>
-
- <!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">3</xsl:param>
-
- <!--###################################################
- Labels
- ################################################### -->
-
- <!-- Label Chapters and Sections (numbering) -->
- <xsl:param name="chapter.autolabel">1</xsl:param>
- <xsl:param name="section.autolabel" select="1"/>
- <xsl:param name="section.label.includes.component.label" select="1"/>
-
- <!--###################################################
- Callouts
- ################################################### -->
-
- <!-- Use images for callouts instead of (1) (2) (3) -->
- <xsl:param name="callout.graphics">1</xsl:param>
-
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.defaultcolumn">90</xsl:param>
-
- <!--###################################################
- Admonitions
- ################################################### -->
-
- <!-- Use nice graphics for admonitions -->
- <xsl:param name="admon.graphics">1</xsl:param>
- <xsl:param name="admon.graphics.path">images/admons/</xsl:param>
- <!--###################################################
- Misc
- ################################################### -->
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
- <xsl:template match="author" mode="titlepage.mode">
- <xsl:if test="name(preceding-sibling::*[1]) = 'author'">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <span class="{name(.)}">
- <xsl:call-template name="person.name"/>
- <!-- (<xsl:value-of select="affiliation"/>) -->
- <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
- </span>
- </xsl:template>
- <xsl:template match="authorgroup" mode="titlepage.mode">
- <div class="{name(.)}">
- <h2>Authors</h2>
- <p/>
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
- </xsl:template>
- <!--###################################################
- Headers and Footers
- ################################################### -->
- <!-- let's have a Spring and I21 banner across the top of each page -->
- <xsl:template name="user.header.navigation">
- <div style="background-color:white;border:none;height:73px;border:1px solid black;">
- <a style="border:none;" href="http://www.springframework.org/osgi/"
- title="The Spring Framework - Spring Data">
- <img style="border:none;" src="images/xdev-spring_logo.jpg"/>
- </a>
- <a style="border:none;" href="http://www.SpringSource.com/" title="SpringSource - Spring from the Source">
- <img style="border:none;position:absolute;padding-top:5px;right:42px;" src="images/s2-banner-rhs.png"/>
- </a>
- </div>
- </xsl:template>
-
-</xsl:stylesheet>
-
View
222 src/docbkx/resources/xsl/html_chunk.xsl
@@ -1,222 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- borrowed from: https://raw.github.com/SpringSource/spring-data-jpa/master/src/docbkx/resources/xsl/html_chunk.xsl
- This is the XSL HTML configuration file for the Spring Reference Documentation.
--->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="1.0">
-
- <xsl:import href="urn:docbkx:stylesheet"/>
- <xsl:import href="highlight.xsl"/>
-
-
- <!--###################################################
- HTML Settings
- ################################################### -->
- <xsl:param name="chunk.section.depth">'5'</xsl:param>
- <xsl:param name="use.id.as.filename">'1'</xsl:param>
- <xsl:param name="tablecolumns.extension">0</xsl:param>
- <xsl:param name="graphicsize.extension">0</xsl:param>
- <xsl:param name="ignore.image.scaling">1</xsl:param>
- <!--###################################################
- Table Of Contents
- ################################################### -->
- <!-- Generate the TOCs for named components only -->
- <xsl:param name="generate.toc">
- book toc
- qandaset toc
- </xsl:param>
- <!-- Show only Sections up to level 3 in the TOCs -->
- <xsl:param name="toc.section.depth">3</xsl:param>
- <!--###################################################
- Labels
- ################################################### -->
- <!-- Label Chapters and Sections (numbering) -->
- <xsl:param name="chapter.autolabel">1</xsl:param>
- <xsl:param name="section.autolabel" select="1"/>
- <xsl:param name="section.label.includes.component.label" select="1"/>
- <!--###################################################
- Callouts
- ################################################### -->
- <!-- Place callout marks at this column in annotated areas -->
- <xsl:param name="callout.graphics">1</xsl:param>
- <xsl:param name="callout.defaultcolumn">90</xsl:param>
-
- <!--###################################################
- Admonitions
- ################################################### -->
-
- <!-- Use nice graphics for admonitions -->
- <xsl:param name="admon.graphics">1</xsl:param>
- <xsl:param name="admon.graphics.path">images/admons/</xsl:param>
- <!--###################################################
- Misc
- ################################################### -->
- <!-- Placement of titles -->
- <xsl:param name="formal.title.placement">
- figure after
- example before
- equation before
- table before
- procedure before
- </xsl:param>
- <xsl:template match="author" mode="titlepage.mode">
- <xsl:if test="name(preceding-sibling::*[1]) = 'author'">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <span class="{name(.)}">
- <xsl:call-template name="person.name"/>
- (<xsl:value-of select="affiliation"/>)
- <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
- <!--
- <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- -->
- </span>
- </xsl:template>
- <xsl:template match="authorgroup" mode="titlepage.mode">
- <div class="{name(.)}">
- <h2>Authors</h2>
- <p/>
- <xsl:apply-templates mode="titlepage.mode"/>
- </div>
- </xsl:template>
- <!--###################################################
- Headers and Footers
- ################################################### -->
- <!-- let's have a Spring and I21 banner across the top of each page -->
- <xsl:template name="user.header.navigation">
- <div style="background-color:white;border:none;height:73px;border:1px solid black;">
- <a style="border:none;" href="http://www.springframework.org/osgi/"
- title="The Spring Framework - Spring Data">
- <img style="border:none;" src="images/xdev-spring_logo.jpg"/>
- </a>
- <a style="border:none;" href="http://www.SpringSource.com/" title="SpringSource - Spring from the Source">
- <img style="border:none;position:absolute;padding-top:5px;right:42px;" src="images/s2-banner-rhs.png"/>
- </a>
- </div>
- </xsl:template>
- <!-- no other header navigation (prev, next, etc.) -->
- <xsl:template name="header.navigation"/>
- <xsl:param name="navig.showtitles">1</xsl:param>
- <!-- let's have a 'Sponsored by SpringSource' strapline (or somesuch) across the bottom of each page -->
- <xsl:template name="footer.navigation">
- <xsl:param name="prev" select="/foo"/>
- <xsl:param name="next" select="/foo"/>
- <xsl:param name="nav.context"/>
- <xsl:variable name="home" select="/*[1]"/>
- <xsl:variable name="up" select="parent::*"/>
- <xsl:variable name="row1" select="count($prev) &gt; 0
- or count($up) &gt; 0
- or count($next) &gt; 0"/>
- <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)
- or (generate-id($home) != generate-id(.)
- or $nav.context = 'toc')
- or ($chunk.tocs.and.lots != 0
- and $nav.context != 'toc')
- or ($next and $navig.showtitles != 0)"/>
- <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
- <div class="navfooter">
- <xsl:if test="$footer.rule != 0">
- <hr/>
- </xsl:if>
- <xsl:if test="$row1 or $row2">
- <table width="100%" summary="Navigation footer">
- <xsl:if test="$row1">
- <tr>
- <td width="40%" align="left">
- <xsl:if test="count($prev)>0">
- <a accesskey="p">
- <xsl:attribute name="href">
- <xsl:call-template name="href.target">
- <xsl:with-param name="object" select="$prev"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:call-template name="navig.content">
- <xsl:with-param name="direction" select="'prev'"/>
- </xsl:call-template>
- </a>
- </xsl:if>
- <xsl:text>&#160;</xsl:text>
- </td>
-
- <td width="20%" align="center">
- <xsl:choose>
- <xsl:when test="$home != . or $nav.context = 'toc'">
- <a accesskey="h">
- <xsl:attribute name="href">
- <xsl:call-template name="href.target">
- <xsl:with-param name="object" select="$home"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:call-template name="navig.content">
- <xsl:with-param name="direction" select="'home'"/>
- </xsl:call-template>
- </a>
- <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
- <xsl:text>&#160;|&#160;</xsl:text>
- </xsl:if>
- </xsl:when>
- <xsl:otherwise>&#160;</xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
- <a accesskey="t">
- <xsl:attribute name="href">
- <xsl:apply-templates select="/*[1]" mode="recursive-chunk-filename">
- <xsl:with-param name="recursive" select="true()"/>
- </xsl:apply-templates>
- <xsl:text>-toc</xsl:text>
- <xsl:value-of select="$html.ext"/>
- </xsl:attribute>
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'nav-toc'"/>
- </xsl:call-template>
- </a>
- </xsl:if>
- </td>
- <td width="40%" align="right">
- <xsl:text>&#160;</xsl:text>
- <xsl:if test="count($next)>0">
- <a accesskey="n">
- <xsl:attribute name="href">
- <xsl:call-template name="href.target">
- <xsl:with-param name="object" select="$next"/>
- </xsl:call-template>
- </xsl:attribute>
- <xsl:call-template name="navig.content">
- <xsl:with-param name="direction" select="'next'"/>
- </xsl:call-template>
- </a>
- </xsl:if>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="$row2">
- <tr>
- <td width="40%" align="left" valign="top">
- <xsl:if test="$navig.showtitles != 0">
- <xsl:apply-templates select="$prev" mode="object.title.markup"/>
- </xsl:if>
- <xsl:text>&#160;</xsl:text>
- </td>
- <td width="20%" align="center">
- <span style="color:white;font-size:90%;">
- <a href="http://www.SpringSource.com/"
- title="SpringSource - Spring from the Source">Sponsored by SpringSource
- </a>
- </span>
- </td>
- <td width="40%" align="right" valign="top">
- <xsl:text>&#160;</xsl:text>
- <xsl:if test="$navig.showtitles != 0">
- <xsl:apply-templates select="$next" mode="object.title.markup"/>
- </xsl:if>
- </td>
- </tr>
- </xsl:if>
- </table>
- </xsl:if>
- </div>
- </xsl:if>
- </xsl:template>
-</xsl:stylesheet>
View
53 src/main/assembly/distribution.xml
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<assembly>
- <!-- distribution assembly descriptor. packages up jars, source jars, documentation,
- dependencies and other resources into a single archive suitable for download and
- standalone use.
- see pom.xml 'maven-assembly-plugin' declaration
- see src/main/scripts/build-distribution.sh
- see http://www.sonatype.com/books/mvnref-book/reference/assemblies-set-dist-assemblies.html -->
- <id>distribution</id>
- <formats>
- <format>zip</format>
- </formats>
- <includeBaseDirectory>true</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <!-- adds readme and other textfiles to the root of the distribution archive -->
- <directory>src/main/resources</directory>
- <includes>
- <include>readme.txt</include>
- <include>license.txt</include>
- <include>notice.txt</include>
- <include>changelog.txt</include>
- </includes>
- <outputDirectory/>
- <lineEnding>dos</lineEnding>
- </fileSet>
- <fileSet>
- <!-- adds reference manual (html and pdf) to the distribution archive under the
- 'docs/reference' directory
- see pom.xml 'maven-javadoc-plugin' declaration -->
- <directory>target/site/reference</directory>
- <outputDirectory>docs/reference</outputDirectory>
- </fileSet>
- <fileSet>
- <!-- adds javadoc html to the distribution archive under the 'docs/javadoc' directory
- see pom.xml 'maven-javadoc-plugin' declaration -->
- <directory>target/site/apidocs</directory>
- <outputDirectory>docs/javadoc</outputDirectory>
- </fileSet>
- </fileSets>
- <files>
- <file>
- <source>target/${dist.finalName}.jar</source>
- <outputDirectory>dist</outputDirectory>
- <fileMode>0644</fileMode>
- </file>
- <file>
- <source>target/${dist.finalName}-sources.jar</source>
- <outputDirectory>sources</outputDirectory>
- <fileMode>0644</fileMode>
- </file>
- </files>
-</assembly>
View
22 src/main/assembly/jar-with-dependencies.descriptor.xml
@@ -1,22 +0,0 @@
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
- <id>all</id>
- <formats>
- <format>jar</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
- <dependencySets>
- <dependencySet>
- <outputDirectory>/</outputDirectory>
- <useProjectArtifact>true</useProjectArtifact>
- <unpack>true</unpack>
- <scope>runtime</scope>
- <useTransitiveFiltering>true</useTransitiveFiltering>
- <excludes>
- <exclude>org.apache.solr:solr-core</exclude>
- <exclude>org.apache.lucene:*</exclude>
- </excludes>
- </dependencySet>
- </dependencySets>
-</assembly>
View
2  ...ramework/data/solr/HttpSolrServerFactoryTest.java → ...amework/data/solr/HttpSolrServerFactoryTests.java
@@ -33,7 +33,7 @@
/**
* @author Christoph Strobl
*/
-public class HttpSolrServerFactoryTest {
+public class HttpSolrServerFactoryTests {
private static final String URL = "http://solr.server.url";
private SolrServer solrServer;
View
2  ...ringframework/data/solr/core/QueryParserTest.java → ...ingframework/data/solr/core/QueryParserTests.java
@@ -52,7 +52,7 @@
* @author Christoph Strobl
* @author John Dorman
*/
-public class QueryParserTest {
+public class QueryParserTests {
private QueryParser queryParser;
View
2  ...ingframework/data/solr/core/ResultHelperTest.java → ...ngframework/data/solr/core/ResultHelperTests.java
@@ -46,7 +46,7 @@
* @author Christoph Strobl
*/
@RunWith(MockitoJUnitRunner.class)
-public class ResultHelperTest {
+public class ResultHelperTests {
@Mock
private QueryResponse response;
View
2  ...k/data/solr/core/SolrExceptionTranslatorTest.java → .../data/solr/core/SolrExceptionTranslatorTests.java
@@ -32,7 +32,7 @@
* @author Christoph Strobl
*
*/
-public class SolrExceptionTranslatorTest {
+public class SolrExceptionTranslatorTests {
private SolrExceptionTranslator exceptionTranslator = new SolrExceptionTranslator();
View
2  ...ingframework/data/solr/core/SolrTemplateTest.java → ...ngframework/data/solr/core/SolrTemplateTests.java
@@ -56,7 +56,7 @@
* @author Christoph Strobl
*/
@RunWith(MockitoJUnitRunner.class)
-public class SolrTemplateTest {
+public class SolrTemplateTests {
private SolrTemplate solrTemplate;
View
2  ...ata/solr/core/convert/DateTimeConvertersTest.java → ...ta/solr/core/convert/DateTimeConvertersTests.java
@@ -27,7 +27,7 @@
/**
* @author Christoph Strobl
*/
-public class DateTimeConvertersTest {
+public class DateTimeConvertersTests {
@Test
public void testJodaDateTimeConverterWithNullValue() {
View
6 ...work/data/solr/core/convert/GeoConverterTest.java → ...ork/data/solr/core/convert/GeoConverterTests.java
@@ -20,8 +20,8 @@
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
-import org.springframework.data.solr.core.convert.GeoConverterTest.DistanceConverterTest;
-import org.springframework.data.solr.core.convert.GeoConverterTest.GeoLocationConverterTest;
+import org.springframework.data.solr.core.convert.GeoConverterTests.DistanceConverterTest;
+import org.springframework.data.solr.core.convert.GeoConverterTests.GeoLocationConverterTest;
import org.springframework.data.solr.core.geo.Distance;
import org.springframework.data.solr.core.geo.Distance.Unit;
import org.springframework.data.solr.core.geo.GeoConverters;
@@ -32,7 +32,7 @@
*/
@RunWith(Suite.class)
@SuiteClasses({ GeoLocationConverterTest.class, DistanceConverterTest.class })
-public class GeoConverterTest {
+public class GeoConverterTests {
public static class GeoLocationConverterTest {