Maven Repository - POM file for Security security-configuration 2.4 2.4

Summary

Security: Configuration.

Defines how the security system is configured, which realms are used, the anonymous username/password, and if security is enabled or not..

Declaration

Here is the list of declaration for security-configuration. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.sonatype.security</groupId>
   <artifactId>security-configuration</artifactId>
   <version>2.4</version>
</dependency>

If you think this Maven repository POM file listing for security-configuration is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





Plugin

The following plugins are used in the security-configuration-2.4.jar

  1. modello-maven-plugin

Packages

The following packages are defined in the security-configuration-2.4.jar

org.sonatype.security.configuration
org.sonatype.security.configuration.model
org.sonatype.security.configuration.model.io.xpp3
org.sonatype.security.configuration.source
org.sonatype.security.configuration.validator

POM File Source

Here is the content of the POM file.

<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">
  <parent>
    <artifactId>security-parent</artifactId>
    <groupId>org.sonatype.security</groupId>
    <version>2.4</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.sonatype.security</groupId>
  <artifactId>security-configuration</artifactId>
  <name>Security: Configuration</name>
  <description>Defines how the security system is configured, which realms are used, the anonymous username/password, and if security is enabled or not.</description>

  <dependencies>

    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
    </dependency>
    <dependency>
      <groupId>org.sonatype.sisu</groupId>
      <artifactId>sisu-inject-bean</artifactId>
    </dependency>

    <dependency>
      <groupId>org.sonatype.configuration</groupId>
      <artifactId>base-configuration</artifactId>
    </dependency>

    <dependency>
      <groupId>org.sonatype.plexus</groupId>
      <artifactId>plexus-cipher</artifactId>
    </dependency>

    <!-- TESTS -->
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <scope>test</scope>
    </dependency>
    
    <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>

  </dependencies>

  <build>
    <plugins>

      <plugin>
        <groupId>org.codehaus.modello</groupId>
        <artifactId>modello-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>security-configuraiton.xml</id>
            <goals>
              <goal>java</goal>
              <goal>xsd</goal>
              <goal>xpp3-reader</goal>
              <goal>xpp3-writer</goal>
            </goals>
            <configuration>
              <version>2.0.3</version>
              <models>
                <model>src/main/mdo/security-configuration.xml</model>
              </models>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <packageWithVersion>false</packageWithVersion>
        </configuration>
      </plugin>

    </plugins>
  </build>
</project>