All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kuali.common.deploy.mvn.properties.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2004-2013 The Kuali Foundation

    Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php

    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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>${parent.groupId}</groupId>
    <artifactId>${parent.artifactId}</artifactId>
    <version>${parent.version}</version>
  </parent>
  <groupId>${project.groupId}</groupId>
  <artifactId>kuali-properties</artifactId>
  <version>${project.version}</version>
  <name>Kuali Properties</name>
  <description>This pom contains plugin executions for reading in and aggregating properties specific to a Kuali application and then exporting them to a properties file</description>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.kuali.maven.plugins</groupId>
          <artifactId>properties-maven-plugin</artifactId>
          <version>${plugin.properties.version}</version>
          <dependencies>
            <dependency>
              <groupId>${project.groupId}</groupId>
              <artifactId>${project.artifactId}</artifactId>
              <version>${project.version}</version>
            </dependency>
            <dependency>
              <groupId>org.kuali.db.sql</groupId>
              <artifactId>kuali-sql</artifactId>
              <version>${kuali-sql.version}</version>
            </dependency>
          </dependencies>
          <executions>
            <execution>
              <id>read</id>
              <phase>validate</phase>
              <goals>
                <goal>read-project-properties</goal>
              </goals>
              <configuration>
                <quiet>false</quiet>
                <locations>
                  <param>${properties.original}</param>
                </locations>
              </configuration>
            </execution>
            <execution>
              <id>translate</id>
              <phase>validate</phase>
              <goals>
                <goal>translate-properties</goal>
              </goals>
              <configuration>
                <properties>
                  <param>deploy.groupId</param>
                </properties>
              </configuration>
            </execution>
            <execution>
              <id>parse</id>
              <phase>validate</phase>
              <goals>
                <goal>parse-version-properties</goal>
              </goals>
              <configuration>
                <properties>
                  <param>deploy.version</param>
                </properties>
              </configuration>
            </execution>
            <execution>
              <id>config</id>
              <phase>validate</phase>
              <goals>
                <goal>read-project-properties</goal>
              </goals>
              <configuration>
                <quiet>true</quiet>
                <locations>
                  <param>classpath:org/kuali/common/deploy/common.properties</param>
                  <param>classpath:${deploy.groupId.path}/common.properties</param>
                  <param>classpath:${deploy.groupId.path}/${deploy.artifactId}.properties</param>
                  <param>classpath:${deploy.groupId.path}/${deploy.version.major}.${deploy.version.minor}.properties</param>
                  <param>classpath:${deploy.groupId.path}/${deploy.env.name}.properties</param>
                  <param>classpath:org/kuali/common/deploy/${db.vendor}.properties</param>
                  <param>classpath:sql.properties</param>
                  <param>classpath:${db.vendor}.xml</param>
                </locations>
              </configuration>
            </execution>
            <execution>
              <id>write</id>
              <phase>validate</phase>
              <goals>
                <goal>write-project-properties</goal>
              </goals>
              <configuration>
                <antEchoPropertiesMode>true</antEchoPropertiesMode>
                <outputFile>${properties.all}</outputFile>
              </configuration>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.kuali.maven.plugins</groupId>
        <artifactId>properties-maven-plugin</artifactId>
      </plugin>
    </plugins>
  </build>
</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy