This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
pom.xml
145 lines (140 loc) · 4.62 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
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
<?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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>zanata-client-ant-properties</artifactId>
<name>Zanata/REST Ant task for Java Properties</name>
<parent>
<groupId>org.zanata</groupId>
<artifactId>zanata-parent</artifactId>
<version>1.4.3-alpha-2</version>
<relativePath>../../zanata-parent/pom.xml</relativePath>
</parent>
<!-- Should be the same as zanata-parent/pom.xml -->
<scm>
<connection>scm:git:git://github.com/zanata/zanata.git</connection>
<developerConnection>scm:git:git@github.com:zanata/zanata.git</developerConnection>
<url>https://github.com/zanata/zanata</url>
</scm>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.1</version>
<scope>compile</scope>
</dependency>
<!-- If only it were released! (want org.apache.ant.antunit.junit3.AntUnitSuite)
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-antunit</artifactId>
<version>1.2</version>
<scope>test</scope>
</dependency>
-->
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.7.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-testutil</artifactId>
<version>1.7.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.zanata</groupId>
<artifactId>zanata-adapter-properties</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.zanata</groupId>
<artifactId>zanata-client-commands</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.zanata</groupId>
<artifactId>zanata-rest-client</artifactId>
<version>${project.version}</version>
</dependency>
<!-- needed by the ant taskdefs.xml -->
<dependency>
<groupId>org.fedorahosted.tennera</groupId>
<artifactId>ant-gettext</artifactId>
<version>0.6</version>
<scope>test</scope>
</dependency>
<!-- needed by the ant taskdefs.xml -->
<dependency>
<groupId>org.fedorahosted.tennera</groupId>
<artifactId>jgettext</artifactId>
<version>0.6</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>runant</id>
<activation>
<property>
<name>runant</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<configuration>
<executable>ant</executable>
<workingDirectory>zanata-ant-demo</workingDirectory>
</configuration>
<executions>
<execution>
<id>runant</id>
<!--
We hook into the install phase so that our own artifacts
will be available in the m2 repo. This lets the
maven ant tasks generate a classpath which includes
the just-built artifacts.
-->
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.6</version>
<configuration>
<!-- force junitrunner, not testng (doesn't understand Ant's BuildTest) -->
<testNGArtifactName>none:none</testNGArtifactName>
<excludes>
<exclude>**/RemoteTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>