mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	Fixes: #6346 Move LDAP embedded server dependencies to test scope so they aren't packaged in final management server jar. Co-authored-by: Marcus Sorensen <mls@apple.com>
		
			
				
	
	
		
			234 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			234 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<!--
 | 
						|
  Licensed to the Apache Software Foundation (ASF) under one
 | 
						|
  or more contributor license agreements.  See the NOTICE file
 | 
						|
  distributed with this work for additional information
 | 
						|
  regarding copyright ownership.  The ASF licenses this file
 | 
						|
  to you 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.
 | 
						|
-->
 | 
						|
<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>
 | 
						|
    <artifactId>cloud-plugin-user-authenticator-ldap</artifactId>
 | 
						|
    <name>Apache CloudStack Plugin - User Authenticator LDAP</name>
 | 
						|
    <parent>
 | 
						|
        <groupId>org.apache.cloudstack</groupId>
 | 
						|
        <artifactId>cloudstack-plugins</artifactId>
 | 
						|
        <version>4.17.0.0-SNAPSHOT</version>
 | 
						|
        <relativePath>../../pom.xml</relativePath>
 | 
						|
    </parent>
 | 
						|
 | 
						|
    <properties>
 | 
						|
        <ads.version>2.0.0.AM25</ads.version>
 | 
						|
        <gmaven.version>1.5</gmaven.version>
 | 
						|
        <ldap-maven.version>1.3.2</ldap-maven.version>
 | 
						|
        <ldapunit.version>1.1.3</ldapunit.version>
 | 
						|
        <groovy.version>1.1-groovy-2.4</groovy.version>
 | 
						|
        <zapdot.version>0.7</zapdot.version>
 | 
						|
        <unboundedid.version>4.0.14</unboundedid.version>
 | 
						|
    </properties>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <plugins>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.codehaus.gmaven</groupId>
 | 
						|
                <artifactId>gmaven-plugin</artifactId>
 | 
						|
                <version>${gmaven.version}</version>
 | 
						|
                <configuration>
 | 
						|
                    <providerSelection>1.7</providerSelection>
 | 
						|
                    <source/>
 | 
						|
                </configuration>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <goals>
 | 
						|
                            <goal>compile</goal>
 | 
						|
                            <goal>testCompile</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <sources>
 | 
						|
                                <fileset>
 | 
						|
                                    <directory>test</directory>
 | 
						|
                                    <includes>
 | 
						|
                                        <include>groovy/**/*.groovy</include>
 | 
						|
                                    </includes>
 | 
						|
                                </fileset>
 | 
						|
                            </sources>
 | 
						|
                        </configuration>
 | 
						|
                    </execution>
 | 
						|
                </executions>
 | 
						|
                <dependencies>
 | 
						|
                    <dependency>
 | 
						|
                        <groupId>org.codehaus.gmaven.runtime</groupId>
 | 
						|
                        <artifactId>gmaven-runtime-1.7</artifactId>
 | 
						|
                        <version>${gmaven.version}</version>
 | 
						|
                        <exclusions>
 | 
						|
                            <exclusion>
 | 
						|
                                <groupId>org.codehaus.groovy</groupId>
 | 
						|
                                <artifactId>groovy-all</artifactId>
 | 
						|
                            </exclusion>
 | 
						|
                        </exclusions>
 | 
						|
                    </dependency>
 | 
						|
                    <dependency>
 | 
						|
                        <groupId>org.codehaus.groovy</groupId>
 | 
						|
                        <artifactId>groovy-all</artifactId>
 | 
						|
                        <version>${cs.groovy.version}</version>
 | 
						|
                    </dependency>
 | 
						|
                </dependencies>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-surefire-plugin</artifactId>
 | 
						|
                <configuration>
 | 
						|
                    <includes>
 | 
						|
                        <include>**/*Spec.groovy</include>
 | 
						|
                        <include>**/*Test.java</include>
 | 
						|
                    </includes>
 | 
						|
                    <excludes>
 | 
						|
                        <exclude>META-INF/*.SF</exclude>
 | 
						|
                        <exclude>META-INF/*.DSA</exclude>
 | 
						|
                        <exclude>META-INF/*.RSA</exclude>
 | 
						|
                    </excludes>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>com.btmatthews.maven.plugins</groupId>
 | 
						|
                <artifactId>ldap-maven-plugin</artifactId>
 | 
						|
                <version>${ldap-maven.version}</version>
 | 
						|
                <configuration>
 | 
						|
                    <monitorPort>11389</monitorPort>
 | 
						|
                    <monitorKey>ldap</monitorKey>
 | 
						|
                    <daemon>false</daemon>
 | 
						|
                    <rootDn>dc=cloudstack,dc=org</rootDn>
 | 
						|
                    <ldapPort>10389</ldapPort>
 | 
						|
                    <ldifFile>src/test/resources/cloudstack.org.ldif</ldifFile>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
        </plugins>
 | 
						|
        <testSourceDirectory>src/test/java</testSourceDirectory>
 | 
						|
    </build>
 | 
						|
    <dependencies>
 | 
						|
        <!-- Mandatory dependencies for using Spock -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.btmatthews.ldapunit</groupId>
 | 
						|
            <artifactId>ldapunit</artifactId>
 | 
						|
            <version>${ldapunit.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.spockframework</groupId>
 | 
						|
            <artifactId>spock-core</artifactId>
 | 
						|
            <version>${groovy.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <!-- Optional dependencies for using Spock -->
 | 
						|
        <dependency> <!-- enables mocking of classes (in addition to interfaces) -->
 | 
						|
            <groupId>cglib</groupId>
 | 
						|
            <artifactId>cglib-nodep</artifactId>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.zapodot</groupId>
 | 
						|
            <artifactId>embedded-ldap-junit</artifactId>
 | 
						|
            <version>${zapdot.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.unboundid</groupId>
 | 
						|
            <artifactId>unboundid-ldapsdk</artifactId>
 | 
						|
            <version>${unboundedid.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.mockito</groupId>
 | 
						|
            <artifactId>mockito-core</artifactId>
 | 
						|
            <version>${cs.mockito.version}</version>
 | 
						|
            <scope>compile</scope>
 | 
						|
            <exclusions>
 | 
						|
                <exclusion>
 | 
						|
                    <groupId>net.bytebuddy</groupId>
 | 
						|
                    <artifactId>byte-buddy</artifactId>
 | 
						|
                </exclusion>
 | 
						|
            </exclusions>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>net.bytebuddy</groupId>
 | 
						|
            <artifactId>byte-buddy</artifactId>
 | 
						|
            <version>1.10.5</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>junit</groupId>
 | 
						|
            <artifactId>junit</artifactId>
 | 
						|
            <version>${cs.junit.version}</version>
 | 
						|
            <scope>compile</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-server-integ</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
            <exclusions>
 | 
						|
                <exclusion>
 | 
						|
                    <artifactId>log4j</artifactId>
 | 
						|
                    <groupId>log4j</groupId>
 | 
						|
                </exclusion>
 | 
						|
                <!--
 | 
						|
                 shared-ldap-schema module needs to be excluded to avoid multiple schema resources on the classpath
 | 
						|
                -->
 | 
						|
                <exclusion>
 | 
						|
                    <groupId>org.apache.directory.shared</groupId>
 | 
						|
                    <artifactId>shared-ldap-schema</artifactId>
 | 
						|
                </exclusion>
 | 
						|
            </exclusions>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-core-constants</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-core-annotations</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-core</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-protocol-ldap</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-jdbm-partition</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.directory.server</groupId>
 | 
						|
            <artifactId>apacheds-ldif-partition</artifactId>
 | 
						|
            <version>${ads.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>commons-io</groupId>
 | 
						|
            <artifactId>commons-io</artifactId>
 | 
						|
            <version>${cs.commons-io.version}</version>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
</project>
 |