Skip to content
pom.xml 3.06 KiB
Newer Older
Sara Bertocco's avatar
Sara Bertocco committed
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>it.inaf.ia2</groupId>
        <artifactId>vospace-parent</artifactId>
        <version>0.0.1-SNAPSHOT</version>
Sara Bertocco's avatar
Sara Bertocco committed
    </parent>
    <groupId>it.inaf.oats</groupId>
    <artifactId>vospace-rest</artifactId>
Sara Bertocco's avatar
Sara Bertocco committed
    <version>0.0.1-SNAPSHOT</version>
    <name>vospace-rest</name>
    <description>VOSpace REST service</description>
Sara Bertocco's avatar
Sara Bertocco committed

    <properties>
        <!-- File catalog repository directory -->
        <init_database_scripts_path>../../../vospace-file-catalog</init_database_scripts_path>
Sonia Zorba's avatar
Sonia Zorba committed
        <finalName>${project.artifactId}-${project.version}</finalName>
Sara Bertocco's avatar
Sara Bertocco committed
    </properties>

    <dependencies>
        <dependency>
            <groupId>it.inaf.ia2</groupId>
            <artifactId>vospace-parent-classes</artifactId>
            <version>0.0.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>redis.clients</groupId>
            <artifactId>jedis</artifactId>
        </dependency>
Sara Bertocco's avatar
Sara Bertocco committed
    </dependencies>

    <build>
Sonia Zorba's avatar
Sonia Zorba committed
        <finalName>${finalName}</finalName>
        <testResources>
            <testResource>
                <directory>src/test/resources</directory>
                <filtering>true</filtering>
                <includes>
                    <include>test.properties</include>
                </includes>
            </testResource>
            <testResource>
                <directory>src/test/resources</directory>
                <filtering>false</filtering>
                <includes>
                    <include>**/*</include>
                </includes>
                <excludes>
                    <exclude>test.properties</exclude>
                </excludes>
            </testResource>
        </testResources>
Sara Bertocco's avatar
Sara Bertocco committed
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
Sara Bertocco's avatar
Sara Bertocco committed
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>ia2-snapshots</id>
            <name>IA2 snapshot repository</name>
            <url>http://repo.ia2.inaf.it/maven/repository/snapshots</url>
        </repository>
    </repositories>

Sara Bertocco's avatar
Sara Bertocco committed
</project>