Skip to content

Instantly share code, notes, and snippets.

@stuartgunter
Created November 6, 2012 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuartgunter/4023938 to your computer and use it in GitHub Desktop.
Save stuartgunter/4023938 to your computer and use it in GitHub Desktop.
couchbase-maven-plugin
<plugin>
<groupId>org.stuartgunter</groupId>
<artifactId>couchbase-maven-plugin</artifactId>
<version>1.0.0</version>
</plugin>
<plugin>
<groupId>org.stuartgunter</groupId>
<artifactId>couchbase-maven-plugin</artifactId>
<version>1.0.0</version>
<configuration>
<host>http://localhost:8091</host>
<username>myuser</username>
<password>mypass</password>
</configuration>
<executions>
<execution>
<id>create-bucket</id>
<phase>pre-integration-test</phase>
<goals>
<goal>create-bucket</goal>
</goals>
<configuration>
<bucketName>test-bucket</bucketName>
<bucketType>memcached</bucketType>
</configuration>
</execution>
<execution>
<id>delete-bucket</id>
<phase>post-integration-test</phase>
<goals>
<goal>delete-bucket</goal>
</goals>
<configuration>
<bucketName>test-bucket</bucketName>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment