]> source.dussan.org Git - poi.git/blob
1846931
[poi.git] /
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
4                              http://maven.apache.org/maven-v4_0_0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>org.apache.poi</groupId>
8         <artifactId>poi-parent</artifactId>
9         <version>5.0.0-SNAPSHOT</version>
10     </parent>
11     <artifactId>poi-main</artifactId>
12     <packaging>jar</packaging>
13
14     <name>Apache POI Main package</name>
15
16     <build>
17         <plugins>
18             <!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
19             <plugin>
20                 <artifactId>maven-resources-plugin</artifactId>
21                 <version>${maven.plugin.resources.version}</version>
22                 <executions>
23                     <execution>
24                         <id>copy-sources</id>
25                         <phase>generate-sources</phase>
26                         <goals>
27                             <goal>copy-resources</goal>
28                         </goals>
29                         <configuration>
30                             <outputDirectory>${basedir}/src/main/java</outputDirectory>
31                             <resources>
32                                 <resource>
33                                     <directory>../../src/java</directory>
34                                 </resource>
35                             </resources>
36                         </configuration>
37                     </execution>
38                     <execution>
39                         <id>copy-resources</id>
40                         <phase>generate-resources</phase>
41                         <goals>
42                             <goal>copy-resources</goal>
43                         </goals>
44                         <configuration>
45                             <outputDirectory>${basedir}/src/main/resources</outputDirectory>
46                             <resources>
47                                 <resource>
48                                     <directory>../../src/resources/main</directory>
49                                 </resource>
50                             </resources>
51                         </configuration>
52                     </execution>
53                     <execution>
54                         <id>copy-tests</id>
55                         <!-- here the phase you need -->
56                         <phase>generate-test-sources</phase>
57                         <goals>
58                             <goal>copy-resources</goal>
59                         </goals>
60                         <configuration>
61                             <outputDirectory>${basedir}/src/test/java</outputDirectory>
62                             <resources>
63                                 <resource>
64                                     <directory>../../src/testcases</directory>
65                                 </resource>
66                             </resources>
67                         </configuration>
68                     </execution>
69                 </executions>
70             </plugin>
71
72             <!-- clean copied sources afterwards -->
73             <plugin>
74                 <artifactId>maven-clean-plugin</artifactId>
75                 <version>${maven.plugin.clean.version}</version>
76                 <configuration>
77                     <filesets>
78                         <fileset>
79                             <directory>src</directory>
80                             <followSymlinks>false</followSymlinks>
81                         </fileset>
82                     </filesets>
83                 </configuration>
84             </plugin>
85
86             <!-- provide the test-jar for other modules -->
87             <plugin>
88                 <groupId>org.apache.maven.plugins</groupId>
89                 <artifactId>maven-jar-plugin</artifactId>
90                 <version>${maven.plugin.jar.version}</version>
91                 <executions>
92                     <execution>
93                         <goals>
94                             <goal>test-jar</goal>
95                         </goals>
96                     </execution>
97                 </executions>
98             </plugin>
99         </plugins>
100     </build>
101
102     <dependencies>
103         <dependency>
104             <groupId>org.apache.commons</groupId>
105             <artifactId>commons-collections4</artifactId>
106             <version>4.4</version>
107         </dependency>
108         <dependency>
109             <groupId>org.apache.commons</groupId>
110             <artifactId>commons-math3</artifactId>
111             <version>3.6.1</version>
112         </dependency>
113         <dependency>
114             <groupId>commons-codec</groupId>
115             <artifactId>commons-codec</artifactId>
116             <version>1.15</version>
117         </dependency>
118         <dependency>
119             <groupId>com.zaxxer</groupId>
120             <artifactId>SparseBitSet</artifactId>
121             <version>1.2</version>
122         </dependency>
123         <dependency>
124             <groupId>commons-logging</groupId>
125             <artifactId>commons-logging</artifactId>
126             <version>1.2</version>
127         </dependency>
128         <dependency>
129             <groupId>org.slf4j</groupId>
130             <artifactId>slf4j-api</artifactId>
131             <version>1.7.30</version>
132         </dependency>
133     </dependencies>
134 </project>