Maven Repository - POM file for Testing Mock easymock 3.0 3.0

Summary

EasyMock.

EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly.

Declaration

Here is the list of declaration for easymock. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.easymock</groupId>
   <artifactId>easymock</artifactId>
   <version>3.0</version>
</dependency>

If you think this Maven repository POM file listing for easymock is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Depends on

The easymock-3.0 has 2 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Byte Codecglib-nodep 2.2
Code generation library with shaded ASM dependecies
283
Developmentobjenesis 1.2
A library for instantiating Java objects
72




Depended by

The following table lists the most popular artifacts which are depending on easymock-3.0. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Inversion of Controlroboguice 2.0
A framework for using Google Guice dependency injection in Android.
5
JUnithtmlunit 2.13
A headless browser intended for use in testing web-based applications.
10
Data Structurecommons-lang3 3.1
Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.
287
Businesscamel-core 2.10.3
The Core Camel Java DSL based router
30
JPA Hibernatehibernate-validator 4.2.0.Final
Hibernate's Bean Validation (JSR-303) reference implementation.
122
Businesscamel-core 2.10.0
The Core Camel Java DSL based router
13
Web Serviceads-lib 1.0.0
Java client library for accessing ads APIs including AdWords, DFA, and DFP. If you want to use this library, you must also include another Maven artifact to specify which framework you would like to use it with. For example, to use AdWords with Axis, you should include the "adwords-axis...
5
JEEjmdns 3.4.1
JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour. The project was originally started in December 2002 by Arthur van Hoff at Strangeberry. In November 2003 the project was mo...
7
JEEorg.apache.aries.spifly.dynamic.bundle 1.0.1
This bundle contains an extender that facilitates the use of JRE SPI providers (components typically plugged in to the JRE through META-INF/services resources).
7
JPA Hibernatehibernate-validator 4.1.0.Final
Hibernate's Bean Validation (JSR-303) reference implementation.
98
XMLprotobuf-java-format 1.2
Provide serialization and de-serialization of different formats based on Google?s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.
6
Developmentcommon 0.4.0
The common framework for client libraries for accessing various Google ads APIs. Users are not expected to list this as a dependency on its own. Instead, there are product specific libraries such as "dfa-lib" and "adwords-lib" that already have this listed as a dependency.
8
JUnithtmlunit 2.11
A headless browser intended for use in testing web-based applications.
9
JUnithtmlunit 2.12
A headless browser intended for use in testing web-based applications.
14
JUnithtmlunit 2.9
A headless browser intended for use in testing web-based applications.
37
JEEjmdns 3.4.2-r353-1
JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour. The project was originally started in December 2002 by Arthur van Hoff at Strangeberry. In November 2003 the project was mo...
5




Plugin

The following plugins are used in the easymock-3.0.jar

  1. maven-antrun-plugin
  2. maven-assembly-plugin
  3. maven-bundle-plugin

Packages

The following packages are defined in the easymock-3.0.jar

org.easymock
org.easymock.internal
org.easymock.internal.matchers

POM File Source

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/xsd/maven-4.0.0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>org.easymock</groupId>
    <artifactId>easymock-parent</artifactId>
    <version>3.0</version>
    <relativePath>..</relativePath>
  </parent>

  <artifactId>easymock</artifactId>
  <packaging>jar</packaging>
  <name>EasyMock</name>
  <description>EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly</description>
  <inceptionYear>2001</inceptionYear>
  <organization>
    <name>OFFIS, Tammo Freese, Henri Tremblay</name>
  </organization>
  
  <dependencies>
    <dependency>
      <groupId>cglib</groupId>
      <artifactId>cglib-nodep</artifactId>
      <version>2.2</version>
    </dependency>
    <dependency>
      <groupId>org.objenesis</groupId>
      <artifactId>objenesis</artifactId>
      <version>1.2</version>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <configuration>
              <tasks/>
              <testSourceRoot>${basedir}/src/samples/java</testSourceRoot>
            </configuration>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <Export-Package>org.easymock.internal.*;poweruser=true;mandatory:=poweruser, org.easymock</Export-Package>
            <Import-Package>net.sf.cglib.core;resolution:=optional,net.sf.cglib.proxy;resolution:=optional,net.sf.cglib.reflect;resolution:=optional,org.easymock,org.easymock.internal;poweruser=true,org.objenesis;resolution:=optional</Import-Package>
          </instructions>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>prepare-package</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <configuration>
          <finalName>${project.artifactId}-${project.version}</finalName>
          <descriptors>
            <descriptor>${basedir}/src/main/assembly/assembly-tests.xml</descriptor>
            <descriptor>${basedir}/src/main/assembly/assembly-samples.xml</descriptor>
            <descriptor>${basedir}/src/main/assembly/assembly.xml</descriptor>
          </descriptors>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>fullBuild</id>
      <activation>
        <activeByDefault>true</activeByDefault>      
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>com.atlassian.maven.plugins</groupId>
            <artifactId>maven-clover2-plugin</artifactId>
            <configuration>
              <licenseLocation>${basedir}/clover.license</licenseLocation>
              <targetPercentage>100.00%</targetPercentage>
              <generateHtml>true</generateHtml>
              <generateXml>false</generateXml>
              <jdk>1.5</jdk>
              <excludes>
                <exclude>**/org/easymock/tests/IMethods.java</exclude>
                <exclude>**/org/easymock/tests/IVarArgs.java</exclude>
                <exclude>**/org/easymock/tests/Util.java</exclude>
                <exclude>**/org/easymock/samples/*.java</exclude>
              </excludes>
            </configuration>
            <executions>
              <execution>
                <phase>verify</phase>
                <goals>
                  <goal>instrument</goal>
                  <goal>clover</goal>
                  <goal>check</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <!-- Run the tests with JDK 1.5 to be sure EasyMock is compliant -->
              <jvm>${jdk1_5.jvm}</jvm>
            </configuration>
            <executions>
              <execution>
                <phase>verify</phase>
                <goals>
                  <goal>test</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>com.mycila.maven-license-plugin</groupId>
            <artifactId>maven-license-plugin</artifactId>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
</project>