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

Summary

Security: Model.

The modello model for the storage of users, roles, privileges, and the mapping of users to roles. (and a bit of legacy code, not yet refactored out.).

Declaration

Here is the list of declaration for security-model. 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-model</artifactId>
   <version>2.4</version>
</dependency>

If you think this Maven repository POM file listing for security-model 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-model-2.4.jar

  1. modello-maven-plugin
  2. modello-plugin-upgrade

Packages

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

org.sonatype.security.legacy.model.v1_0_0
org.sonatype.security.legacy.model.v1_0_0.io.xpp3
org.sonatype.security.model
org.sonatype.security.model.io.xpp3
org.sonatype.security.model.source
org.sonatype.security.model.v2_0_0
org.sonatype.security.model.v2_0_0.io.xpp3
org.sonatype.security.model.v2_0_1
org.sonatype.security.model.v2_0_1.io.xpp3
org.sonatype.security.model.v2_0_2
org.sonatype.security.model.v2_0_2.io.xpp3
org.sonatype.security.model.v2_0_3
org.sonatype.security.model.v2_0_3.io.xpp3
org.sonatype.security.model.v2_0_3.upgrade
org.sonatype.security.model.v2_0_4
org.sonatype.security.model.v2_0_4.io.xpp3
org.sonatype.security.model.v2_0_4.upgrade
org.sonatype.security.model.v2_0_5.upgrade
org.sonatype.security.realms.privileges
org.sonatype.security.realms.privileges.application
org.sonatype.security.realms.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-model</artifactId>
  <name>Security: Model</name>
  <description>The modello model for the storage of users, roles, privileges, and the mapping of users to roles. (and a bit of legacy code, not yet refactored out.)</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>

  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.modello</groupId>
        <artifactId>modello-maven-plugin</artifactId>
        <executions>
          <execution>
            <id>security.xml</id>
            <goals>
              <goal>java</goal>
              <goal>xsd</goal>
              <goal>xpp3-reader</goal>
              <goal>xpp3-writer</goal>
            </goals>
            <configuration>
              <version>2.0.5</version>
              <models>
                <model>src/main/mdo/security.xml</model>
              </models>
              <packagedVersions>
                <packagedVersion>2.0.0</packagedVersion>
                <packagedVersion>2.0.1</packagedVersion>
                <packagedVersion>2.0.2</packagedVersion>
                <packagedVersion>2.0.3</packagedVersion>
                <packagedVersion>2.0.4</packagedVersion>
              </packagedVersions>
            </configuration>
          </execution>
          <execution>
            <id>security-old.xml</id>
            <goals>
              <goal>java</goal>
              <goal>xsd</goal>
              <goal>xpp3-reader</goal>
            </goals>
            <configuration>
              <version>1.0.0</version>
              <models>
                <model>src/main/mdo/security-old.xml</model>
              </models>
              <packageWithVersion>true</packageWithVersion>
              <!-- <packagedVersions> <packagedVersion>1.0.0</packagedVersion> </packagedVersions> -->
            </configuration>
          </execution>
        </executions>
        <configuration>
          <packageWithVersion>false</packageWithVersion>
        </configuration>
      </plugin>

      <plugin>
        <!-- TODO remove when upgrade generator is marged into modello -->
        <groupId>org.sonatype.plugins</groupId>
        <artifactId>modello-plugin-upgrade
        </artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>security-upgrade</id>
            <goals>
              <goal>upgrade</goal>
            </goals>
            <configuration>
              <version>2.0.5</version>
              <models>
                <model>src/main/mdo/security.xml</model>
              </models>
              <packagedVersions>
                <packagedVersion>2.0.2</packagedVersion>
                <packagedVersion>2.0.3</packagedVersion>
                <packagedVersion>2.0.4</packagedVersion>
              </packagedVersions>
            </configuration>
          </execution>
        </executions>
        <configuration>
          <packageWithVersion>false</packageWithVersion>
        </configuration>
        <dependencies>
          <dependency>
            <groupId>commons-collections</groupId>
            <artifactId>commons-collections</artifactId>
            <version>3.2</version>
          </dependency>
        </dependencies>
      </plugin>

    </plugins>
    <pluginManagement>
      <plugins>
        <!--TODO TEXT. This plugin's configuration is used in m2e only. -->
        <plugin>
          <groupId>org.eclipse.m2e</groupId>
          <artifactId>lifecycle-mapping</artifactId>
          <version>1.0.0</version>
          <configuration>
            <lifecycleMappingMetadata>
              <pluginExecutions>
                <pluginExecution>
                  <pluginExecutionFilter>
                    <groupId>
                      org.sonatype.plugins
                    </groupId>
                    <artifactId>
                      modello-plugin-upgrade
                    </artifactId>
                    <versionRange>[1.0,)</versionRange>
                    <goals>
                      <goal>upgrade</goal>
                    </goals>
                  </pluginExecutionFilter>
                  <action>
                    <ignore />
                  </action>
                </pluginExecution>
              </pluginExecutions>
            </lifecycleMappingMetadata>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>