Maven Repository - POM file for Testing Mock powermock-core 1.4.12 1.4.12

Summary

powermock-core.

PowerMock core functionality..

Declaration

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

<dependency>
   <groupId>org.powermock</groupId>
   <artifactId>powermock-core</artifactId>
   <version>1.4.12</version>
</dependency>

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

License

Apache License.

Depends on

The powermock-core-1.4.12 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
JUnitjunit 4.4
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.
301
Filejavassist 3.16.1-GA
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java.
25




Plugin

The following plugins are used in the powermock-core-1.4.12.jar

  1. maven-jar-plugin

Packages

The following packages are defined in the powermock-core-1.4.12.jar

org.powermock.core
org.powermock.core.classloader
org.powermock.core.classloader.annotations
org.powermock.core.spi
org.powermock.core.spi.listener
org.powermock.core.spi.support
org.powermock.core.spi.testresult
org.powermock.core.spi.testresult.impl
org.powermock.core.testlisteners
org.powermock.core.transformers
org.powermock.core.transformers.impl
org.powermock.mockpolicies
org.powermock.mockpolicies.impl
org.powermock.mockpolicies.support
org.powermock.tests.utils
org.powermock.tests.utils.impl




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2011 the original author or authors.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<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">
    <parent>
        <artifactId>powermock</artifactId>
        <groupId>org.powermock</groupId>
        <version>1.4.12</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.powermock</groupId>
    <artifactId>powermock-core</artifactId>
    <name>powermock-core</name>
    <url>http://www.powermock.org</url>

    <description>
    PowerMock core functionality.
    </description>

    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.4</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-reflect</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <groupId>org.javassist</groupId>
            <artifactId>javassist</artifactId>
            <version>3.16.1-GA</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>