Skip to content

Instantly share code, notes, and snippets.

View rantav's full-sized avatar
🎯
Focusing

Ran Tavory rantav

🎯
Focusing
View GitHub Profile
@rantav
rantav / gist:626051
Created October 14, 2010 11:25
mvn snippet to create an rpm for tomcat war
<pluginManagement>
<plugins>
<!--
The RPM plugin is used to create distributable apps from our war file.
To use it fire:
$ mvn install rpm:rpm
...
The resulting rpm is then found at Project/target/rpm/Project/RPMS/noarch/Project-versoin-1.noarch.rpm
For example: ImageServer/target/rpm/ImageServer/RPMS/noarch/ImageServer-6.5.0-1.noarch.rpm
/**
* Test insertion of a supercolumn using insert
*/
@Test
public void testInsertSuper() throws IllegalArgumentException, NoSuchElementException,
IllegalStateException, NotFoundException, Exception {
// insert value
ColumnPath cp = new ColumnPath("Super1");
cp.setColumn(bytes("testInsertSuper_column"));