]> source.dussan.org Git - poi.git/commitdiff
add reflections jar to mvn sonar build
authorPJ Fanning <fanningpj@apache.org>
Wed, 19 Sep 2018 10:15:52 +0000 (10:15 +0000)
committerPJ Fanning <fanningpj@apache.org>
Wed, 19 Sep 2018 10:15:52 +0000 (10:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1841308 13f79535-47bb-0310-9956-ffa450edef68

sonar/ooxml/pom.xml

index e4685680727b506f08b9bdae3958633204a2729c..72c52293224cc26d0e9cd4941ccbade49b26ce9f 100644 (file)
     <packaging>jar</packaging>
 
     <name>Apache POI OOXML package</name>
-       
+
     <build>
-               <plugins>
-                       <!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
-                       <plugin>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <version>${maven.plugin.resources.version}</version>
-                               <executions>
-                                       <execution>
-                                               <id>copy-sources</id>
-                                               <phase>generate-sources</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/src/main/java</outputDirectory>
-                                                       <resources>          
-                                                               <resource>
-                                                                       <directory>../../src/ooxml/java</directory>
-                                                               </resource>
-                                                       </resources>              
-                                               </configuration>            
-                                       </execution>
-                                       <execution>
-                                               <id>copy-resources</id>
-                                               <phase>generate-resources</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/src/main/resources</outputDirectory>
-                                                       <resources>          
-                                                               <resource>
-                                                                       <directory>../../src/resources/ooxml</directory>
-                                                               </resource>
-                                                       </resources>              
-                                               </configuration>            
-                                       </execution>
-                                       <execution>
-                                               <id>copy-tests</id>
-                                               <phase>generate-test-sources</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/src/test/java</outputDirectory>
-                                                       <resources>          
-                                                               <resource>
-                                                                       <directory>../../src/ooxml/testcases</directory>
-                                                               </resource>
-                                                       </resources>              
-                                               </configuration>            
-                                       </execution>
-                               </executions>
-                       </plugin>
+        <plugins>
+            <!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->
+            <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <version>${maven.plugin.resources.version}</version>
+                <executions>
+                    <execution>
+                        <id>copy-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/src/main/java</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>../../src/ooxml/java</directory>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy-resources</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/src/main/resources</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>../../src/resources/ooxml</directory>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy-tests</id>
+                        <phase>generate-test-sources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/src/test/java</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>../../src/ooxml/testcases</directory>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
 
-                       <!-- clean copied sources afterwards -->
-                       <plugin>
+            <!-- clean copied sources afterwards -->
+            <plugin>
                 <artifactId>maven-clean-plugin</artifactId>
                 <version>${maven.plugin.clean.version}</version>
                 <configuration>
                     <argLine>@{argLine} -Duser.language=en -Duser.country=US -Xmx1024m -Djava.io.tmpdir=target/tmp -XX:-OmitStackTraceInFastThrow</argLine>
                 </configuration>
             </plugin>
-               </plugins>
+        </plugins>
     </build>
 
     <dependencies>
         <dependency>
-                       <groupId>${project.groupId}</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>poi-ooxml-schema</artifactId>
-                       <version>${project.version}</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>poi-ooxml-schema-encryption</artifactId>
-                       <version>${project.version}</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
-                       <groupId>${project.groupId}</groupId>
+            <groupId>${project.groupId}</groupId>
             <artifactId>poi-ooxml-schema-security</artifactId>
-                       <version>${project.version}</version>
+            <version>${project.version}</version>
         </dependency>
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>poi-main</artifactId>
-                       <version>${project.version}</version>
+            <version>${project.version}</version>
         </dependency>
-               <dependency>
-                       <groupId>${project.groupId}</groupId>
-                       <artifactId>poi-main</artifactId>
-                       <version>${project.version}</version>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>poi-main</artifactId>
+            <version>${project.version}</version>
             <type>test-jar</type>
             <scope>test</scope>
-               </dependency>
+        </dependency>
 
-               <dependency>
-                 <groupId>org.apache.xmlbeans</groupId>
-                 <artifactId>xmlbeans</artifactId>
-                 <version>${xmlbeans.version}</version>
-               </dependency>
-               
-               <dependency>
-                       <groupId>org.bouncycastle</groupId>
-                       <artifactId>bcpkix-jdk15on</artifactId>
-                       <version>1.59</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.bouncycastle</groupId>
-                       <artifactId>bcprov-jdk15on</artifactId>
-                       <version>1.59</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.santuario</groupId>
-                       <artifactId>xmlsec</artifactId>
-                       <version>2.1.0</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>commons-compress</artifactId>
-                       <version>1.18</version>
-               </dependency>
-               <dependency>
-                       <groupId>com.github.virtuald</groupId>
-                       <artifactId>curvesapi</artifactId>
-                       <version>1.05</version>
-               </dependency>
+        <dependency>
+          <groupId>org.apache.xmlbeans</groupId>
+          <artifactId>xmlbeans</artifactId>
+          <version>${xmlbeans.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.bouncycastle</groupId>
+            <artifactId>bcpkix-jdk15on</artifactId>
+            <version>1.59</version>
+        </dependency>
+        <dependency>
+            <groupId>org.bouncycastle</groupId>
+            <artifactId>bcprov-jdk15on</artifactId>
+            <version>1.59</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.santuario</groupId>
+            <artifactId>xmlsec</artifactId>
+            <version>2.1.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-compress</artifactId>
+            <version>1.18</version>
+        </dependency>
+        <dependency>
+            <groupId>com.github.virtuald</groupId>
+            <artifactId>curvesapi</artifactId>
+            <version>1.05</version>
+        </dependency>
   
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>${junit.version}</version>
-                       <scope>test</scope>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.reflections</groupId>
+            <artifactId>reflections</artifactId>
+            <version>0.9.11</version>
+            <scope>test</scope>
         </dependency>
 
         <dependency>
             <groupId>org.openjdk.jmh</groupId>
             <artifactId>jmh-core</artifactId>
             <version>1.19</version>
-                       <scope>test</scope>
+            <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.openjdk.jmh</groupId>
             <artifactId>jmh-generator-annprocess</artifactId>
             <version>1.19</version>
-                       <scope>test</scope>
+            <scope>test</scope>
         </dependency>
     </dependencies>
 </project>