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> <profile>
<id>deploy</id> <id>deploy</id>
<properties>
<!-- classifier to choose the correct jclouds.properties file -->
<tweetstore.instance>gae-tweetstore-spring</tweetstore.instance>
</properties>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>

View File

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

View File

@ -168,7 +168,8 @@
</goals> </goals>
<configuration> <configuration>
<resourceBundles> <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> </resourceBundles>
</configuration> </configuration>
</execution> </execution>

View File

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