You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/10/14 11:59:44 UTC
git commit: changing source plugin
Updated Branches:
refs/heads/3.0.0-incubating 2f2104f38 -> 870668f5e
changing source plugin
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/870668f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/870668f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/870668f5
Branch: refs/heads/3.0.0-incubating
Commit: 870668f5e704a225862533edff52e68b4feace1f
Parents: 2f2104f
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Mon Oct 14 15:34:39 2013 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Mon Oct 14 15:34:39 2013 +0530
----------------------------------------------------------------------
pom.xml | 64 +++++++++++++++++++++---------------------------------------
1 file changed, 22 insertions(+), 42 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/870668f5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 42e9721..fb9aeaf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
- <version>13</version>
+ <version>11</version>
</parent>
<groupId>org.apache.stratos</groupId>
@@ -304,46 +304,6 @@
</plugins>
</build>
</profile>
- <profile>
- <id>doc</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.9</version>
- <executions>
- <execution>
- <id>javadoc</id>
- <phase>package</phase>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>src</id>
- <build>
- <plugins>
- <!-- make sure we generate src jars too -->
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.2</version>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar-no-fork</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
<!--distributionManagement>
@@ -386,7 +346,7 @@
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<goals>deploy</goals>
- <arguments>-Psrc -Papache-release ${arguments}</arguments>
+ <arguments>-Papache-release ${arguments}</arguments>
</configuration>
</plugin>
<plugin>
@@ -427,6 +387,10 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ </plugin>
</plugins>
<pluginManagement>
<plugins>
@@ -463,6 +427,22 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <attach>true</attach>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>