Maven Repository - POM file for JUnit jmockit 0.999.12 0.999.12

Summary

Main.

JMockit is a Java toolkit for developer (unit/integration) testing. It contains mocking APIs and other tools, supporting both JUnit and TestNG. The mocking APIs allow all kinds of Java code, without testability restrictions, to be tested in isolation from selected dependencies..

Declaration

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

<dependency>
   <groupId>com.googlecode.jmockit</groupId>
   <artifactId>jmockit</artifactId>
   <version>0.999.12</version>
</dependency>

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





License

Name:MIT LICENSE
URL: http://www.opensource.org/licenses/mit-license.php.

Depends on

The jmockit-0.999.12 has 5 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
JUnitjunit 4.10
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
1957
Logcommons-logging 1.1.1
Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems.
1143
Logslf4j-api 1.5.8
The slf4j API
88
Loglog4j 1.2.15
Apache Log4j 1.2
310

Plugin

The following plugins are used in the jmockit-0.999.12.jar

  1. maven-compiler-plugin
  2. maven-gpg-plugin
  3. maven-jar-plugin
  4. maven-javadoc-plugin
  5. maven-source-plugin
  6. maven-surefire-plugin




Packages

The following packages are defined in the jmockit-0.999.12.jar

com.sun.tools.attach
com.sun.tools.attach.spi
junit.framework
mockit
mockit.external.asm4
mockit.integration
mockit.integration.junit3.internal
mockit.integration.junit4
mockit.integration.junit4.internal
mockit.integration.logging
mockit.integration.testng
mockit.integration.testng.internal
mockit.internal
mockit.internal.annotations
mockit.internal.capturing
mockit.internal.expectations
mockit.internal.expectations.argumentMatching
mockit.internal.expectations.invocation
mockit.internal.expectations.mocking
mockit.internal.expectations.transformation
mockit.internal.filtering
mockit.internal.startup
mockit.internal.state
mockit.internal.util
org.junit.runner
sun.tools.attach




POM File Source

Here is the content of the POM file.

