You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by sk...@apache.org on 2013/08/27 13:22:13 UTC
git commit: fix artifact deployment
Updated Branches:
refs/heads/master 97d72fe01 -> 20df2b67a
fix artifact deployment
Project: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/commit/20df2b67
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/20df2b67
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/20df2b67
Branch: refs/heads/master
Commit: 20df2b67a9eb81bb0e4d734b41533414be8360ba
Parents: 97d72fe
Author: Stephan Klevenz <sk...@apache.org>
Authored: Tue Aug 27 13:21:54 2013 +0200
Committer: Stephan Klevenz <sk...@apache.org>
Committed: Tue Aug 27 13:21:54 2013 +0200
----------------------------------------------------------------------
pom.xml | 92 ++++++++++++++++++++++--------------------------------------
1 file changed, 33 insertions(+), 59 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/20df2b67/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5282488..964d978 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,6 +34,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <javadoc.phase>package</javadoc.phase>
<!-- required for correct Sonar coverage data reporting (list of artifactIds) -->
<projectsToInstrument>org.apache.olingo.odata2.api,org.apache.olingo.odata2.core,org.apache.olingo.odata2.ref</projectsToInstrument>
@@ -146,9 +147,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -201,6 +199,37 @@
<timestampFormat>{0,date,yyyy-MM-dd'T'HH:mm:ssZ}</timestampFormat>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadoc-jar</id>
+ <phase>${javadoc.phase}</phase>
+ <goals>
+ <goal>aggregate-jar</goal>
+ </goals>
+ <configuration>
+ <tags>
+ <tag>
+ <name>org.apache.olingo.odata2.DoNotImplement</name>
+ <placement>a</placement>
+ <head>Do not implement this interface or class</head>
+ </tag>
+ </tags>
+ <additionalJOptions>
+ <additionalJOption>-quiet</additionalJOption>
+ </additionalJOptions>
+ <includeDependencySources>false</includeDependencySources>
+ <dependencySourceIncludes>
+ <dependencySourceInclude>org.apache.olingo.odata2:api:*</dependencySourceInclude>
+ <dependencySourceInclude>org.apache.olingo.odata2:jpa.processor.api:*</dependencySourceInclude>
+ <dependencySourceInclude>org.apache.olingo.odata2:api.annotation:*</dependencySourceInclude>
+ </dependencySourceIncludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
@@ -209,6 +238,7 @@
<id>build.fast</id>
<properties>
<maven.test.skip>true</maven.test.skip>
+ <javadoc.phase></javadoc.phase>
</properties>
</profile>
<profile>
@@ -225,37 +255,6 @@
<id>apache-release</id>
<build>
<plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>javadoc-jar</id>
- <phase>package</phase>
- <goals>
- <goal>aggregate-jar</goal>
- </goals>
- <configuration>
- <tags>
- <tag>
- <name>org.apache.olingo.odata2.DoNotImplement</name>
- <placement>a</placement>
- <head>Do not implement this interface or class</head>
- </tag>
- </tags>
- <additionalJOptions>
- <additionalJOption>-quiet</additionalJOption>
- </additionalJOptions>
- <includeDependencySources>false</includeDependencySources>
- <dependencySourceIncludes>
- <dependencySourceInclude>org.apache.olingo.odata2:api</dependencySourceInclude>
- <dependencySourceInclude>org.apache.olingo.odata2:jpa.processor.api</dependencySourceInclude>
- <dependencySourceInclude>org.apache.olingo.odata2:api.annotation</dependencySourceInclude>
- </dependencySourceIncludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</profile>
@@ -312,31 +311,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>javadoc-jar</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- <configuration>
- <tags>
- <tag>
- <name>org.apache.olingo.odata2.DoNotImplement</name>
- <placement>a</placement>
- <head>Do not implement this interface or class</head>
- </tag>
- </tags>
- <additionalJOptions>
- <additionalJOption>-quiet</additionalJOption>
- </additionalJOptions>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
</profile>