Hamcrest Core.
This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations..
Here is the list of declaration for hamcrest-core. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.2</version> </dependency>
If you think this Maven repository POM file listing for hamcrest-core is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:New BSD License
URL: http://www.opensource.org/licenses/bsd-license.php.
The following table lists the most popular artifacts which are depending on hamcrest-core-1.2. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Cache | ehcache-core 2.4.5 This is the ehcache core module. Pair it with other modules for added functionality. | 6 |
Android | robolectric 1.1 An alternative Android testing framework. | 6 |
Android | robolectric 1.0-RC1 An alternative Android testing framework. | 6 |
Cache | ehcache-core 2.5.2 This is the ehcache core module. Pair it with other modules for added functionality. | 18 |
Android | robolectric 1.2 An alternative Android testing framework. | 14 |
Cache | ehcache-core 2.5.7 This is the ehcache core module. Pair it with other modules for added functionality. | 5 |
Cache | ehcache-core 2.6.5 This is the ehcache core module. Pair it with other modules for added functionality. | 6 |
Cache | ehcache-core 2.4.8 This is the ehcache core module. Pair it with other modules for added functionality. | 7 |
Cache | ehcache-core 2.6.8 This is the ehcache core module. Pair it with other modules for added functionality. | 13 |
Cache | ehcache-core 2.5.0 This is the ehcache core module. Pair it with other modules for added functionality. | 5 |
Cache | ehcache-core 2.6.2 This is the ehcache core module. Pair it with other modules for added functionality. | 28 |
JUnit | spock-core 0.6-groovy-1.8 Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compatible with most IDEs, build tools, and continuous integration servers. Spo... | 8 |
Cache | ehcache-core 2.5.1 This is the ehcache core module. Pair it with other modules for added functionality. | 10 |
Inversion of Control | ness-lifecycle 1.0.1 Guice based lifecycle. | 6 |
Cache | ehcache-core 2.6.0 This is the ehcache core module. Pair it with other modules for added functionality. | 6 |
Android | robolectric 1.0 An alternative Android testing framework. | 7 |
Library | vraptor 3.4.1 Java web MVC framework for fast and maintainable development | 12 |
Cache | ehcache-core 2.5.6 This is the ehcache core module. Pair it with other modules for added functionality. | 5 |
Cache | ehcache-core 2.6.6 This is the ehcache core module. Pair it with other modules for added functionality. | 7 |
The following plugins are used in the hamcrest-core-1.2.jar
The following packages are defined in the hamcrest-core-1.2.jar
org.hamcrest org.hamcrest.core org.hamcrest.internal
Here is the content of the POM file.
<?xml version="1.0" encoding="ISO-8859-1"?> <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> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.2</version> <packaging>jar</packaging> <name>Hamcrest Core</name> <description> This is the core API of hamcrest matcher framework to be used by third-party framework providers. This includes the a foundation set of matcher implementations for common operations. </description> <url>http://code.google.com/p/hamcrest/</url> <licenses> <license> <name>New BSD License</name> <url>http://www.opensource.org/licenses/bsd-license.php</url> <distribution>repo</distribution> </license> </licenses> <scm> <url>http://code.google.com/p/hamcrest/source/browse/</url> <connection>http://hamcrest.googlecode.com/svn/trunk/hamcrest-core</connection> </scm> <build> <resources> <resource> <directory>..</directory> <includes> <include>LICENSE.txt</include> </includes> </resource> </resources> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>generate-sources</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>initialize</id> <phase>initialize</phase> <configuration> <target> <mkdir dir="target/generated-sources" /> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <goals> <goal>java</goal> </goals> <phase>generate-sources</phase> </execution> </executions> <configuration> <includePluginDependencies>true</includePluginDependencies> <mainClass>org.hamcrest.generator.config.XmlConfigurator</mainClass> <arguments> <argument>../core-matchers.xml</argument> <argument>src/main/java</argument> <argument>org.hamcrest.CoreMatchers</argument> <argument>target/generated-sources</argument> </arguments> <sourceRoot>target/generated-sources</sourceRoot> </configuration> <dependencies> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-generator</artifactId> <version>${project.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> </project>