cloning.
The cloning library is a small, open source (Apache licensed) Java library which deep-clones objects. The objects do not have to implement the Cloneable interface. Effectivelly, this library can clone ANY Java object. It can be used i.e. in cache implementations, if you don't want the cac....
Here is the list of declaration for cloning. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>uk.com.robust-it</groupId> <artifactId>cloning</artifactId> <version>1.9.0</version> </dependency>
If you think this Maven repository POM file listing for cloning is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.
The cloning-1.9.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.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 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 |
Development | objenesis 1.2 A library for instantiating Java objects | 72 |
The following plugins are used in the cloning-1.9.0.jar
The following packages are defined in the cloning-1.9.0.jar
com.rits.cloning com.rits.perspectives
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> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>5</version> </parent> <groupId>uk.com.robust-it</groupId> <artifactId>cloning</artifactId> <packaging>bundle</packaging> <version>1.9.0</version> <name>cloning</name> <url>https://code.google.com/p/cloning/</url> <description><![CDATA[ The cloning library is a small, open source (Apache licensed) Java library which deep-clones objects. The objects do not have to implement the Cloneable interface. Effectivelly, this library can clone ANY Java object. It can be used i.e. in cache implementations, if you don't want the cached object to be modified or whenever you want to create a deep copy of an object. Sample usage: You can create a single instance of cloner and use it throughout your application. i.e. Cloner cloner=new Cloner(); ... cloner.deepClone(o); Please check http://robust-it.co.uk/clone/ for more examples (spring integration, immutable objects etc) ]]></description> <licenses> <license> <name>Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <scm> <connection>scm:git:https://kostas.kougios@code.google.com/p/cloning/</connection> <developerConnection>scm:git:https://kostas.kougios@code.google.com/p/cloning/ </developerConnection> <url>https://code.google.com/p/cloning/source/browse/</url> </scm> <issueManagement> <system>Google Code</system> <url>https://code.google.com/p/cloning/issues/list</url> </issueManagement> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.8</version> <configuration> <includes> <include>**/Test*.java</include> </includes> </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.7</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.2.1</version> </plugin> <plugin> <artifactId>maven-repository-plugin</artifactId> <version>2.3.1</version> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> <configuration> <descriptors> <descriptor>src/main/assembly/dist.xml</descriptor> </descriptors> <descriptorRefs> <descriptorRef>project</descriptorRef> </descriptorRefs> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.7</version> <extensions>true</extensions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> <dependency> <groupId>org.objenesis</groupId> <artifactId>objenesis</artifactId> <version>1.2</version> </dependency> </dependencies> <profiles> <profile> <id>sonatype-deploy</id> <build> <defaultGoal>deploy</defaultGoal> <plugins> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>1.2</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> <configuration> <useAgent>true</useAgent> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>