DATACMNS-266 - Use new common Maven build infrastructure.
Simplified project setup to be a single module build again. Using Spring Data Build parent POM to simplify project setup. See https://github.com/SpringSource/spring-data-build#spring-data-build-infrastructure
This commit is contained in:
6
src/test/resources/META-INF/beans.xml
Normal file
6
src/test/resources/META-INF/beans.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
|
||||
</beans>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
org.springframework.data.repository.cdi.DummyCdiExtension
|
||||
16
src/test/resources/logback.xml
Normal file
16
src/test/resources/logback.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d %5p %40.40c:%4L - %m%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<logger name="org.springframework.data.mapping" level="debug" />
|
||||
|
||||
<root level="warn">
|
||||
<appender-ref ref="console" />
|
||||
</root>
|
||||
|
||||
</configuration>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tests xmlns="foo">
|
||||
|
||||
<firstSample>
|
||||
<include-filter type="assignable" expression="java.util.Collection"/>
|
||||
</firstSample>
|
||||
|
||||
<secondSample>
|
||||
<exclude-filter type="assignable" expression="java.util.Collection"/>
|
||||
</secondSample>
|
||||
|
||||
</tests>
|
||||
@@ -0,0 +1,3 @@
|
||||
SpringDataJaxbUnitTests$Wrapper
|
||||
SpringDataJaxbUnitTests$PageWrapper
|
||||
SpringDataJaxbUnitTests$Content
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<wrapper xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sd="http://www.springframework.org/schema/data/jaxb">
|
||||
<sd:page-request page="2" size="15">
|
||||
<sd:order property="firstname" direction="ASC"/>
|
||||
<sd:order property="lastname" direction="ASC"/>
|
||||
</sd:page-request>
|
||||
<sd:page-request-without-sort page="10" size="20"/>
|
||||
<sd:sort>
|
||||
<sd:order property="firstname" direction="ASC"/>
|
||||
<sd:order property="lastname" direction="ASC"/>
|
||||
</sd:sort>
|
||||
</wrapper>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:repository="http://www.springframework.org/schema/data/repository"
|
||||
xmlns:oxm="http://www.springframework.org/schema/oxm"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/oxm http://www.springframework.org/schema/oxm/spring-oxm-3.1.xsd
|
||||
http://www.springframework.org/schema/data/repository http://www.springframework.org/schema/data/repository/spring-repository.xsd
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
||||
|
||||
<repository:jackson-populator id="jackson-populator"
|
||||
locations="classpath:org/springframework/data/repository/init/data.json" />
|
||||
|
||||
<repository:unmarshaller-populator
|
||||
id="xml-populator" locations="classpath:org/springframework/data/repository/init/data.xml"
|
||||
unmarshaller-ref="unmarshaller" />
|
||||
|
||||
<oxm:jaxb2-marshaller id="unmarshaller" contextPath="org.springframework.data.repository.config" />
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,3 @@
|
||||
[ { "_class" : "org.springframework.data.repository.init.Person",
|
||||
"firstname" : "Dave",
|
||||
"lastname" : "Matthews" } ]
|
||||
Reference in New Issue
Block a user