Commits

Sebastian Sdorra  committed 49632d0

update imgscalr to version 4.2

  • Participants
  • Parent commits 2d1fe33

Comments (0)

Files changed (2)

File scm-plugin-backend/pom.xml

       <version>${servlet.version}</version>
       <scope>provided</scope>
     </dependency>
-    
+
     <!-- fix javadoc -->
-    
-    <dependency>    
+
+    <dependency>
       <groupId>javax.transaction</groupId>
       <artifactId>jta</artifactId>
       <version>1.1</version>
       <artifactId>jersey-guice</artifactId>
       <version>${jersey.version}</version>
     </dependency>
-    
+
     <dependency>
       <groupId>ch.qos.logback</groupId>
       <artifactId>logback-classic</artifactId>
       <version>${logback.version}</version>
     </dependency>
-    
+
     <dependency>
       <groupId>rome</groupId>
       <artifactId>rome</artifactId>
       <version>1.0</version>
     </dependency>
-    
+
     <dependency>
       <groupId>net.sf.ehcache</groupId>
       <artifactId>ehcache-core</artifactId>
       <version>${ehcache.version}</version>
     </dependency>
-    
+
     <dependency>
-      <groupId>com.thebuzzmedia</groupId>
+      <groupId>org.imgscalr</groupId>
       <artifactId>imgscalr-lib</artifactId>
-      <version>3.2</version>
+      <version>4.2</version>
     </dependency>
 
   </dependencies>
   <build>
 
     <plugins>
-    
+
       <plugin>
         <groupId>com.mycila.maven-license-plugin</groupId>
         <artifactId>maven-license-plugin</artifactId>
     <finalName>scm-plugin-backend</finalName>
   </build>
 
-
-  <repositories>
-    <repository>
-      <id>The Buzz Media Maven Repository</id>
-      <url>http://maven.thebuzzmedia.com</url>
-    </repository>
-  </repositories>
-
 </project>

File scm-plugin-backend/src/main/java/sonia/scm/plugin/rest/ScreenshotResource.java

 
 import com.google.inject.Inject;
 
-import com.thebuzzmedia.imgscalr.Scalr;
+import org.imgscalr.Scalr;
 
 import sonia.scm.plugin.PluginBackend;
 import sonia.scm.plugin.PluginInformation;
 //~--- JDK imports ------------------------------------------------------------
 
 import java.awt.image.BufferedImage;
-import java.awt.image.BufferedImageOp;
 
 import java.io.File;
 import java.io.IOException;