Download cassandra-unit-2.2.2.1.jar file

Introduction

You can download cassandra-unit-2.2.2.1.jar in this page.

License

Open Source

Type List

cassandra-unit-2.2.2.1.jar file has the following types.

META-INF/MANIFEST.MF
META-INF/maven/org.cassandraunit/cassandra-unit/pom.properties
META-INF/maven/org.cassandraunit/cassandra-unit/pom.xml
cu-cassandra-rndport.yaml
cu-cassandra.yaml
dataset.xsd
log4j-embedded-cassandra.properties
org.cassandraunit.AbstractCassandraUnit4CQLTestCase.class
org.cassandraunit.AbstractCassandraUnit4TestCase.class
org.cassandraunit.BaseCassandraUnit.class
org.cassandraunit.CQLDataLoader.class
org.cassandraunit.CassandraCQLUnit.class
org.cassandraunit.CassandraUnit.class
org.cassandraunit.DataLoader.class
org.cassandraunit.LoadingOption.class
org.cassandraunit.cli.CassandraUnitCommandLineLoader.class
org.cassandraunit.dataset.CQLDataSet.class
org.cassandraunit.dataset.ClassPathDataSet.class
org.cassandraunit.dataset.DataSet.class
org.cassandraunit.dataset.DataSetFileExtensionEnum.class
org.cassandraunit.dataset.FileDataSet.class
org.cassandraunit.dataset.MultiSourceDataSet.class
org.cassandraunit.dataset.ParseException.class
org.cassandraunit.dataset.commons.AbstractCommonsParserDataSet.class
org.cassandraunit.dataset.commons.ParsedColumn.class
org.cassandraunit.dataset.commons.ParsedColumnFamily.class
org.cassandraunit.dataset.commons.ParsedColumnMetadata.class
org.cassandraunit.dataset.commons.ParsedCompactionStrategyOption.class
org.cassandraunit.dataset.commons.ParsedDataType.class
org.cassandraunit.dataset.commons.ParsedIndexType.class
org.cassandraunit.dataset.commons.ParsedKeyspace.class
org.cassandraunit.dataset.commons.ParsedRow.class
org.cassandraunit.dataset.commons.ParsedSuperColumn.class
org.cassandraunit.dataset.cql.AbstractCQLDataSet.class
org.cassandraunit.dataset.cql.ClassPathCQLDataSet.class
org.cassandraunit.dataset.cql.FileCQLDataSet.class
org.cassandraunit.dataset.cql.SimpleCQLLexer.class
org.cassandraunit.dataset.json.AbstractJsonDataSet.class
org.cassandraunit.dataset.json.ClassPathJsonDataSet.class
org.cassandraunit.dataset.json.FileJsonDataSet.class
org.cassandraunit.dataset.xml.AbstractXmlDataSet.class
org.cassandraunit.dataset.xml.ClassPathXmlDataSet.class
org.cassandraunit.dataset.xml.Column.class
org.cassandraunit.dataset.xml.ColumnFamilies.class
org.cassandraunit.dataset.xml.ColumnFamily.class
org.cassandraunit.dataset.xml.ColumnFamilyType.class
org.cassandraunit.dataset.xml.ColumnMetadata.class
org.cassandraunit.dataset.xml.CompactionStrategyOption.class
org.cassandraunit.dataset.xml.CompactionStrategyOptions.class
org.cassandraunit.dataset.xml.DataType.class
org.cassandraunit.dataset.xml.FileXmlDataSet.class
org.cassandraunit.dataset.xml.IndexType.class
org.cassandraunit.dataset.xml.Keyspace.class
org.cassandraunit.dataset.xml.ObjectFactory.class
org.cassandraunit.dataset.xml.Row.class
org.cassandraunit.dataset.xml.Strategy.class
org.cassandraunit.dataset.xml.SuperColumn.class
org.cassandraunit.dataset.xml.package-info.class
org.cassandraunit.dataset.yaml.AbstractYamlDataSet.class
org.cassandraunit.dataset.yaml.ClassPathYamlDataSet.class
org.cassandraunit.dataset.yaml.FileYamlDataSet.class
org.cassandraunit.exception.CassandraUnitException.class
org.cassandraunit.model.ColumnFamilyModel.class
org.cassandraunit.model.ColumnMetadataModel.class
org.cassandraunit.model.ColumnModel.class
org.cassandraunit.model.CompactionStrategyOptionModel.class
org.cassandraunit.model.KeyspaceModel.class
org.cassandraunit.model.RowModel.class
org.cassandraunit.model.StrategyModel.class
org.cassandraunit.model.SuperColumnModel.class
org.cassandraunit.serializer.GenericTypeSerializer.class
org.cassandraunit.type.GenericType.class
org.cassandraunit.type.GenericTypeEnum.class
org.cassandraunit.utils.Base64.class
org.cassandraunit.utils.ComparatorTypeHelper.class
org.cassandraunit.utils.EmbeddedCassandraServerHelper.class
org.cassandraunit.utils.TypeExtractor.class

Pom

