Skip to content
Permalink
Browse files
renaming packages
  • Loading branch information
jwcarman committed Jul 17, 2010
1 parent 76e3313 commit 90aa37616ab561beb13ecaa08917c0a9b67c7f3e
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 23 deletions.
@@ -27,7 +27,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>commons-proxy-cglib</artifactId>

<name>Commons Proxy CGLIB Proxies Module</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>commons-proxy</artifactId>

<name>Commons Proxy</name>
<dependencies>
<dependency>
<groupId>aopalliance</groupId>
@@ -31,6 +31,7 @@
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Date;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.ServiceLoader;
@@ -57,7 +58,17 @@ public abstract class AbstractProxyFactoryTestCase extends AbstractTestCase

protected AbstractProxyFactoryTestCase()
{
this.factory = ServiceLoader.load(ProxyFactory.class).iterator().next();
final ServiceLoader<ProxyFactory> serviceLoader = ServiceLoader.load(ProxyFactory.class);
Iterator<ProxyFactory> iter = serviceLoader.iterator();
if(iter.hasNext())
{
this.factory= iter.next();
}
else
{
throw new RuntimeException("Unable to find proxy factory implementation.");
}

}

//**********************************************************************************************************************
@@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>commons-proxy-javassist</artifactId>

<name>Commons Proxy Javassist Proxies Module</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>commons-proxy-jdk</artifactId>

<name>Commons Proxy JDK Proxies Module</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
27 pom.xml
@@ -34,7 +34,7 @@
</parent>
<artifactId>commons-proxy-parent</artifactId>
<version>2.0-SNAPSHOT</version>
<name>Commons Proxy</name>
<name>Commons Proxy Parent</name>
<description>Java library for dynamic proxying</description>
<url>http://commons.apache.org/proxy/</url>
<inceptionYear>2005</inceptionYear>
@@ -114,6 +114,14 @@
</scm>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
@@ -174,22 +182,5 @@
<commons.binary.suffix></commons.binary.suffix>
<commons.jira.id>PROXY</commons.jira.id>
<commons.jira.pid>12310731</commons.jira.pid>
<releaseManager>${user.name}</releaseManager>
</properties>

<profiles>
<profile>
<id>rc</id>
<distributionManagement>
<site>
<id>stagingSite</id>
<name>Release Candidate Staging Site</name>
<url>
${commons.deployment.protocol}://people.apache.org/home/${releaseManager}/public_html/${artifactId}-${version}
</url>
</site>
</distributionManagement>
</profile>
</profiles>

</project>

0 comments on commit 90aa376

Please sign in to comment.