[jira] Commented: (MPWAR-63) ClassNotFoundException when trying to war SNAPSHOT version

2006-08-14 Thread Steve Molloy (JIRA)
[ http://jira.codehaus.org/browse/MPWAR-63?page=comments#action_72304 ] 

Steve Molloy commented on MPWAR-63:
---

Works fine with 1.6.1...

> ClassNotFoundException when trying to war SNAPSHOT version
> --
>
> Key: MPWAR-63
> URL: http://jira.codehaus.org/browse/MPWAR-63
> Project: maven-war-plugin
>  Issue Type: Bug
>Affects Versions: 1.6.2
> Environment: Fedora Core 5
> Sun JDK 1.5.0_07
> Maven 1.1-beta3
>Reporter: Steve Molloy
>
> When trying to build a war for a SNAPSHOT version, a ClassNotFoundException 
> occurs when trying to perform the staticInvoke on StringUtils:
> ...
> war:war:
> [echo] Building WAR TawJni
> BUILD FAILED
> java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
>   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:306)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>   at 
> org.apache.commons.jelly.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:91)
>   at 
> org.apache.commons.jelly.tags.core.InvokeStaticTag.loadClass(InvokeStaticTag.java:167)
>   at 
> org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(InvokeStaticTag.java:124)
>   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>   at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>   at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
>   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>   at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>   at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
>   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>   at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>   at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
>   at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
>   at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:237)
>   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>   at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
>   at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
>   at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
>   at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:160)
>   at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
>   at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
>   at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:82)
>   at 
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:115)
>   at org.apache.maven.werkz.Goal.fire(Goal.java:647)
>   at org.apache.maven.werkz.Goal.attain(Goal.java:582)
>   at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:494)
>   at org.apache.maven.werkz.Goal.attain(Goal.java:580)
>   at 
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:709)
>   at org.apache.maven.MavenSession.attainGoals(MavenSession.java:264)
>   at org.apache.maven.cli.App.doMain(App.java:546)
>   at org.apache.maven.cli.App.main(App.java:1390)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> File.. file:/home/smolloy/.maven/cache/maven-war-plugin-1.6.2/plugin.jelly
> Element... j:invokeStatic
> Line.. 103
> Column 130
> org.apache.commons.lang.StringUtils
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   at com.werken.forehead.Forehead.run(Forehead.java:551)
>   at com.werken.forehead.Forehead.main(Forehead.java:581)
> Total time   : 2 minutes 26 seconds 
> Finished at  : Monday, August 14, 2006 11:06:43 EDT AM

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Created: (MPWAR-63) ClassNotFoundException when trying to war SNAPSHOT version

2006-08-14 Thread Steve Molloy (JIRA)
ClassNotFoundException when trying to war SNAPSHOT version
--

 Key: MPWAR-63
 URL: http://jira.codehaus.org/browse/MPWAR-63
 Project: maven-war-plugin
  Issue Type: Bug
Affects Versions: 1.6.2
 Environment: Fedora Core 5
Sun JDK 1.5.0_07
Maven 1.1-beta3
Reporter: Steve Molloy


When trying to build a war for a SNAPSHOT version, a ClassNotFoundException 
occurs when trying to perform the staticInvoke on StringUtils:

...
war:war:
[echo] Building WAR TawJni

BUILD FAILED
java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils
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:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.apache.commons.jelly.util.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:91)
at 
org.apache.commons.jelly.tags.core.InvokeStaticTag.loadClass(InvokeStaticTag.java:167)
at 
org.apache.commons.jelly.tags.core.InvokeStaticTag.doTag(InvokeStaticTag.java:124)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.WhenTag.doTag(WhenTag.java:46)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:237)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
at org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:222)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:160)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:82)
at 
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:115)
at org.apache.maven.werkz.Goal.fire(Goal.java:647)
at org.apache.maven.werkz.Goal.attain(Goal.java:582)
at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:494)
at org.apache.maven.werkz.Goal.attain(Goal.java:580)
at 
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:709)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:264)
at org.apache.maven.cli.App.doMain(App.java:546)
at org.apache.maven.cli.App.main(App.java:1390)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
File.. file:/home/smolloy/.maven/cache/maven-war-plugin-1.6.2/plugin.jelly
Element... j:invokeStatic
Line.. 103
Column 130
org.apache.commons.lang.StringUtils
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Total time   : 2 minutes 26 seconds 
Finished at  : Monday, August 14, 2006 11:06:43 EDT AM



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MPARTIFACT-71) Can't deploy artifacts due to "reject HostKey" error

2006-08-10 Thread Steve Molloy (JIRA)
[ http://jira.codehaus.org/browse/MPARTIFACT-71?page=comments#action_72045 
] 

Steve Molloy commented on MPARTIFACT-71:


Got the same behaviour after updating to 1.1-beta3 on Fedora cor5, using Sun 
JDK 1.5.0_07. Plain scp failed because of host key rejected, while scpexe just 
silently did nothing...

Checked out trunk of maven-artifact-plugin, compiled and replaced the cached 
classes, both scp and scpexe work fine.



> Can't deploy artifacts due to "reject HostKey" error
> 
>
> Key: MPARTIFACT-71
> URL: http://jira.codehaus.org/browse/MPARTIFACT-71
> Project: maven-artifact-plugin
>  Issue Type: Bug
>Affects Versions: 1.8
> Environment: Client=Win XP; Maven 1.1b3; deploying tasks 1.3-snapshot 
> to maven-plugins at SourceForge
>Reporter: Jeff Jensen
>Priority: Blocker
> Fix For: 1.9
>
>
> This is the high-level error info:
> plugin:repository-deploy:
> [echo] Deploying...
> Will deploy to 1 repository(ies): maven.plugins.sf.snapshots
> Deploying to repository: maven.plugins.sf.snapshots
> Failed to deploy to: maven.plugins.sf.snapshots Reason: 
> org.apache.maven.wagon.authentication.AuthenticationException: Cannot 
> connect. Reason: reject HostKey: shell.sourceforge.net
> org.apache.maven.wagon.authentication.AuthenticationException: Cannot 
> connect. Reason: reject HostKey: shell.sourceforge.net
> at 
> org.apache.maven.wagon.providers.ssh.AbstractSshWagon.openConnection(AbstractSshWagon.java:232)
> If I use m1.1b3-snapshot of 6/30 from Arnaud's website, it works.  Any 
> snapshot after that and the b3 release do not work - they have this problem.
> I think (but not sure) one key procedure to reproducing this is to start with 
> clean repo and plugins install area: delete the .maven dir and any existing 
> Maven program dir (the plugins must start with only the bundled ones).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira