Added a 'tweetstore.instance' identifier to fetch the correct jclouds.properties remote resource bundle

This commit is contained in:
Andrew Phillips 2011-06-03 03:07:21 +02:00
parent 5ef3778468
commit 4cd17db523
4 changed files with 14 additions and 1 deletions

View File

@ -209,6 +209,10 @@
<profile>
<id>deploy</id>
<properties>
<!-- classifier to choose the correct jclouds.properties file -->
<tweetstore.instance>gae-tweetstore-spring</tweetstore.instance>
</properties>
<build>
<plugins>
<plugin>

View File

@ -195,6 +195,10 @@
<profile>
<id>deploy</id>
<properties>
<!-- classifier to choose the correct jclouds.properties file -->
<tweetstore.instance>gae-tweetstore</tweetstore.instance>
</properties>
<build>
<plugins>
<plugin>

View File

@ -168,7 +168,8 @@
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.jclouds:jclouds-properties:${project.version}</resourceBundle>
<!-- tweetstore.instance is set in child projects -->
<resourceBundle>${project.groupId}:jclouds-demos-tweetstore-jclouds-properties:${project.version}.${tweetstore.instance}</resourceBundle>
</resourceBundles>
</configuration>
</execution>

View File

@ -190,6 +190,10 @@
<profile>
<id>deploy</id>
<properties>
<!-- classifier to choose the correct jclouds.properties file -->
<tweetstore.instance>runatcloud-tweetstore</tweetstore.instance>
</properties>
<pluginRepositories>
<pluginRepository>
<id>bees-plugins-snapshots</id>