cleaned up module name, use classifier (tests) for exporting test classes and resources to any module, remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/maven@1585837 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
38e8f7e9af
commit
d697a4860f
@ -2,25 +2,25 @@
|
|||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
|
||||||
|
|
||||||
<id>dist</id>
|
<!--<id>dist</id>-->
|
||||||
<formats>
|
<!--<formats>-->
|
||||||
<format>zip</format>
|
<!--<format>zip</format>-->
|
||||||
</formats>
|
<!--</formats>-->
|
||||||
<includeBaseDirectory>false</includeBaseDirectory>
|
<!--<includeBaseDirectory>false</includeBaseDirectory>-->
|
||||||
|
|
||||||
<dependencySets>
|
<!--<dependencySets>-->
|
||||||
<dependencySet>
|
<!--<dependencySet>-->
|
||||||
<includes>
|
<!--<includes>-->
|
||||||
<include>org.apache.poi:poi-examples:jar</include>
|
<!--<include>org.apache.poi:poi-examples:jar</include>-->
|
||||||
<include>org.apache.poi:poi-excelant:jar</include>
|
<!--<include>org.apache.poi:poi-excelant:jar</include>-->
|
||||||
<include>org.apache.poi:poi-main:jar</include>
|
<!--<include>org.apache.poi:poi-main:jar</include>-->
|
||||||
<include>org.apache.poi:poi-ooxml:jar</include>
|
<!--<include>org.apache.poi:poi-ooxml:jar</include>-->
|
||||||
<include>org.apache.poi:poi-ooxml-schemas:jar</include>
|
<!--<include>org.apache.poi:poi-ooxml-schemas:jar</include>-->
|
||||||
<include>org.apache.poi:poi-scratchpad:jar</include>
|
<!--<include>org.apache.poi:poi-scratchpad:jar</include>-->
|
||||||
</includes>
|
<!--</includes>-->
|
||||||
<unpack>false</unpack>
|
<!--<unpack>false</unpack>-->
|
||||||
<outputDirectory>dist</outputDirectory>
|
<!--<outputDirectory>dist</outputDirectory>-->
|
||||||
</dependencySet>
|
<!--</dependencySet>-->
|
||||||
</dependencySets>
|
<!--</dependencySets>-->
|
||||||
|
|
||||||
</assembly>
|
</assembly>
|
@ -30,7 +30,7 @@
|
|||||||
<artifactId>ooxml-schemas</artifactId>
|
<artifactId>ooxml-schemas</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>Apache POI - Openxmlformats Schema package</name>
|
<name>Apache POI - ooxml schema package</name>
|
||||||
<description>XmlBeans generated from the Ecma supplied xsds:
|
<description>XmlBeans generated from the Ecma supplied xsds:
|
||||||
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip</description>
|
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip</description>
|
||||||
<url>http://poi.apache.org/</url>
|
<url>http://poi.apache.org/</url>
|
||||||
@ -99,13 +99,15 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<schemaDirectory>target/schemas</schemaDirectory>
|
<schemaDirectory>target/schemas</schemaDirectory>
|
||||||
<javaSource>1.5</javaSource>
|
<javaSource>1.5</javaSource>
|
||||||
<optimize>yes</optimize>
|
<!--<optimize>yes</optimize>-->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<!-- TODO to check not required to build
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.poi</groupId>
|
<groupId>org.apache.poi</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
@ -115,7 +117,7 @@
|
|||||||
<groupId>org.apache.poi</groupId>
|
<groupId>org.apache.poi</groupId>
|
||||||
<artifactId>poi-scratchpad</artifactId>
|
<artifactId>poi-scratchpad</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>-->
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlbeans</groupId>
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>poi-examples</artifactId>
|
<artifactId>poi-examples</artifactId>
|
||||||
|
|
||||||
<name>Apache POI Examples package</name>
|
<name>Apache POI - examples package</name>
|
||||||
<url>http://poi.apache.org/</url>
|
<url>http://poi.apache.org/</url>
|
||||||
<description>Apache POI Examples</description>
|
<description>Apache POI Examples</description>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ limitations under the License.
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>poi-ooxml-schemas</artifactId>
|
<artifactId>poi-ooxml-schemas</artifactId>
|
||||||
|
|
||||||
<name>Apache POI</name>
|
<name>Apache POI - ooxml schemas</name>
|
||||||
<url>http://poi.apache.org/</url>
|
<url>http://poi.apache.org/</url>
|
||||||
<description>Apache POI - Java API To Access Microsoft Format Files</description>
|
<description>Apache POI - Java API To Access Microsoft Format Files</description>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<artifactId>poi-ooxml</artifactId>
|
<artifactId>poi-ooxml</artifactId>
|
||||||
<name>Apache POI OOXML package</name>
|
<name>Apache POI - ooxml package</name>
|
||||||
<description>Apache POI - Java API To Access Microsoft Format Files</description>
|
<description>Apache POI - java api to access microsoft format files</description>
|
||||||
<url>http://poi.apache.org/</url>
|
<url>http://poi.apache.org/</url>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
<groupId>org.apache.poi</groupId>
|
<groupId>org.apache.poi</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -29,20 +29,20 @@ limitations under the License.
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>poi-scratchpad</artifactId>
|
<artifactId>poi-scratchpad</artifactId>
|
||||||
<name>Apache POI Scratchpad package</name>
|
<name>Apache POI - scratchpad package</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>org.apache.poi</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>${project.groupId}</groupId>
|
<groupId>org.apache.poi</groupId>
|
||||||
<artifactId>poi-main</artifactId>
|
<artifactId>poi-main</artifactId>
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>test-jar</type>
|
<classifier>tests</classifier>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
18
pom.xml
18
pom.xml
@ -27,9 +27,9 @@
|
|||||||
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>Apache POI - the Java API for Microsoft Documents</name>
|
<name>Apache POI</name>
|
||||||
|
|
||||||
<description>Maven build of Apache POI for Sonar checks</description>
|
<description>Apache POI - the java api for microsoft documents</description>
|
||||||
<url>http://poi.apache.org/</url>
|
<url>http://poi.apache.org/</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@ -215,6 +215,20 @@
|
|||||||
<threadCount>10</threadCount-->
|
<threadCount>10</threadCount-->
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- provide the test-jar for other modules -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
|
<version>2.4</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>test-jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user