You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
3.6 KiB
113 lines
3.6 KiB
<?xml version="1.0" encoding="UTF-8"?> |
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
|
<modelVersion>4.0.0</modelVersion> |
|
<parent> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-parent</artifactId> |
|
<version>1.0.0.RC2</version> |
|
<relativePath>../spring-boot-parent</relativePath> |
|
</parent> |
|
<artifactId>spring-boot-docs</artifactId> |
|
<dependencies> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot-autoconfigure</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot-actuator</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot-loader</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
<dependency> |
|
<groupId>${project.groupId}</groupId> |
|
<artifactId>spring-boot-loader-tools</artifactId> |
|
<version>${project.version}</version> |
|
</dependency> |
|
</dependencies> |
|
<profiles> |
|
<profile> |
|
<id>full</id> |
|
<build> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-javadoc-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>attach-javadocs</id> |
|
<goals> |
|
<goal>jar</goal> |
|
</goals> |
|
<configuration> |
|
<includeDependencySources>true</includeDependencySources> |
|
<dependencySourceIncludes> |
|
<dependencySourceInclude>${project.groupId}:*</dependencySourceInclude> |
|
</dependencySourceIncludes> |
|
<attach>false</attach> |
|
<quiet>true</quiet> |
|
<stylesheetfile>${basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile> |
|
<links> |
|
<link>http://docs.spring.io/spring-framework/docs/4.0.x/javadoc-api/</link> |
|
<link>http://docs.oracle.com/javase/7/docs/api/</link> |
|
</links> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-antrun-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>package-and-attach-docs-zip</id> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>run</goal> |
|
</goals> |
|
<configuration> |
|
<target> |
|
<zip destfile="${project.build.directory}/${project.name}-${project.version}.zip"> |
|
<zipfileset src="${project.build.directory}/${project.name}-${project.version}-javadoc.jar" prefix="api" /> |
|
</zip> |
|
|
|
</target> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.codehaus.mojo</groupId> |
|
<artifactId>build-helper-maven-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<id>attach-zip</id> |
|
<goals> |
|
<goal>attach-artifact</goal> |
|
</goals> |
|
<configuration> |
|
<artifacts> |
|
<artifact> |
|
<file>${project.build.directory}/${project.name}-${project.version}.zip</file> |
|
<type>zip;zip.type=docs;zip.deployed=false</type> |
|
</artifact> |
|
</artifacts> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
</profile> |
|
</profiles> |
|
</project>
|
|
|