#251 - Polishing.

Fixed package structure in sources (nested folders instead of dot-separated ones). Removed obsolete dependency in POM and point to relative POMs.
This commit is contained in:
Oliver Gierke
2017-01-28 09:27:42 +01:00
parent 37d5fadf4d
commit 5a450afa09
5 changed files with 7 additions and 15 deletions

View File

@@ -10,6 +10,7 @@
<groupId>org.springframework.data.examples</groupId>
<artifactId>spring-data-ldap-examples</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
</project>

View File

@@ -33,13 +33,9 @@ import org.springframework.ldap.odm.annotations.Id;
@Data
public class Person {
@Id private Name id;
@DnAttribute(value = "uid", index = 3) private String uid;
@Attribute(name = "cn") private String fullName;
@Attribute(name = "sn") private String lastname;
private @Id Name id;
private @DnAttribute(value = "uid", index = 3) String uid;
private @Attribute(name = "cn") String fullName;
private @Attribute(name = "sn") String lastname;
private String userPassword;
}

View File

@@ -9,12 +9,12 @@
<groupId>org.springframework.data.examples</groupId>
<artifactId>spring-data-examples</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>Spring Data LDAP - Examples</name>
<description>Sample projects for Spring Data LDAP</description>
<url>http://projects.spring.io/spring-data-ldap</url>
<inceptionYear>2016-2017</inceptionYear>
<modules>
<module>example</module>
@@ -27,11 +27,6 @@
<artifactId>spring-boot-starter-data-ldap</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>com.unboundid</groupId>
<artifactId>unboundid-ldapsdk</artifactId>
@@ -40,4 +35,4 @@
</dependencies>
</project>
</project>