-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
68 lines (64 loc) · 3.08 KB
/
pom.xml
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
<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>
<groupId>org.apache.ivy.example</groupId>
<artifactId>example-parent</artifactId>
<packaging>pom</packaging>
<version>1.0</version>
<modules>
<module>projects/console</module>
<module>projects/find</module>
<module>projects/list</module>
<module>projects/size</module>
<module>projects/sizewhere</module>
<module>projects/version</module>
</modules>
<properties>
<example.version>1.0</example.version>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>install</phase>
<configuration>
<tasks>
<taskdef name="ivy-resolve" classname="org.apache.ivy.ant.IvyResolve"/>
<taskdef name="ivy-publish" classname="org.apache.ivy.ant.IvyPublish"/>
<property
name="ivy.local.default.root"
value="${project.basedir}/../../repository/local"/>
<ivy-resolve file="ivy.xml"/>
<ivy-publish
artifactspattern="${project.basedir}/target/[module]-[revision].[ext]"
forcedeliver="true"
overwrite="true"
resolver="local"
status="integration"
pubdate="now"
pubrevision="${project.version}"
/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ivy</groupId>
<artifactId>ivy</artifactId>
<version>2.4.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>