summaryrefslogtreecommitdiffstats
path: root/sonar/ooxml-schema
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2020-12-13 15:32:43 +0000
committerAndreas Beeker <kiwiwings@apache.org>2020-12-13 15:32:43 +0000
commitc8940e7d1e24ef75481461102bf417e7920dc2e5 (patch)
tree06520b767e1bf6b848466aa8605afe724ef3853e /sonar/ooxml-schema
parent83c6910dbd5501baf7330f6284e7527b0e7d0e37 (diff)
downloadpoi-c8940e7d1e24ef75481461102bf417e7920dc2e5.tar.gz
poi-c8940e7d1e24ef75481461102bf417e7920dc2e5.zip
#64979 - Change artifact names of poi-/ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884381 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sonar/ooxml-schema')
-rw-r--r--sonar/ooxml-schema/pom.xml156
-rw-r--r--sonar/ooxml-schema/xmlbeans.marker1
2 files changed, 0 insertions, 157 deletions
diff --git a/sonar/ooxml-schema/pom.xml b/sonar/ooxml-schema/pom.xml
deleted file mode 100644
index b65bf6168a..0000000000
--- a/sonar/ooxml-schema/pom.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-<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.apache.poi</groupId>
- <artifactId>poi-parent</artifactId>
- <version>5.0.0-SNAPSHOT</version>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>poi-ooxml-schema</artifactId>
- <packaging>jar</packaging>
-
- <name>Apache POI - Openxmlformats Schema package</name>
-
- <properties>
- <!-- see http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus for details of this property -->
- <sonar.exclusions>target/generated-sources/*</sonar.exclusions>
- <maven.compiler.fork>true</maven.compiler.fork>
- </properties>
-
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>${maven.plugin.antrun.version}</version>
- <executions>
- <execution>
- <id>copy-xmltype-and-xsdconfig</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <property name="xsdir" value="${basedir}/../../src/ooxml/resources/org/apache/poi"/>
- <copy todir="${basedir}/target/schemas">
- <zipfileset src="${xsdir}/schemas/OfficeOpenXML-XMLSchema.zip"/>
- <zipfileset src="${xsdir}/schemas/OpenPackagingConventions-XMLSchema.zip" includes="opc-digSig.xsd,opc-relationships.xsd"/>
- <fileset dir="${xsdir}/xdgf" includes="*.xsd,*.xsdconfig"/>
- <fileset dir="${xsdir}/schemas" includes="*.xsd,*.xsdconfig"/>
- <fileset dir="${xsdir}/poifs/crypt" includes="signatureInfo.xsd"/>
- </copy>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <phase>process-sources</phase>
- <goals>
- <!-- need to use exec instead of java, because SchemaCompiler calls System.exit() -->
- <goal>exec</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <executable>java</executable>
- <arguments>
- <argument>-classpath</argument>
- <!-- automatically creates the classpath using all project dependencies,
- also adding the project build directory -->
- <classpath/>
- <argument>org.apache.xmlbeans.impl.tool.SchemaCompiler</argument>
- <argument>-srconly</argument>
- <argument>-name</argument>
- <argument>ooxml</argument>
- <argument>-repackage</argument>
- <argument>org.apache.xmlbeans.metadata:org.apache.poi.schemas.ooxml</argument>
- <argument>-d</argument>
- <argument>${basedir}/target/generated-resources</argument>
- <argument>-src</argument>
- <argument>${basedir}/target/generated-sources</argument>
- <argument>${basedir}/target/schemas</argument>
- </arguments>
- <additionalClasspathElements>
- <additionalClasspathElement>
- ${basedir}/../../lib/ooxml/xmlbeans-4.0.0.jar
- </additionalClasspathElement>
- </additionalClasspathElements>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.2.0</version>
- <executions>
- <execution>
- <id>add-source</id>
- <goals>
- <goal>add-source</goal>
- <goal>add-resource</goal>
- </goals>
- <configuration>
- <resources>
- <resource>
- <directory>${basedir}/target/generated-resources</directory>
- </resource>
- <resource>
- <directory>${basedir}/../../src/multimodule/ooxml-schemas/java9</directory>
- <targetPath>META-INF/versions/9</targetPath>
- <includes>
- <include>*.class</include>
- </includes>
- </resource>
- </resources>
- <sources>
- <source>${basedir}/target/generated-sources</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.0</version>
- <configuration>
- <archive>
- <manifestEntries>
- <Multi-Release>true</Multi-Release>
- <Automatic-Module-Name>org.apache.poi.ooxml.schemas</Automatic-Module-Name>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>poi-main</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>poi-scratchpad</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xmlbeans</groupId>
- <artifactId>xmlbeans</artifactId>
- <version>${xmlbeans.version}</version>
- </dependency>
- </dependencies>
-</project>
diff --git a/sonar/ooxml-schema/xmlbeans.marker b/sonar/ooxml-schema/xmlbeans.marker
deleted file mode 100644
index 2744493ace..0000000000
--- a/sonar/ooxml-schema/xmlbeans.marker
+++ /dev/null
@@ -1 +0,0 @@
-This purpose of this marker file is solely to activate the xmlbeans maven profile. \ No newline at end of file