• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3    <modelVersion>4.0.0</modelVersion>
4    <groupId>org.mockftpserver</groupId>
5    <artifactId>MockFtpServer</artifactId>
6    <name>MockFtpServer</name>
7    <description>
8        The MockFtpServer project provides mock/dummy FTP server implementations for testing FTP client
9        code. Two FTP Server implementations are provided, each at a different level of abstraction.
10        FakeFtpServer provides a higher-level abstraction. You define a virtual file system, including
11        directories and files, as well as a set of valid user accounts and credentials. The FakeFtpServer
12        then responds with appropriate replies and reply codes based on that configuration.
13        StubFtpServer, on the other hand, is a lower-level "stub" implementation. You configure the
14        individual FTP server commands to return custom data or reply codes, allowing simulation of
15        either success or failure scenarios. You can also verify expected command invocations.
16    </description>
17    <packaging>jar</packaging>
18    <version>2.5</version>
19    <url>http://mockftpserver.sourceforge.net/</url>
20
21    <scm>
22        <connection>scm:svn:https://mockftpserver.svn.sourceforge.net/svnroot/mockftpserver/MockFtpServer</connection>
23        <developerConnection>scm:svn:https://mockftpserver.svn.sourceforge.net/svnroot/mockftpserver/MockFtpServer
24        </developerConnection>
25        <url>https://mockftpserver.svn.sourceforge.net/svnroot/mockftpserver</url>
26    </scm>
27
28    <dependencies>
29
30        <dependency>
31            <groupId>org.slf4j</groupId>
32            <artifactId>slf4j-api</artifactId>
33            <version>1.6.6</version>
34        </dependency>
35
36        <!-- TESTING ONLY -->
37
38        <dependency>
39          <groupId>org.codehaus.groovy</groupId>
40          <artifactId>groovy-all</artifactId>
41          <version>1.7.10</version>
42            <scope>test</scope>
43        </dependency>
44
45
46        <dependency>
47            <groupId>commons-net</groupId>
48            <artifactId>commons-net</artifactId>
49            <version>1.4.1</version>
50            <scope>test</scope>
51        </dependency>
52
53        <dependency>
54            <groupId>easymock</groupId>
55            <artifactId>easymock</artifactId>
56            <version>1.2_Java1.3</version>
57            <scope>test</scope>
58        </dependency>
59
60        <dependency>
61            <groupId>junit-addons</groupId>
62            <artifactId>junit-addons</artifactId>
63            <version>1.4</version>
64            <scope>test</scope>
65        </dependency>
66
67        <dependency>
68            <groupId>org.springframework</groupId>
69            <artifactId>spring</artifactId>
70            <version>2.0.7</version>
71            <scope>test</scope>
72        </dependency>
73
74        <dependency>
75            <groupId>org.slf4j</groupId>
76            <artifactId>slf4j-log4j12</artifactId>
77            <version>1.6.6</version>
78            <scope>test</scope>
79        </dependency>
80
81        <!-- Transitive dependency.
82        <dependency>
83          <groupId>junit</groupId>
84          <artifactId>junit</artifactId>
85          <version>3.8.1</version>
86          <scope>test</scope>
87        </dependency>
88        -->
89
90    </dependencies>
91
92    <distributionManagement>
93        <snapshotRepository>
94            <id>ossrh</id>
95            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
96        </snapshotRepository>
97        <repository>
98            <id>ossrh</id>
99            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
100        </repository>
101    </distributionManagement>
102
103    <build>
104        <plugins>
105
106            <plugin>
107               <groupId>org.codehaus.gmaven</groupId>
108               <artifactId>gmaven-plugin</artifactId>
109               <version>1.3</version>
110               <configuration>
111                 <providerSelection>1.7</providerSelection>
112               </configuration>
113               <executions>
114                 <execution>
115                   <goals>
116                       <goal>generateStubs</goal>
117                       <goal>compile</goal>
118                       <goal>generateTestStubs</goal>
119                       <goal>testCompile</goal>
120                      <!--if you want joint compilation, add stub generation goals here-->
121                   </goals>
122                 </execution>
123               </executions>
124               <dependencies>
125                 <dependency>
126                   <groupId>org.codehaus.gmaven.runtime</groupId>
127                   <artifactId>gmaven-runtime-1.7</artifactId>
128                   <version>1.3</version>
129                   <exclusions>
130                     <exclusion>
131                       <groupId>org.codehaus.groovy</groupId>
132                       <artifactId>groovy-all</artifactId>
133                     </exclusion>
134                   </exclusions>
135                 </dependency>
136                 <dependency>
137                   <groupId>org.codehaus.groovy</groupId>
138                   <artifactId>groovy-all</artifactId>
139                   <version>1.7.10</version>
140                 </dependency>
141               </dependencies>
142            </plugin>
143
144            <plugin>
145                <groupId>org.apache.maven.plugins</groupId>
146                <artifactId>maven-compiler-plugin</artifactId>
147                <configuration>
148                    <verbose>true</verbose>
149                    <source>1.4</source>
150                    <target>1.4</target>
151                    <fork>true</fork>
152                </configuration>
153            </plugin>
154
155            <!-- clean coverage data before collecting -->
156            <plugin>
157                <artifactId>cobertura-maven-plugin</artifactId>
158                <groupId>org.codehaus.mojo</groupId>
159                <version>2.0</version>
160                <executions>
161                    <execution>
162                        <goals>
163                            <goal>clean</goal>
164                        </goals>
165                    </execution>
166                </executions>
167            </plugin>
168
169            <plugin>
170                <groupId>org.apache.maven.plugins</groupId>
171                <artifactId>maven-jar-plugin</artifactId>
172                <configuration>
173                    <archive>
174                        <manifestEntries>
175                            <MockFtpServer-Version>${pom.version}</MockFtpServer-Version>
176                        </manifestEntries>
177                    </archive>
178                </configuration>
179            </plugin>
180
181            <!--<plugin>-->
182                <!--<groupId>org.apache.maven.plugins</groupId>-->
183                <!--<artifactId>maven-source-plugin</artifactId>-->
184                <!--<executions>-->
185                    <!--<execution>-->
186                        <!--<id>attach-sources</id>-->
187                        <!--<phase>package</phase>-->
188                        <!--<goals>-->
189                            <!--<goal>jar</goal>-->
190                        <!--</goals>-->
191                    <!--</execution>-->
192                <!--</executions>-->
193            <!--</plugin>-->
194
195            <plugin>
196                <groupId>org.apache.maven.plugins</groupId>
197                <artifactId>maven-source-plugin</artifactId>
198                <version>2.2.1</version>
199                <executions>
200                    <execution>
201                        <id>attach-sources</id>
202                        <goals>
203                            <goal>jar-no-fork</goal>
204                        </goals>
205                    </execution>
206                </executions>
207            </plugin>
208            <plugin>
209                <groupId>org.apache.maven.plugins</groupId>
210                <artifactId>maven-javadoc-plugin</artifactId>
211                <version>2.9.1</version>
212                <executions>
213                    <execution>
214                        <id>attach-javadocs</id>
215                        <goals>
216                            <goal>jar</goal>
217                        </goals>
218                    </execution>
219                </executions>
220            </plugin>
221
222
223            <plugin>
224                <artifactId>maven-assembly-plugin</artifactId>
225                <configuration>
226                    <descriptors>
227                        <descriptor>src/assembly/assembly.xml</descriptor>
228                    </descriptors>
229                </configuration>
230            </plugin>
231
232            <plugin>
233                <groupId>org.apache.maven.plugins</groupId>
234                <artifactId>maven-release-plugin</artifactId>
235                <configuration>
236                    <preparationGoals>clean site assembly:assembly</preparationGoals>
237                </configuration>
238            </plugin>
239
240            <plugin>
241              <groupId>org.apache.maven.plugins</groupId>
242              <artifactId>maven-site-plugin</artifactId>
243              <version>2.1</version>
244            </plugin>
245
246            <plugin>
247                <groupId>org.apache.maven.plugins</groupId>
248                <artifactId>maven-gpg-plugin</artifactId>
249                <version>1.5</version>
250                <executions>
251                    <execution>
252                        <id>sign-artifacts</id>
253                        <phase>verify</phase>
254                        <goals>
255                            <goal>sign</goal>
256                        </goals>
257                    </execution>
258                </executions>
259            </plugin>
260
261        </plugins>
262    </build>
263
264    <reporting>
265        <plugins>
266
267            <plugin>
268                <groupId>org.apache.maven.plugins</groupId>
269                <artifactId>maven-project-info-reports-plugin</artifactId>
270                <version>2.2</version>
271                <reportSets>
272                    <reportSet>
273                        <reports>
274                            <report>dependencies</report>
275                            <!-- <report>project-team</report> -->
276                            <!-- <report>mailing-list</report> -->
277                            <!-- <report>cim</report> -->
278                            <!-- <report>issue-tracking</report> -->
279                            <report>license</report>
280                            <!-- <report>scm</report> -->
281                        </reports>
282                    </reportSet>
283                </reportSets>
284            </plugin>
285
286            <plugin>
287                <groupId>org.codehaus.mojo</groupId>
288                <artifactId>cobertura-maven-plugin</artifactId>
289            </plugin>
290
291            <plugin>
292                <groupId>org.apache.maven.plugins</groupId>
293                <artifactId>maven-javadoc-plugin</artifactId>
294            </plugin>
295
296            <plugin>
297                <groupId>org.apache.maven.plugins</groupId>
298                <artifactId>maven-pmd-plugin</artifactId>
299            </plugin>
300
301        </plugins>
302    </reporting>
303
304    <developers>
305        <developer>
306            <id>chrismair</id>
307            <name>Chris Mair</name>
308            <email>chrismair@users.sourceforge.net</email>
309            <url>https://sourceforge.net/users/chrismair</url>
310            <roles>
311                <role>developer</role>
312            </roles>
313            <timezone>-4</timezone>
314        </developer>
315    </developers>
316
317    <licenses>
318        <license>
319            <name>Apache 2</name>
320            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
321            <distribution>repo</distribution>
322        </license>
323    </licenses>
324
325</project>