I'll see if I can find out who to ask about getting this fixed.
Marc.
On Feb 22, 2010, at 12:26 PM, Wilfred Springer wrote:
> I am also experiencing some problems with the dev.java.net Maven repository.
>
> It turns out that when you are trying to download an artifact from the repository, that it will redirect you to an HTTPS version of that same URI. It seems that Maven is either not processing the redirect correctly, or the response is actually not a 301 response, but rather a 200 OK response wrapping serving the contents of the 301 response down the line. In any case, the result is that I get files like these in my repository:
>
> (the example is the maven-jaxb-plugin-1.1.1.pom)
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>301 Moved Permanently</title>
> </head><body>
> <h1>Moved Permanently</h1>
> <p>The document has moved <a href="https://maven2-repository.dev.java.net/svn/maven2-repository/trunk/repository/com/sun/tools/xjc/maven2/maven-jaxb-plugin/1.1.1/maven-jaxb-plugi
> n-1.1.1.pom">here</a>.</p>
> <hr>
> <address>Apache Server at maven2-repository.dev.java.net Port 80</address>
> </body></html>
>
> Now, this is clearly wrong. Nevertheless, when I try to resolve the HTTPS URL in the hyperlink, the repo is asking for authorization. That's all pretty awkward.
>
> Wilfred
>
>
>
> On Feb 22, 2010, at 3:37 PM, Marc Hadley wrote:
>
>> On Feb 22, 2010, at 9:24 AM, Daniel Barbato wrote:
>>
>>> I did clear out my .m2 folder, and tried it on a machine that had never had maven on it before with the same result. I've not got any mirrors or proxy servers sat in the way, it's a direct connection to the server
>>>
>>> If you have a moment, could you try checking out a clean copy and seeing if you can build it? Just to rule out remote repository problems.
>>>
>> I did that before I responded, no issues here.
>>
>> Marc.
>>
>>
>>> Is anyone else seeing a similar problem?
>>>
>>> Cheers
>>>
>>> Daniel
>>>
>>> On 22 February 2010 14:13, Marc Hadley <Marc.Hadley_at_sun.com> wrote:
>>> I can't say for sure but it looks like either your local .m2 repository has somehow become corrupted or one of the remote repositories is having some problems.
>>>
>>> Marc.
>>>
>>> On Feb 22, 2010, at 8:48 AM, Daniel Barbato wrote:
>>>
>>>> I'm currently trying to build the wadl project.
>>>>
>>>> I'm getting some curious errors when ever I attempt this, I've tried it on a couple of linux machines, with the latest version of maven.
>>>>
>>>> I was wondering if someone could point me in the right direction. I'm getting errors wither I try to build a branch or the trunk.
>>>>
>>>> Cheers
>>>>
>>>> Daniel
>>>>
>>>> $ mvn package
>>>> [INFO] Scanning for projects...
>>>> [INFO] Reactor build order:
>>>> [INFO] WADL
>>>> [INFO] WADL Core
>>>> [INFO] WADL Maven Plugin
>>>> [INFO] WADL Ant Task
>>>> [INFO] WADL Commandline
>>>> [INFO] WADL Tools Distribution
>>>> [INFO] WADL XSLT
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Building WADL
>>>> [INFO] task-segment: [package]
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Building WADL Core
>>>> [INFO] task-segment: [package]
>>>> [INFO] ------------------------------------------------------------------------
>>>> [WARNING] POM for 'org.apache.maven:maven-plugin-api:pom:2.0.4:runtime' is invalid.
>>>>
>>>> Its dependencies (if any) will NOT be available to the current build.
>>>> [WARNING] POM for 'org.apache.maven:maven-project:pom:2.0.4:runtime' is invalid.
>>>>
>>>> Its dependencies (if any) will NOT be available to the current build.
>>>> [WARNING] POM for 'ant:ant:pom:1.6.5:runtime' is invalid.
>>>>
>>>> Its dependencies (if any) will NOT be available to the current build.
>>>> [WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.1:runtime' is invalid.
>>>>
>>>> Its dependencies (if any) will NOT be available to the current build.
>>>> [INFO] [jaxb:generate {execution: default}]
>>>> [FATAL ERROR] com.sun.tools.xjc.maven2.XJCMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
>>>> [FATAL ERROR] Plugin realm = app0.child-container[com.sun.tools.xjc.maven2:maven-jaxb-plugin:1.1]
>>>> urls[0] = file:/home/dbarbato/.m2/repository/com/sun/tools/xjc/maven2/maven-jaxb-plugin/1.1/maven-jaxb-plugin-1.1.jar
>>>> urls[1] = file:/home/dbarbato/.m2/repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
>>>> urls[2] = file:/home/dbarbato/.m2/repository/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar
>>>> urls[3] = file:/home/dbarbato/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
>>>> urls[4] = file:/home/dbarbato/.m2/repository/com/sun/xml/bind/jaxb-impl/2.0.2/jaxb-impl-2.0.2.jar
>>>> urls[5] = file:/home/dbarbato/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
>>>> urls[6] = file:/home/dbarbato/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
>>>> urls[7] = file:/home/dbarbato/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
>>>> [FATAL ERROR] Container realm = plexus.core
>>>> urls[0] = file:/usr/share/maven2/lib/maven-debian-uber.jar
>>>> [INFO] ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] org/apache/tools/ant/Task
>>>> org.apache.tools.ant.Task
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>> at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>> at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>>> at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>>>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>>> at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>> at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>> at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>>> at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>> at com.sun.tools.xjc.maven2.XJCMojo.execute(XJCMojo.java:197)
>>>> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>>> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>>> 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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Task
>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>> at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>>>> at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>>>> at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>>>> at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>> ... 48 more
>>>> [INFO] ------------------------------------------------------------------------
>>>> [INFO] Total time: 3 seconds
>>>> [INFO] Finished at: Mon Feb 22 13:35:47 GMT 2010
>>>> [INFO] Final Memory: 17M/141M
>>>> [INFO] ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_wadl.dev.java.net
>>> For additional commands, e-mail: users-help_at_wadl.dev.java.net
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_wadl.dev.java.net
>> For additional commands, e-mail: users-help_at_wadl.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_wadl.dev.java.net
> For additional commands, e-mail: users-help_at_wadl.dev.java.net
>