Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<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>org.kuali.student.db</groupId>
        <artifactId>ks-cfg-dbs</artifactId>
        <version>2.0.2-cm</version>
    </parent>
    <artifactId>ks-rice-db</artifactId>
    <name>KS Rice Impex</name>
    <description>Kuali Student Rice Impex</description>
    <properties>
        <ks.impex.username>KSRICE</ks.impex.username>
        <ks.impex.password>KSRICE</ks.impex.password>
        <scm.phase>process-resources</scm.phase>
    </properties>
    <profiles>
        <profile>
            <id>ks-db</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>drop-db-config</id>
                                <phase>pre-clean</phase>
                            </execution>
                            <execution>
                                <id>dba-config</id>
                                <phase>validate</phase>
                            </execution>
                            <execution>
                                <id>init-db-config</id>
                                <phase>initialize</phase>
                            </execution>
                            <execution>
                                <id>db-config</id>
                                <phase>verify</phase>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>generate-xml</id>
            <properties>
                <ks.impex.username>${ks.impex.masterdb.username}</ks.impex.username>
                <ks.impex.password>${ks.impex.masterdb.password}</ks.impex.password>
            </properties>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>pre-export-config</id>
                                <phase>none</phase>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>sql-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>execute-pre-export-sql</id>
                                <phase>none</phase>
                            </execution>
                        </executions>
                    </plugin>
                    <plugin>
                        <groupId>org.kuali.maven.plugins</groupId>
                        <artifactId>maven-impex-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>export-db</id>
                                <configuration>
                                    <includes>^KR.*</includes>
                                </configuration>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
New to GrepCode? Check out our FAQ X