<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>com.googlecode.jmockit</groupId><artifactId>jmockit</artifactId><version>0.999.12</version>
   <packaging>jar</packaging>
   <prerequisites><maven>3.0.1</maven></prerequisites>

   <name>Main</name>
   <description>
      JMockit is a Java toolkit for developer (unit/integration) testing.
      It contains mocking APIs and other tools, supporting both JUnit and TestNG.
      The mocking APIs allow all kinds of Java code, without testability restrictions, to be tested
      in isolation from selected dependencies.
   </description>
   <url>http://code.google.com/p/jmockit</url>
   <licenses>
      <license>
         <name>MIT LICENSE</name>
         <url>http://www.opensource.org/licenses/mit-license.php</url>
         <distribution>repo</distribution>
      </license>
   </licenses>
   <scm>
      <url>http://code.google.com/p/jmockit/source/browse/trunk</url>
      <connection>scm:http://jmockit.googlecode.com/svn/trunk/ jmockit-read-only</connection>
   </scm>
   
   <inceptionYear>2006</inceptionYear>
   <issueManagement><url>http://code.google.com/p/jmockit/issues/list</url></issueManagement>
   <mailingLists>
      <mailingList>
         <name>JMockit Users</name>
         <archive>http://groups.google.com/group/jmockit-users</archive>
         <post>jmockit-users@googlegroups.com</post>
      </mailingList>
   </mailingLists>

   <properties>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   </properties>

   <build>
      <sourceDirectory>src</sourceDirectory>
      <testSourceDirectory>test</testSourceDirectory>
      <outputDirectory>classes</outputDirectory>
      <testOutputDirectory>test-classes</testOutputDirectory>
      <resources>
         <resource>
            <directory>src</directory>
            <includes><include>jmockit.properties</include></includes>
         </resource>
         <resource>
            <directory>.</directory>
            <includes><include>META-INF/services/org.testng.ITestNGListener</include></includes>
         </resource>
      </resources>
      <plugins>
         <plugin>
            <artifactId>maven-compiler-plugin</artifactId><version>2.0.2</version>
            <configuration><source>1.5</source><target>1.5</target></configuration>
         </plugin>
         <plugin>
            <artifactId>maven-jar-plugin</artifactId><version>2.2</version>
            <executions>
               <execution>
                  <phase>compile</phase>
                  <goals><goal>jar</goal></goals>
               </execution>
            </executions>
            <configuration>
               <archive>
                  <addMavenDescriptor>false</addMavenDescriptor>
                  <manifestEntries>
                     <Premain-Class>mockit.internal.startup.Startup</Premain-Class>
                     <Agent-Class>mockit.internal.startup.Startup</Agent-Class>
                     <Can-Redefine-Classes>true</Can-Redefine-Classes>
                  </manifestEntries>
               </archive>
               <excludes><exclude>Temp.class</exclude></excludes>
            </configuration>
         </plugin>
         <plugin>
            <artifactId>maven-source-plugin</artifactId><version>2.1.2</version>
            <executions>
               <execution>
                  <id>attach-sources</id>
                  <goals><goal>jar</goal></goals>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <artifactId>maven-javadoc-plugin</artifactId><version>2.8</version>
            <configuration>
               <encoding>UTF-8</encoding>
               <nodeprecated>true</nodeprecated>
               <noindex>true</noindex>
               <notree>true</notree>
               <nohelp>true</nohelp>
               <breakiterator>true</breakiterator>
               <use>false</use>
               <source>1.5</source>
               <windowtitle>JMockit Toolkit API</windowtitle>
               <doctitle>JMockit Toolkit API Documentation</doctitle>
               <stylesheetfile>${basedir}/../www/javadoc/stylesheet.css</stylesheetfile>
               <overview>${basedir}/../www/javadoc/overview.html</overview>
               <header><![CDATA[<a href="http://code.google.com/p/jmockit" target="_top">JMockit Home</a>]]></header>
               <footer><![CDATA[<a href="http://code.google.com/p/jmockit" target="_top">JMockit Home</a>]]></footer>
               <bottom><![CDATA[<font size=-1>? 2006-2011 Rog?rio Liesenfeld</font>]]></bottom>
               <notimestamp>true</notimestamp>
               <quiet>true</quiet>
               <sourcepath>${basedir}/src</sourcepath>
               <subpackages>none</subpackages>
               <additionalparam>mockit mockit.integration.logging mockit.integration.testng</additionalparam>
            </configuration>
            <executions>
               <execution>
                  <id>attach-javadocs</id>
                  <goals><goal>jar</goal></goals>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <artifactId>maven-surefire-plugin</artifactId><version>2.6</version>
            <configuration>
               <disableXmlReport>true</disableXmlReport>
               <testNGArtifactName>none:none</testNGArtifactName>
               <argLine>-javaagent:"${project.build.directory}"/jmockit-${project.version}.jar</argLine>
               <excludes>
                  <exclude>**/*$*</exclude>
                  <exclude>**/Base*Test.class</exclude>
                  <exclude>**/testng/*Test.class</exclude>
                  <exclude>**/MockStateBetweenTestMethodsNGTest.class</exclude>
               </excludes>
            </configuration>
         </plugin>
         <plugin>
            <artifactId>maven-gpg-plugin</artifactId><version>1.4</version>
            <executions>
               <execution>
                  <id>sign-artifacts</id>
                  <goals><goal>sign</goal></goals>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>

   <distributionManagement>
      <repository>
         <id>sonatype-nexus-staging</id>
         <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
      </repository>
   </distributionManagement>

   <dependencies>
      <dependency>
         <groupId>junit</groupId><artifactId>junit</artifactId><version>4.10</version>
         <optional>true</optional>
      </dependency>
      <dependency>
         <groupId>org.testng</groupId><artifactId>testng</artifactId><version>6.3.1</version>
         <optional>true</optional>
         <exclusions>
            <exclusion><groupId>junit</groupId><artifactId>junit</artifactId></exclusion>
            <exclusion><groupId>org.beanshell</groupId><artifactId>bsh</artifactId></exclusion>
            <exclusion><groupId>com.beust</groupId><artifactId>jcommander</artifactId></exclusion>
            <exclusion><groupId>org.yaml</groupId><artifactId>snakeyaml</artifactId></exclusion>
         </exclusions>
      </dependency>
      <dependency>
         <groupId>commons-logging</groupId><artifactId>commons-logging</artifactId><version>1.1.1</version>
         <optional>true</optional>
      </dependency>
      <dependency>
         <groupId>org.slf4j</groupId><artifactId>slf4j-api</artifactId><version>1.5.8</version>
         <optional>true</optional>
      </dependency>
      <dependency>
         <groupId>log4j</groupId><artifactId>log4j</artifactId><version>1.2.15</version>
         <optional>true</optional>
         <exclusions>
            <exclusion><groupId>javax.jms</groupId><artifactId>jms</artifactId></exclusion>
            <exclusion><groupId>javax.mail</groupId><artifactId>mail</artifactId></exclusion>
            <exclusion><groupId>com.sun.jmx</groupId><artifactId>jmxri</artifactId></exclusion>
            <exclusion><groupId>com.sun.jdmk</groupId><artifactId>jmxtools</artifactId></exclusion>
         </exclusions>
      </dependency>
   </dependencies>
</project>