cassandra-unit-2.2.2.1.pom file content.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.cassandraunit</groupId>
        <artifactId>cassandra-unit-parent</artifactId>
        <version>2.2.2.1</version>
    </parent>
    <groupId>org.cassandraunit</groupId>
    <artifactId>cassandra-unit</artifactId>
    <packaging>jar</packaging>
    <name>cassandra-unit</name>
    <description>Test framework to develop with Cassandra</description>
    <properties>
        <shade.prefix>org.cassandraunit.shaded</shade.prefix>
    </properties>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
            <resource>
                <directory>src/main/xsd</directory>
                <includes>
                    <include>**/*.xsd</include>
                </includes>
            </resource>
        </resources>

        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jaxb2-maven-plugin</artifactId>
                <version>1.5</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>xjc</goal>
                        </goals>
                        <configuration>
                            <arguments>-enableIntrospection</arguments>
                        </configuration>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>com.sun.xml.bind</groupId>
                        <artifactId>jaxb-xjc</artifactId>
                        <version>2.1.13</version>
                    </dependency>
                </dependencies>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <version>2.2.2</version>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>single</goal>
                        </goals>
                        <!-- The configuration of the plugin -->
                        <configuration>
                            <!-- Specifies the configuration file of the assembly plugin -->
                            <descriptors>
                                <descriptor>src/main/assembly/assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>2.3</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <shadedArtifactAttached>true</shadedArtifactAttached>
                            <minimizeJar>false</minimizeJar>
                            <dependencyReducedPomLocation>${basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>

                            <artifactSet>
                                <includes>
                                    <!-- included only to suppress dependency, not relocated -->
                                    <include>org.cassandraunit:cassandra-unit</include>

                                    <!-- included due to relocated sub-dependencies, but itself not relocated because Class.forName -->
                                    <include>org.apache.cassandra:cassandra-all</include>

                                    <!-- included and relocated due to clash between hector and cassandra itself -->
                                    <include>org.apache.cassandra:cassandra-thrift</include>

                                    <!-- included and relocated due to potential clashes, especially guava -->
                                    <include>com.google.guava:guava</include>
                                    <include>org.antlr:*</include>
                                    <include>org.codehaus.jackson:*</include>
                                    <include>com.yammer.metrics:metrics-core</include>
                                    <include>com.addthis.metrics:*</include>
                                    <include>io.netty:*</include>
                                </includes>
                            </artifactSet>
                            <relocations>
                                <relocation>
                                    <pattern>org.apache.cassandra.thrift</pattern>
                                    <shadedPattern>${shade.prefix}.org.apache.cassandra.thrift</shadedPattern>
                                </relocation>
                                <relocation><!-- guava. With Trailing dot else com.googlecode would also match -->
                                    <pattern>com.google.</pattern>
                                    <shadedPattern>${shade.prefix}.com.google.</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>org.antlr</pattern>
                                    <shadedPattern>${shade.prefix}.org.antlr</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>org.codehaus.jackson</pattern>
                                    <shadedPattern>${shade.prefix}.org.codehaus.jackson</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>com.yammer.metrics</pattern>
                                    <shadedPattern>${shade.prefix}.com.yammer.metrics</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>com.addthis.metrics</pattern>
                                    <shadedPattern>${shade.prefix}.com.addthis.metrics</shadedPattern>
                                </relocation>
                                <relocation>
                                    <pattern>io.netty</pattern>
                                    <shadedPattern>${shade.prefix}.io.netty</shadedPattern>
                                </relocation>
                            </relocations>
                            <transformers>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer">
                                </transformer>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
                                    <addHeader>false</addHeader>
                                </transformer>
                            </transformers>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <dependencies>

        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>${cu.junit.version}</version>
        </dependency> 
        <dependency>
            <groupId>org.apache.cassandra</groupId>
            <artifactId>cassandra-all</artifactId>
            <version>${cu.cassandra.all.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>log4j-over-slf4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>logback-core</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>ch.qos.logback</groupId>
                    <artifactId>logback-classic</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.httpcomponents</groupId>
                    <artifactId>httpcore</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.httpcomponents</groupId>
                    <artifactId>httpclient</artifactId>
                </exclusion>
                <exclusion> <!-- ST4 and stringtemplate seem to contain the same classes... ST4 is newer -->
                    <groupId>org.antlr</groupId>
                    <artifactId>stringtemplate</artifactId>
                </exclusion>
                <exclusion> <!-- is this used at all? -->
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-validator</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency> <!-- for cassandra-all because maven fails to reliably resolve the conflict with cassandra-driver-core -->
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>18.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.4</version>
        </dependency>

        <!-- hamcrest could be moved to the test-scope. But as the examples do not declare hamcrest-deps in their pom, 
             better leave them in compile-scope --> 
        <dependency> <!-- dont mix self-contained hamcrest-all and hamcrest-submodules -->
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-core</artifactId>
            <version>${cu.hamcrest.version}</version>
        </dependency>
        <dependency>
            <groupId>org.hamcrest</groupId>
            <artifactId>hamcrest-library</artifactId>
            <version>${cu.hamcrest.version}</version>
        </dependency>

        <!-- optional clients. The app defines which one to use and in which version -->
        <dependency>
            <groupId>org.hectorclient</groupId>
            <artifactId>hector-core</artifactId>
            <version>${cu.hector.version}</version>
            <optional>true</optional>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>com.datastax.cassandra</groupId>
            <artifactId>cassandra-driver-core</artifactId>
            <version>${cu.cassandra.driver.version}</version>
            <optional>true</optional>
        </dependency>

        <!-- test -->
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>1.10.19</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.4</version>
            <scope>test</scope>
        </dependency>

        <!-- log -->
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>${cu.slf4j.version}</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>${cu.slf4j.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>jcl-over-slf4j</artifactId>
            <version>${cu.slf4j.version}</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>

POM Entry

<dependency>
   <groupId>org.cassandraunit</groupId>
   <artifactId>cassandra-unit</artifactId>
   <version>2.2.2.1</version>
</dependency>

Download

If you think the following cassandra-unit-2.2.2.1.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.



Download cassandra-unit-2.2.2.1.jar file




PreviousNext

Related