aboutsummaryrefslogtreecommitdiffstats
path: root/sonar/pom.xml
blob: a34f74335d2a0a7f2f1c67793f8eb0300eab1c00 (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
<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.poi</groupId>
    <artifactId>poi-parent</artifactId>
    <packaging>pom</packaging>
    <version>3.13-SNAPSHOT</version>

    <name>Apache POI - the Java API for Microsoft Documents</name>

    <description>Maven build of Apache POI for Sonar checks</description>
    <url>http://poi.apache.org/</url>

  <mailingLists>
    <mailingList>
      <name>POI Users List</name>
      <subscribe>user-subscribe@poi.apache.org</subscribe>
      <unsubscribe>user-unsubscribe@poi.apache.org</unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/poi-user/</archive>
    </mailingList>
    <mailingList>
      <name>POI Developer List</name>
      <subscribe>dev-subscribe@poi.apache.org</subscribe>
      <unsubscribe>dev-unsubscribe@poi.apache.org</unsubscribe>
      <archive>http://mail-archives.apache.org/mod_mbox/poi-dev/</archive>
    </mailingList>
  </mailingLists>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>

  <organization>
    <name>Apache Software Foundation</name>
    <url>http://www.apache.org/</url>
  </organization>

 	<issueManagement>
		<system>bugzilla</system>
		<url>https://issues.apache.org/bugzilla/</url>
	</issueManagement>

 	<scm>
		<connection>scm:svn:http://svn.apache.org/repos/asf/poi/trunk</connection>
		<developerConnection>scm:svn:https://svn.apache.org/repos/asf/poi/trunk</developerConnection>
		<url>http://svn.apache.org/viewvc/poi</url>
 	</scm>

    <modules>
		<module>main</module>
		<module>ooxml-schema</module>
		<module>ooxml-schema-encryption</module>
		<module>ooxml-schema-security</module>
		<module>ooxml</module>
		<module>scratchpad</module>
		<module>excelant</module>
        <module>examples</module>
    </modules>

	<properties>
		<project.build.sourceEncoding>ASCII</project.build.sourceEncoding>
		
		<!-- Try to disable running SVN blame as it causes errors here because the source is copied from the actual SVN location here! -->
		<sonar.scm.disabled>true</sonar.scm.disabled>
	</properties>
  
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.1</version>
                    <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>

		<plugins>
		  <plugin>
			<groupId>org.apache.maven.plugins</groupId>
			<artifactId>maven-surefire-plugin</artifactId>
			<version>2.16</version>
			<dependencies>
				<dependency>
					<groupId>org.apache.maven.surefire</groupId>
					<artifactId>surefire-junit47</artifactId>
					<version>2.16</version>
				</dependency>
			</dependencies>
    			
			<configuration>
				<systemPropertyVariables>
					<POI.testdata.path>../../test-data</POI.testdata.path>
					<java.awt.headless>true</java.awt.headless>
					<org.apache.poi.util.POILogger>org.apache.poi.util.NullLogger</org.apache.poi.util.POILogger>
				</systemPropertyVariables>
				<!-- use to following to analyze OOM issues:  -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp -->
				<argLine>-Duser.language=en -Duser.country=US -Xmx1024m</argLine>
				<excludes>
					<exclude>**/All*Tests.java</exclude>
					<exclude>**/TestUnfixedBugs.java</exclude>
					<exclude>**/TestcaseRecordInputStream.java</exclude>
					<exclude>**/POITestCase.java</exclude>
					
					<!-- TODO: error about no public construct, seems to run with JUnit 3.8... -->
					<exclude>**/TestWordToConverterSuite*.java</exclude>
					<exclude>**/TestExcelConverterSuite*.java</exclude>
				</excludes>
				<!--test>TestPPTX2PNG</test-->
				<!--parallel>both</parallel>
				<threadCount>10</threadCount-->
			</configuration>
		  </plugin>		    
		 </plugins>
    </build>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>