]> source.dussan.org Git - poi.git/commitdiff
[github-207] add SLF4JLogger
authorPJ Fanning <fanningpj@apache.org>
Thu, 17 Dec 2020 20:00:55 +0000 (20:00 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 17 Dec 2020 20:00:55 +0000 (20:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884569 13f79535-47bb-0310-9956-ffa450edef68

sonar/main/pom.xml

index b2a7da5992106cc9b067f48b372c39293f6fe063..18469315f2a9c9679eaffa13c2b39a30b0621bf8 100644 (file)
     <name>Apache POI Main 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/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/main</directory>
-                                                               </resource>
-                                                       </resources>
-                                               </configuration>
-                                       </execution>
-                                       <execution>
-                                               <id>copy-tests</id>
-                                               <!-- here the phase you need -->
-                                               <phase>generate-test-sources</phase>
-                                               <goals>
-                                                       <goal>copy-resources</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <outputDirectory>${basedir}/src/test/java</outputDirectory>
-                                                       <resources>
-                                                               <resource>
-                                                                       <directory>../../src/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/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/main</directory>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy-tests</id>
+                        <!-- here the phase you need -->
+                        <phase>generate-test-sources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/src/test/java</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>../../src/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>
                 </configuration>
             </plugin>
 
-                       <!-- provide the test-jar for other modules -->
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                               <version>${maven.plugin.jar.version}</version>
-                               <executions>
-                                       <execution>
-                                               <goals>
-                                                       <goal>test-jar</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
+            <!-- provide the test-jar for other modules -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>${maven.plugin.jar.version}</version>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
 
     <dependencies>
             <artifactId>commons-logging</artifactId>
             <version>1.2</version>
         </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+            <version>1.7.30</version>
+        </dependency>
     </dependencies>
 </project>