<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>
        <parent>
                <groupId>org.openl.rules</groupId>
                <artifactId>org.openl.lib.poi.dev-pom</artifactId>
                <version>5.9.3.1</version>
                <relativePath>../org.openl.lib.poi.dev-pom</relativePath>
        </parent>
        <groupId>org.openl.rules</groupId>
        <artifactId>org.openl.lib.poi.dev.modified</artifactId>
        <name>OpenL - POI 3.8 - Modified</name>
        <description />
        <build>
                <testSourceDirectory>test</testSourceDirectory>
                <testResources>
                        <testResource>
                                <directory>test-data</directory>
                        </testResource>
                </testResources>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
                                <configuration>
                                <archive>
                                    <manifestFile>META-INF/buildManifest/MANIFEST.MF</manifestFile>
                                </archive>
                                <excludes>
                                    <exclude>**/POIDataSamples.java</exclude>
                                </excludes>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-shade-plugin</artifactId>
                                <version>1.7</version>
                                <executions>
                                        <execution>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>shade</goal>
                                                </goals>
                                                <configuration>
                                                        <artifactSet>
                                                                <includes>
                                                                        <include>org.openl.rules:org.openl.lib.poi.dev</include>
                                                                </includes>
                                                        </artifactSet>									
                                                        <filters>
                                                        	<filter>
                                                        	<artifact>org.openl.rules:org.openl.lib.poi.dev</artifact>
                                                        	<excludes>
                                                        		<exclude>lib/**</exclude>
                                                        	</excludes>
                                                        	</filter>
                                                        </filters>
														<!-- This is a workaround for http://jira.codehaus.org/browse/MSHADE-103
															Shade plugin tryies to download all dependencies from Central Maven Repo,
															Skipping user-defined repositories. But when releasing POI BasePom is not yet deployed
															to Maven Central-->
														<createDependencyReducedPom>false</createDependencyReducedPom>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
        </build>
        <dependencies>
            <dependency>
                <groupId>org.openl.rules</groupId>
                <artifactId>org.openl.lib.poi.dev</artifactId>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>                        
                <scope>test</scope>
            </dependency>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.poi</groupId>
                        <artifactId>poi-ooxml-schemas</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.xmlbeans</groupId>
                        <artifactId>xmlbeans</artifactId>
                </dependency>
                <dependency>
                        <groupId>dom4j</groupId>
                        <artifactId>dom4j</artifactId>
                </dependency>                
        </dependencies>
</project>