<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>1.3.5.RELEASE</version>
+ <version>2.2.0.RELEASE</version>
</parent>
<artifactId>facebook-errors</artifactId>
<name>Juplo - Facebook-Errors</name>
<description>Helper-Classes to handle errors, thrown by the Graph-API from Facebook</description>
- <version>2.5-SNAPSHOT</version>
+ <version>4.0.0</version>
<packaging>jar</packaging>
- <url>http://www.juplo.de/facebook-errors</url>
+ <url>http://juplo.de/facebook-errors</url>
- <prerequisites>
- <maven>2.0.6</maven>
- </prerequisites>
-
<licenses>
<license>
<!-- character encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl>
+
</properties>
<!-- Spring-Boot-Autoconfiguration -->
<dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-autoconfigure</artifactId>
- <optional>true</optional>
+ <groupId>org.springframework.security</groupId>
+ <artifactId>spring-security-oauth2-client</artifactId>
</dependency>
<dependency>
- <groupId>org.springframework.social</groupId>
- <artifactId>spring-social-facebook</artifactId>
- <optional>true</optional>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
- <groupId>org.springframework.security.oauth</groupId>
- <artifactId>spring-security-oauth2</artifactId>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-autoconfigure</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>juplo</id>
+ <name>Repository for internal artifacts on juplo.de</name>
+ <url>http://juplo.de/maven2</url>
+ </repository>
+ </repositories>
<distributionManagement>
<site>
- <id>www.juplo.de</id>
- <url>scp://juplo.de/var/www/juplo/facebook-errors-${project.version}</url>
+ <id>juplo.de</id>
+ <url>scpexe://juplo.de/var/www/juplo.de/facebook-errors-${project.version}</url>
</site>
+ <repository>
+ <id>juplo</id>
+ <name>Repository for internal artifacts on juplo.de</name>
+ <url>scpexe://juplo.de/var/www/juplo.de/maven2</url>
+ </repository>
+ <snapshotRepository>
+ </snapshotRepository>
</distributionManagement>
-
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <mavenExecutorId>forked-path</mavenExecutorId>
+ <useReleaseProfile>false</useReleaseProfile>
+ <arguments>-Psonatype-oss-release</arguments>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.4</version>
+ <configuration>
+ <siteDirectory>${project.build.directory}/filtered-site</siteDirectory>
+ <templateFile>src/site/template.vm</templateFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>enforce-maven</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>(,2.1.0),(2.1.0,2.2.0),(2.2.0,)</version>
+ <message>Maven 2.1.0 and 2.2.0 produce incorrect GPG signatures and checksums respectively.</message>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
+ <configuration>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadoc</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.7</version>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/filtered-site</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/site</directory>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
+ <extensions>
+ <!-- Enabling the use of SSH -->
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh-external</artifactId>
+ <version>2.10</version>
+ </extension>
+ </extensions>
</build>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.10.3</version>
+ <version>2.7</version><!-- Should be same version as in oss-parent-7 -->
+ <configuration>
+ <additionalparam>-Xdoclint:none</additionalparam>
+ </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.5</version>
<configuration>
<linkXref>true</linkXref>
+ <targetJdk>1.6</targetJdk>
</configuration>
</plugin>
</plugins>