Objenesis.
A library for instantiating Java objects.
Here is the list of declaration for objenesis. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>1.3</version> </dependency>
If you think this Maven repository POM file listing for objenesis is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table lists the most popular artifacts which are depending on objenesis-1.3. Their categories and depend by count are also listed.
Category | Artifact | Depended By Count |
---|---|---|
Testing Mock | easymock 3.2 EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly | 69 |
Android | robolectric 2.2 An alternative Android testing framework. | 10 |
Spring | spring-data-mongodb 1.5.0.RELEASE MongoDB support for Spring Data | 6 |
The following plugins are used in the objenesis-1.3.jar
The following packages are defined in the objenesis-1.3.jar
org.objenesis org.objenesis.instantiator org.objenesis.instantiator.android org.objenesis.instantiator.basic org.objenesis.instantiator.gcj org.objenesis.instantiator.jrockit org.objenesis.instantiator.perc org.objenesis.instantiator.sun org.objenesis.strategy
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> <parent> <groupId>org.objenesis</groupId> <artifactId>objenesis-parent</artifactId> <version>1.3</version> </parent> <artifactId>objenesis</artifactId> <name>Objenesis</name> <description>A library for instantiating Java objects</description> <url>http://objenesis.org</url> <dependencies /> <build> <plugins> <plugin> <groupId>com.keyboardsamurais.maven</groupId> <artifactId>maven-timestamp-plugin</artifactId> </plugin> <plugin> <groupId>com.google.code.maven-license-plugin</groupId> <artifactId>maven-license-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Import-Package> COM.jrockit.reflect;resolution:=optional, jrockit.vm;resolution:=optional, COM.newmonics.PercClassloader;resolution:=optional, sun.reflect;resolution:=optional </Import-Package> </instructions> </configuration> </plugin> </plugins> </build> <profiles> <profile> <!-- Activate to create the release bundle --> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <configuration> <attach>false</attach> <descriptors> <descriptor>assembly.xml</descriptor> </descriptors> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>