mirror of https://github.com/apache/maven.git
only use classworlds at runtime
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163477 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
73f4808ea7
commit
cf09cbd373
|
@ -1,8 +1,11 @@
|
|||
package org.apache.maven.it0010;
|
||||
|
||||
import org.codehaus.classworlds.ClassRealm;
|
||||
|
||||
public class PersonFinder
|
||||
{
|
||||
private ClassRealm classRealm;
|
||||
public void findPerson()
|
||||
throws Exception
|
||||
{
|
||||
// look it up at runtime, but do not require it at compile time
|
||||
Class.forName( "org.codehaus.classworlds.ClassRealm" );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue