You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/03/10 13:53:20 UTC
[06/13] brooklyn-dist git commit: Add no-go-client profile to avoid
including brooklyn-client artifacts.
Add no-go-client profile to avoid including brooklyn-client artifacts.
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/98389cda
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/98389cda
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/98389cda
Branch: refs/heads/master
Commit: 98389cda4c25099f17b3eb7b9f8b232131996907
Parents: 1bf00c1
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Wed Mar 9 21:17:10 2016 +0000
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Wed Mar 9 21:17:10 2016 +0000
----------------------------------------------------------------------
dist/pom.xml | 60 +++++++++++++++++++++++++++++++++++++------------------
1 file changed, 41 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/98389cda/dist/pom.xml
----------------------------------------------------------------------
diff --git a/dist/pom.xml b/dist/pom.xml
index a8ab469..6cc4515 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -89,25 +89,6 @@
</artifactItems>
</configuration>
</execution>
- <execution>
- <id>unpack-client-cli</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>${project.groupId}</groupId>
- <artifactId>brooklyn-client-cli</artifactId>
- <classifier>bin</classifier>
- <type>zip</type>
- <version>${project.version}</version>
- <outputDirectory>${project.build.directory}/brooklyn-client-cli</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
</executions>
</plugin>
<plugin>
@@ -175,4 +156,45 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>go-client</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack-client-cli</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>brooklyn-client-cli</artifactId>
+ <classifier>bin</classifier>
+ <type>zip</type>
+ <version>${project.version}</version>
+ <outputDirectory>${project.build.directory}/brooklyn-client-cli</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>no-go-client</id>
+ </profile>
+
+ </profiles>
</project>