sweis / step2

Combine the OpenID authentication and the OAuth authorization protocols
0 stars 0 forks source link

openid4java class files included step2-commons jar #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
Use the 20090602 build of step2-commons from
http://code.google.com/p/step2/source/browse/#svn/code/java/maven/com/google/ste
p2/step2-common/1-SNAPSHOT
2.
OR, mvn install on trunk, and use the corresponding jar generated in target/

--
What is the expected output? What do you see instead?
Expected: only com.google.step files in the jar
Actual: A subset of the openid4java files are included in the step2-common
jar. 

--
What version of the product are you using? On what operating system?
Maven version: 2.0.9
Java version: 1.6.0_01
OS name: "linux" version: "2.6.24-gg24-generic" arch: "i386" Family: "unix"

--
Additional information
Because both step2-common and openid4java's own jar define the
org.openid4java package, the classloader can be confused. When loading
classes and resources, the classloader would terminate on the first jar
file it encounters with the target package, making the correctness
dependent on the order of jar files in the CLASSPATH.

The openid4java class files should not be included in the resulting jar file.

Original issue reported on code.google.com by gerard...@gmail.com on 19 Jul 2009 at 3:42

GoogleCodeExporter commented 8 years ago
title should be
openid4java class files included IN step2-commons jar

Original comment by gerard...@gmail.com on 19 Jul 2009 at 4:04