Permalink
Browse files

Completed release profile to add source/javadocs and to create downlo…

…ad bundle
  • Loading branch information...
bentmann committed Feb 5, 2012
1 parent 30c08a6 commit a18bc4b995664564183fb468dfe4494ab0e14e85
Showing with 687 additions and 2 deletions.
  1. +84 −2 pom.xml
  2. +113 −0 src/main/assembly/bin.xml
  3. +328 −0 src/main/assembly/resources/epl-v10.html
  4. +162 −0 src/main/assembly/resources/notice.html
View
86 pom.xml
@@ -269,8 +269,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.5</version>
+ <version>2.8.1</version>
<configuration>
+ <detectOfflineLinks>false</detectOfflineLinks>
<links>
<link>http://download.oracle.com/javase/6/docs/api/</link>
</links>
@@ -301,6 +302,32 @@
<head>Restriction:</head>
</tag>
</tags>
+ <groups>
+ <group>
+ <title>API</title>
+ <packages>org.eclipse.aether*</packages>
+ </group>
+ <group>
+ <title>SPI</title>
+ <packages>org.eclipse.aether.spi*</packages>
+ </group>
+ <group>
+ <title>Utilities</title>
+ <packages>org.eclipse.aether.util*</packages>
+ </group>
+ <group>
+ <title>Repository Connectors</title>
+ <packages>org.eclipse.aether.connector*</packages>
+ </group>
+ <group>
+ <title>Implementation</title>
+ <packages>org.eclipse.aether.impl*</packages>
+ </group>
+ <group>
+ <title>Internals</title>
+ <packages>org.eclipse.aether.internal*</packages>
+ </group>
+ </groups>
</configuration>
</plugin>
<plugin>
@@ -311,7 +338,7 @@
<autoVersionSubmodules>true</autoVersionSubmodules>
<mavenExecutorId>forked-path</mavenExecutorId>
<useReleaseProfile>false</useReleaseProfile>
- <goals>deploy</goals>
+ <goals>deploy javadoc:aggregate-jar assembly:attached</goals>
<arguments>-Psonatype-oss-release</arguments>
</configuration>
</plugin>
@@ -475,6 +502,52 @@
<id>sonatype-oss-release</id>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>default-cli</id>
+ <configuration>
+ <attach>false</attach>
+ <excludePackageNames>*.internal.*</excludePackageNames>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
@@ -500,6 +573,15 @@
<tarLongFileFormat>gnu</tarLongFileFormat>
</configuration>
</execution>
+ <execution>
+ <id>default-cli</id>
+ <configuration>
+ <attach>false</attach>
+ <descriptors>
+ <descriptor>src/main/assembly/bin.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>
View
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ ~ Copyright (c) 2012 Sonatype, Inc.
+ ~ All rights reserved. This program and the accompanying materials
+ ~ are made available under the terms of the Eclipse Public License v1.0
+ ~ which accompanies this distribution, and is available at
+ ~ http://www.eclipse.org/legal/epl-v10.html
+ ~
+ ~ Contributors:
+ ~ Sonatype, Inc. - initial API and implementation
+-->
+
+<assembly>
+ <id>bin-incubation</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>aether-api/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>aether-spi/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>aether-util/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>aether-impl/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>aether-connector-file/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>aether-connector-asynchttpclient/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>aether-connector-wagon/target</directory>
+ <outputDirectory>.</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ <include>*.jar.asc</include>
+ </includes>
+ <excludes>
+ <exclude>*-sources.*</exclude>
+ <exclude>*-javadoc.*</exclude>
+ </excludes>
+ </fileSet>
+ <fileSet>
+ <directory>target/apidocs</directory>
+ <outputDirectory>apidocs</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>src/main/assembly/resources</directory>
+ <outputDirectory>.</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
Oops, something went wrong.

0 comments on commit a18bc4b

Please sign in to comment.