You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/12/31 05:21:39 UTC
[jira] Updated: (MAVEN-206) Running clean jar:install-snapshot in dir with no project.xml succeeds wrongly
The following issue has been updated:
Updater: Brett Porter (mailto:brett@codehaus.org)
Date: Tue, 30 Dec 2003 10:21 PM
Comment:
it now gives an error, but its not helpful:
BUILD FAILED
java.lang.reflect.InvocationTargetException
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:324)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:217)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:586)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:275)
at org.apache.maven.cli.App.doMain(App.java:544)
at org.apache.maven.cli.App.main(App.java:1117)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at org.apache.maven.jelly.JellyPropsHandler.getProperties(JellyPropsHandler.java:138)
at org.apache.commons.grant.GrantProject.getProperties(Unknown Source)
at org.apache.commons.grant.GrantProject.replaceProperties(Unknown Source)
at org.apache.tools.ant.taskdefs.Echo.addText(Echo.java:134)
... 23 more
java.lang.reflect.InvocationTargetException
Total time: 33 seconds
Finished at: Wed Dec 31 15:04:16 EST 2003
This should probably be resolved for maven 1.0
Changes:
Fix Version changed to 1.0-final
Fix Version changed from 1.1
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-206&page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-206
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-206
Summary: Running clean jar:install-snapshot in dir with no project.xml succeeds wrongly
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.0-final
Assignee:
Reporter: dion gillard
Created: Wed, 15 Jan 2003 9:51 AM
Updated: Tue, 30 Dec 2003 10:21 PM
Environment: Win2k/jdk1.3
Description:
Icky...
C:\source\jakarta\jakarta-commons-sandbox>maven clean jar:install-snapshot
__ __
| \/ |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-beta-8
[echo] Building snapshot JAR: Global Project-null.20030115.145953
[mkdir] Created dir: C:\source\jakarta\jakarta-commons-sandbox\target\classes
[echo] No java source files to compile.
[mkdir] Created dir: C:\source\jakarta\jakarta-commons-sandbox\target\test-classes
[mkdir] Created dir: C:\source\jakarta\jakarta-commons-sandbox\target\test-reports
[echo] No test source files to compile.
[echo] No tests to run.
[jar] Building jar: C:\source\jakarta\jakarta-commons-sandbox\target\Global Project-null.20030
115.145953.jar
[mkdir] Created dir: C:\program files\maven\repository\Global Project\jars
[copy] Copying 1 file to C:\program files\maven\repository\Global Project\jars
[copy] Copying 1 file to C:\program files\maven\repository\Global Project\jars
BUILD SUCCESSFUL
Total time: 6 seconds
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org