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

rempl-core-1.1.3.pom.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0"?>
<!--
 *
 * Copyright (c) 2011, REMPL.com
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1) Redistributions of source code must retain the above copyright
 * notice, this list of conditions and the following disclaimer.
 * 2) Redistributions in binary form must reproduce the above
 * copyright notice, this list of conditions and the following
 * disclaimer in the documentation and/or other materials provided
 * with the distribution.
 * 3) Neither the name of the REMPL.com nor the names of its
 * contributors may be used to endorse or promote products derived
 * from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
 * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * @version $Id: build.xml 30 2010-12-15 08:08:32Z [email protected] $
 *
 -->
<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>com.rempl</groupId>
        <artifactId>rempl</artifactId>
        <version>1.1.3</version> <!-- REMPL-VERSION -->
    </parent>
    <artifactId>rempl-core</artifactId>
    <packaging>jar</packaging>
    <name>rempl-core</name>

    <dependencies>
        <dependency>
            <groupId>com.rempl</groupId>
            <artifactId>rempl-api</artifactId>
            <scope>provided</scope>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <groupId>com.rempl</groupId>
            <artifactId>rempl-tk</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <groupId>com.rempl</groupId>
            <artifactId>rempl-utils</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr-runtime</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <!-- see details in rempl/pom.xml -->
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
            <scope>test</scope>
        </dependency>
        <dependency>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>xml-apis</groupId>
            <artifactId>xml-apis</artifactId>
            <!-- see details in rempl/pom.xml/dependencyManagement -->
        </dependency>
        <dependency>
            <groupId>com.ymock</groupId>
            <artifactId>ymock-util</artifactId>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <!--
                ANTLR3 plugin. More details in parent pom.
                -->
                <groupId>org.antlr</groupId>
                <artifactId>antlr3-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>antlr</id>
                        <goals>
                            <goal>antlr</goal>
                        </goals>
                        <phase>generate-sources</phase>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <!-- @todo #40: When tests migrate from assertTrue
             assertFalse to assertThat, we can remove whole
             aspectj profile from here (correct one will
             be inheritet from the parent -->
        <profile>
            <id>aspectj</id>
            <activation>
                <property><name>aj</name></property>
            </activation>
            <dependencies>        
                <dependency>
                    <groupId>com.rempl</groupId>
                    <artifactId>rempl-aspects</artifactId>
                    <!-- see details in rempl/pom.xml/dependencyManagement -->
                </dependency>
            </dependencies>        
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>aspectj-maven-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>weave-classes</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>compile</goal>
                                </goals>
                            </execution>
                            <execution>
                                <id>weave-test-classes</id>
                                <phase>package</phase>
                                <goals>
                                    <goal>test-compile</goal>
                                </goals>
                            </execution>
                        </executions>
                        <dependencies>
                            <dependency>
                                <groupId>org.aspectj</groupId>
                                <artifactId>aspectjrt</artifactId>
                                <version>1.6.10</version>
                                <scope>runtime</scope>
                            </dependency>
                        </dependencies>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>static-analysis</id>
            <activation>
                <property><name>ci</name></property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <!--
                        Ignore auto-generated classes.
                        -->
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>findbugs-maven-plugin</artifactId>
                        <configuration>
                            <excludeFilterFile>
                                ${basedir}/src/test/maven/findbugs/exclude.xml
                            </excludeFilterFile>
                        </configuration>
                    </plugin>
                    <plugin>
                        <!--
                        Ignore auto-generated classes.
                        -->
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>cobertura-maven-plugin</artifactId>
                        <configuration>
                            <instrumentation>
                                <excludes>
                                    <exclude>com/rempl/core/model/*</exclude>
                                </excludes>
                            </instrumentation>
                        </configuration>
                    </plugin>
                    <!--
                    @todo 41: disabling because tests don't pass checkstyle, remove
                    this plugin from here when the test conform with checkstyle
                    -->
                    <plugin>
                        <!-- version and configuration is in pluginManagement section -->
                        <artifactId>maven-checkstyle-plugin</artifactId>
                        <executions>
                            <execution>
                                <id>check-tests</id>
                                <phase>none</phase>
                                <goals>
                                    <goal>check</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

</project>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy