mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Update plugins; fix logging of uploaded file name
This commit is contained in:
parent
a57bfa44e8
commit
6ffb40e1fd
20
pom.xml
20
pom.xml
|
@ -195,7 +195,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.10.3</version>
|
||||
<version>2.10.4</version>
|
||||
<configuration>
|
||||
<javadocVersion>${java.version}</javadocVersion>
|
||||
</configuration>
|
||||
|
@ -242,7 +242,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<version>3.0.1</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
@ -469,7 +469,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
<version>0.11</version>
|
||||
<version>0.12</version>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/.*</exclude>
|
||||
|
@ -503,20 +503,6 @@
|
|||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<!-- workaround for Xerces warnings -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.maven.doxia</groupId>
|
||||
<artifactId>doxia-core</artifactId>
|
||||
<version>1.6</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
|
|
|
@ -279,7 +279,8 @@ public final class DecodeServlet extends HttpServlet {
|
|||
log.info("File upload was not multipart");
|
||||
errorResponse(request, response, "badimage");
|
||||
} else {
|
||||
log.info("Decoding uploaded file " + fileUploadPart);
|
||||
log.info("Decoding uploaded file " + fileUploadPart.getName() + " " +
|
||||
fileUploadPart.getSubmittedFileName());
|
||||
try (InputStream is = fileUploadPart.getInputStream()) {
|
||||
processStream(is, request, response);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue