summaryrefslogtreecommitdiffstats
path: root/services/activity-spec/pom.xml
blob: 2b574000cd058998672e0f9d5f186593fa892d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

    <modelVersion>4.0.0</modelVersion>

    <groupId>org.onap.sdc.activityspec</groupId>
    <artifactId>activity-spec</artifactId>
    <packaging>pom</packaging>

    <parent>
        <groupId>org.openecomp.sdc</groupId>
        <artifactId>sdc-main</artifactId>
        <version>1.2.0-SNAPSHOT</version>
        <relativePath>../..</relativePath>
    </parent>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <mvn.surefire.version>2.19.1</mvn.surefire.version>
        <jacoco.version>0.7.9</jacoco.version>
        <mvn.compiler.version>2.5.1</mvn.compiler.version>
        <mvn.license.version>1.10</mvn.license.version>
        <mvn.assembly.version>2.1</mvn.assembly.version>
        <mvn.deploy.version>2.4</mvn.deploy.version>
        <mvn.jar.version>2.4</mvn.jar.version>
        <mvn.war.version>2.1.1</mvn.war.version>
        <mvn.swagger.version>3.1.0</mvn.swagger.version>
        <mvn.resources.version>3.0.2</mvn.resources.version>
        <mvn.docker.version>0.23.0</mvn.docker.version>

        <mockito.all.version>1.10.19</mockito.all.version>
        <spring.framework.version>4.1.3.RELEASE</spring.framework.version>
        <cxf.version>3.1.8</cxf.version>
        <ws.rs.version>2.0.1</ws.rs.version>
        <javax.inject.version>1</javax.inject.version>
        <jersey.multipart.version>1.18.1</jersey.multipart.version>
        <javax.servlet.version>2.5</javax.servlet.version>
        <org.codehaus.jackson.version>1.9.13</org.codehaus.jackson.version>
        <nexus.proxy>https://nexus.onap.org</nexus.proxy>
        <sitePath>/content/sites/site/org/onap/sdc/activityspec/${project.version}</sitePath>

    </properties>

    <modules>
        <module>activity-spec-web</module>
        <module>activity-spec-init</module>
    </modules>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>${mvn.compiler.version}</version>
                </plugin>
                <plugin>
                    <groupId>io.fabric8</groupId>
                    <artifactId>docker-maven-plugin</artifactId>
                    <version>${mvn.docker.version}</version>
                    <configuration>
                        <verbose>false</verbose>
                        <registry>nexus3.onap.org:10001</registry>
                        <authConfig>
                            <pull>
                                <username>docker</username>
                                <password>docker</password>
                            </pull>
                        </authConfig>
                    </configuration>
                    <executions>
                        <execution>
                            <id>docker-build</id>
                            <phase>install</phase>
                            <goals>
                                <goal>build</goal>
                            </goals>
                        </execution>
                        <execution>
                            <id>push-images</id>
                            <phase>deploy</phase>
                            <goals>
                                <goal>push</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>1.16.20</version>
                <scope>provided</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <repositories>
        <!-- LF repositories -->
        <repository>
            <id>ecomp-releases</id>
            <name>Release Repository</name>
            <url>${nexus.proxy}/content/repositories/releases/</url>
        </repository>
        <repository>
            <id>ecomp-snapshots</id>
            <name>Snapshots Repository</name>
            <url>${nexus.proxy}/content/repositories/snapshots/</url>
        </repository>
        <repository>
            <id>ecomp-public</id>
            <name>Public Repository</name>
            <url>${nexus.proxy}/content/repositories/public/</url>
        </repository>
        <!-- LF repositories END-->
    </repositories>

    <distributionManagement>
        <repository>
            <id>ecomp-releases</id>
            <name>Release Repository</name>
            <url>${nexus.proxy}/content/repositories/releases/</url>
        </repository>
        <snapshotRepository>
            <id>ecomp-snapshots</id>
            <name>Snapshot Repository</name>
            <url>${nexus.proxy}/content/repositories/snapshots/</url>
        </snapshotRepository>
        <site>
            <id>ecomp-site</id>
            <url>dav:${nexus.proxy}${sitePath}</url>
        </site>
    </distributionManagement>

</project>