remove animal sniffer we are now 1.6
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1350638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
536c31029b
commit
c2d6f8a2c8
31
pom.xml
31
pom.xml
|
@ -760,15 +760,6 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<!-- for JRE requirement check annotation -->
|
|
||||||
<groupId>org.jvnet</groupId>
|
|
||||||
<artifactId>animal-sniffer-annotation</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
<optional>true</optional><!-- no need to have this at runtime -->
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
|
@ -846,28 +837,6 @@
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<!-- make sure our code doesn't have 1.6 dependencies -->
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
||||||
<version>1.8</version>
|
|
||||||
<configuration>
|
|
||||||
<signature>
|
|
||||||
<groupId>org.codehaus.mojo.signature</groupId>
|
|
||||||
<artifactId>java15</artifactId>
|
|
||||||
<version>1.0</version>
|
|
||||||
</signature>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>check-java-1.5-compat</id>
|
|
||||||
<phase>process-classes</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>check</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
|
@ -20,7 +20,6 @@ package org.apache.archiva.redback.common.ldap.connection;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import com.sun.jndi.ldap.LdapCtxFactory;
|
import com.sun.jndi.ldap.LdapCtxFactory;
|
||||||
import org.jvnet.animal_sniffer.IgnoreJRERequirement;
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
@ -60,13 +59,11 @@ public class LdapConnection
|
||||||
|
|
||||||
private List<Rdn> baseDnRdns;
|
private List<Rdn> baseDnRdns;
|
||||||
|
|
||||||
@IgnoreJRERequirement
|
|
||||||
private static void initCtxFactory()
|
private static void initCtxFactory()
|
||||||
{
|
{
|
||||||
ctxFactory = new LdapCtxFactory();
|
ctxFactory = new LdapCtxFactory();
|
||||||
}
|
}
|
||||||
|
|
||||||
@IgnoreJRERequirement
|
|
||||||
public LdapConnection( LdapConnectionConfiguration config, Rdn subRdn )
|
public LdapConnection( LdapConnectionConfiguration config, Rdn subRdn )
|
||||||
throws LdapException
|
throws LdapException
|
||||||
{
|
{
|
||||||
|
@ -107,7 +104,6 @@ public class LdapConnection
|
||||||
* @param password
|
* @param password
|
||||||
* @throws LdapException
|
* @throws LdapException
|
||||||
*/
|
*/
|
||||||
@IgnoreJRERequirement
|
|
||||||
public LdapConnection( LdapConnectionConfiguration config, String bindDn, String password )
|
public LdapConnection( LdapConnectionConfiguration config, String bindDn, String password )
|
||||||
throws LdapException
|
throws LdapException
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue