组织ID: |
org.hamcrest |
项目ID: |
hamcrest-library |
版本: |
1.2.1 |
最后修改时间: |
2018-07-27 16:54:25 |
包类型: |
jar |
标题: |
Hamcrest library |
描述: |
Hamcrest library of matcher implementations. |
相关URL: |
http://code.google.com/p/hamcrest/ |
大小: |
49.26KB |
|
Maven引入代码: |
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.2.1</version>
</dependency>
|
Gradle引入代码: |
org.hamcrest:hamcrest-library:1.2.1
|
下载Jar包: |
|
POM文件内容: |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
| This POM builds hamcrest library.
|
| There are some key informations to know about the generated classes:
| Upon building a class named "Matchers" will be generated. This will take place after compiling all classes.
| So be sure to call "mvn process-classes compile", not only "mvn compile".
| "mvn clean package" will result in a package without the generated class.
| Instead call "mvn clean process-classes package".
|
| Some notes for installing, releasing, deploying:
| Be sure to generate source and javadoc jars AFTER packaging to contain the generated class.
| Call "mvn clean process-classes package source:jar javadoc:jar".
| To generate a bundle call "mvn clean process-classes package source:jar javadoc:jar gpg:sign repository:bundle-create"
-->
<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-library</artifactId>
<version>1.2.1</version>
<packaging>jar</packaging>
<name>Hamcrest library</name>
<description>Hamcrest library of matcher implementations.</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>
<developers>
<developer>
<id>joe.walnes</id>
<name>Joe Walnes</name>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>nat.pryce</id>
<name>Nat Pryce</name>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>smgfreeman</id>
<name>Steve Freeman</name>
<roles>
<role>Developer</role>
</roles>
</developer>
<developer>
<id>neildunn</id>
<name>Neil Dunn</name>
<roles>
<role>Developer</role>
</roles>
</developer>
</developers>
<scm>
<url>http://code.google.com/p/hamcrest/source/browse/</url>
<connection>http://hamcrest.googlecode.com/svn/trunk/hamcrest-library</connection>
</scm>
<properties>
<hamcrest.version>1.2</hamcrest.version>
</properties>
<dependencies>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>..</directory>
<includes>
<include>LICENSE.txt</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<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>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<includeProjectDependencies>true</includeProjectDependencies>
<includePluginDependencies>true</includePluginDependencies>
<mainClass>org.hamcrest.generator.config.XmlConfigurator</mainClass>
<arguments>
<argument>../matchers.xml</argument>
<argument>../hamcrest-core/src/main/java,src/main/java</argument>
<argument>org.hamcrest.Matchers</argument>
<argument>target/generated-sources</argument>
</arguments>
<sourceRoot>target/generated-sources</sourceRoot>
</configuration>
<dependencies>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-generator</artifactId>
<version>${hamcrest.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<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>
</plugins>
</build>
</profile>
</profiles>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
LICENSE.txt
org.hamcrest.beans.HasProperty.class
org.hamcrest.beans.HasPropertyWithValue.class
org.hamcrest.beans.PropertyUtil.class
org.hamcrest.beans.SamePropertyValuesAs$PropertyMatcher.class
org.hamcrest.beans.SamePropertyValuesAs.class
org.hamcrest.collection.IsArray.class
org.hamcrest.collection.IsArrayContaining.class
org.hamcrest.collection.IsArrayContainingInAnyOrder.class
org.hamcrest.collection.IsArrayContainingInOrder.class
org.hamcrest.collection.IsArrayWithSize.class
org.hamcrest.collection.IsCollectionWithSize.class
org.hamcrest.collection.IsEmptyCollection.class
org.hamcrest.collection.IsEmptyIterable.class
org.hamcrest.collection.IsIn.class
org.hamcrest.collection.IsIterableContainingInAnyOrder$Matching.class
org.hamcrest.collection.IsIterableContainingInAnyOrder.class
org.hamcrest.collection.IsIterableContainingInOrder$MatchSeries.class
org.hamcrest.collection.IsIterableContainingInOrder.class
org.hamcrest.collection.IsIterableWithSize.class
org.hamcrest.collection.IsMapContaining.class
org.hamcrest.Matchers.class
org.hamcrest.number.IsCloseTo.class
org.hamcrest.number.OrderingComparison.class
org.hamcrest.object.HasToString.class
org.hamcrest.object.IsCompatibleType.class
org.hamcrest.object.IsEventFrom.class
org.hamcrest.text.IsEmptyString.class
org.hamcrest.text.IsEqualIgnoringCase.class
org.hamcrest.text.IsEqualIgnoringWhiteSpace.class
org.hamcrest.text.StringContainsInOrder.class
org.hamcrest.xml.HasXPath.class
META-INF/maven/org.hamcrest/hamcrest-library/pom.xml
META-INF/maven/org.hamcrest/hamcrest-library/pom.properties
|
依赖Jar: |
hamcrest-core-${project.version}.jar
/org.hamcrest/hamcrest-core/${project.version}
查看hamcrest-core所有版本文件
junit-3.8.1.jar
/junit/junit/3.8.1
查看junit所有版本文件
|