We have a bad unused import in that test.  Can you open an issue for it?

Your quick fix is to remove this line in the file:
import com.sun.xml.internal.ws.client.RequestContext;


On Fri, Nov 5, 2010 at 10:11 AM, Srinivas Varadaraj <[email protected]> wrote:

> Hello,
> I want to thank you ahead for helping me on this issue. I am attempting a
> stock build of CAS, from the download page.
>
> Here is my environment, Fedora 13 x86_64bit.
> Java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
>
>
> Apache Maven 3.0 (r1004208; 2010-10-04 06:50:56-0500)
> Java version: 1.6.0_22
> Java home: /usr/java/jdk1.6.0_22/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.34.7-61.fc13.x86_64" arch: "amd64" Family:
> "unix"
>
>
>
> When I do a mvn package in the downloaded directory, no matter what I do I
> can't get past the following error.
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4.840s
> [INFO] Finished at: Fri Nov 05 09:05:29 CDT 2010
> [INFO] Final Memory: 20M/170M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) on project cas-server-core: Compilation failure
> [ERROR]
> /shyam/shyam/Download/CAS/cas-server-3.4.3.1/cas-server-core/src/test/java/org/jasig/cas/web/support/ThrottledSubmissionByIpAddressHandlerInterceptorAdapterTests.java:[15,37]
> package com.sun.xml.internal.ws.client does not exist
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> (default-testCompile) on project cas-server-core: Compilation failure
> /shyam/shyam/Download/CAS/cas-server-3.4.3.1/cas-server-core/src/test/java/org/jasig/cas/web/support/ThrottledSubmissionByIpAddressHandlerInterceptorAdapterTests.java:[15,37]
> package com.sun.xml.internal.ws.client does not exist
>
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:314)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:132)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
> failure
> /shyam/shyam/Download/CAS/cas-server-3.4.3.1/cas-server-core/src/test/java/org/jasig/cas/web/support/ThrottledSubmissionByIpAddressHandlerInterceptorAdapterTests.java:[15,37]
> package com.sun.xml.internal.ws.client does not exist
>
>         at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
>         at
> org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:161)
>         at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
>         at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195)
>         ... 19 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :cas-server-core
>
> Now if I add <skipTests> or <skip> tag to the pom.xml, the build stalls
> trying to download
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JA-SIG CAS Memcached Integration 3.4.3.1
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://developer.ja-sig.org/maven2/spy/memcached/2.3.1/memcached-2.3.1.jar
>
> Appreciate any help, I apologize if this needs to go to the developer
> thread, please let me know
>
>
> Thank you.
> -sri
> Srinivas Varadaraj
> Security Operations Center,
> Lamar University,
> 409-880-8410 (O)
> 409-225-7415 (C)
> Email: [email protected]
>
>
>
> CONFIDENTIALITY: Any information contained in this e-mail
> (including attachments) is the property of The State of Texas and
> unauthorized disclosure or use is prohibited. Sending, receiving or
> forwarding of confidential, proprietary and privileged information is
> prohibited under Lamar Policy. If you received this e-mail in error,
> please notify the sender and delete this e-mail from your system.
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
>
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to