Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!--

    Sonatype Nexus (TM) Open Source Version
    Copyright (c) 2007-2012 Sonatype, Inc.
    All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.

    This program and the accompanying materials are made available under the terms of the Eclipse Public License Version 1.0,
    which accompanies this distribution and is available at http://www.eclipse.org/legal/epl-v10.html.

    Sonatype Nexus (TM) Professional Version is available from Sonatype, Inc. "Sonatype" and "Sonatype Nexus" are trademarks
    of Sonatype, Inc. Apache Maven is a trademark of the Apache Software Foundation. M2eclipse is a trademark of the
    Eclipse Foundation. All other trademarks are the property of their respective owners.

-->
<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/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <artifactId>nexus-ldap-plugin-parent</artifactId>
    <groupId>org.sonatype.nexus.plugins.ldap</groupId>
    <version>2.3.0-02</version>
  </parent>

  <artifactId>nexus-ldap-plugin-it</artifactId>

  <dependencies>
    <dependency>
      <groupId>org.sonatype.sisu</groupId>
      <artifactId>sisu-inject-plexus</artifactId>
    </dependency>

    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-test-harness-launcher</artifactId>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <artifactId>ant</artifactId>
          <groupId>ant</groupId>
        </exclusion>
      </exclusions>
    </dependency>

    <dependency>
      <groupId>org.sonatype.security</groupId>
      <artifactId>security-rest-api</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-web-utils</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.sonatype.nexus.plugins</groupId>
      <artifactId>nexus-restlet1x-plugin</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.sonatype.nexus.plugins.ldap</groupId>
      <artifactId>nexus-ldap-realm-plugin</artifactId>
      <classifier>bundle</classifier>
      <type>zip</type>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-test-common</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.sonatype.nexus.plugins.ldap</groupId>
      <artifactId>nexus-ldap-realm-plugin</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-ldap-testsuite</artifactId>
      <scope>test</scope>
    </dependency>
    
    <dependency>
      <groupId>org.sonatype.nexus</groupId>
      <artifactId>nexus-oss-webapp</artifactId>
      <classifier>bundle</classifier>
      <type>zip</type>
      <scope>test</scope>
    </dependency>

    <!-- NXCM-4591 -->
    <dependency>
      <groupId>org.sonatype.sisu.pr</groupId>
      <artifactId>sisu-pr-testutil</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <profiles>
    <profile>
      <id>it</id>
      <activation>
        <property>
          <name>it</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.sonatype.nexus.plugins</groupId>
            <artifactId>nexus-test-environment-maven-plugin</artifactId>
            <executions>
              <execution>
                <goals>
                  <goal>setup-environment</goal>
                  <goal>package</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <nexusBundleArtifact>
                <groupId>${it.nexus.bundle.groupId}</groupId>
                <artifactId>${it.nexus.bundle.artifactId}</artifactId>
                <version>${it.nexus.bundle.version}</version>
                <type>zip</type>
                <classifier>bundle</classifier>
              </nexusBundleArtifact>
              <nexusVersion>${it.nexus.bundle.version}</nexusVersion>
              <nexusPluginsArtifacts>
                <plugin>
                  <groupId>org.sonatype.nexus</groupId>
                  <artifactId>nexus-it-helper-plugin</artifactId>
                  <version>${project.version}</version>
                  <classifier>cp</classifier>
                </plugin>
                <plugin>
                  <groupId>org.sonatype.nexus</groupId>
                  <artifactId>nexus-it-helper-plugin</artifactId>
                  <classifier>bundle</classifier>
                  <type>zip</type>
                </plugin>
              </nexusPluginsArtifacts>
            </configuration>
          </plugin>

          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-failsafe-plugin</artifactId>
            <configuration>
              <!-- workaround for a bug in apache LDAP server which leaks ~1M of heap during each restart -->
              <argLine>-XX:MaxPermSize=160m -Xmx300M</argLine>
              <!-- LDAP NEEDS tests to be forked or they get broken, do not remove this! -->
              <forkMode>always</forkMode>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

</project>
New to GrepCode? Check out our FAQ X