You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Arnaud HERITIER (JIRA)" <ji...@codehaus.org> on 2005/05/27 00:54:21 UTC
[jira] Created: (MAVEN-1609) touchstone test with external entities in maven.xml fails
touchstone test with external entities in maven.xml fails
---------------------------------------------------------
Key: MAVEN-1609
URL: http://jira.codehaus.org/browse/MAVEN-1609
Project: maven
Type: Bug
Components: core
Versions: 1.1-beta-1
Environment: Maven 1.1, Win XP SP2,
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Reporter: Arnaud HERITIER
As mentioned in this thread (http://marc.theaimsgroup.com/?t=111699802000001&r=1&w=2) the maven 1.1 bootstrap fails because of a test failure in touchstone with external entities in maven.xml
The log :
D:\Work\Dev\apache-maven-1.1\core\trunk\src\test\touchstone-build>maven -e test-entity-goal
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. @pom.currentVersion@
DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
Tentative de tÚlÚchargement de touchstone-SNAPSHOT.jar.
Tentative de tÚlÚchargement de test-SNAPSHOT.war.
Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
Tentative de tÚlÚchargement de commons-jelly-tags-xml-1.1-SNAPSHOT.jar.
Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
LA CONSTRUCTION A ╚CHOU╚
org.apache.maven.MavenException: Error reading plugin script
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:169)
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:524)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:596)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
at org.apache.maven.werkz.Goal.fire(Goal.java:656)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
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)
--- Nested Exception ---
java.net.MalformedURLException: no protocol: entity/entity.xml
at java.net.URL.<init>(URL.java:537)
at java.net.URL.<init>(URL.java:434)
at java.net.URL.<init>(URL.java:383)
at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3327)
at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:3013)
at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java:2739)
at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.java:2606)
at org.apache.crimson.parser.Parser2.content(Parser2.java:2017)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157)
at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:524)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:596)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
at org.apache.maven.werkz.Goal.fire(Goal.java:656)
at org.apache.maven.werkz.Goal.attain(Goal.java:592)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:511)
at org.apache.maven.cli.App.main(App.java:1258)
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)
Fichier... D:\Work\Dev\apache-maven-1.1\core\trunk\src\test\touchstone-build\maven.xml
╚lement... maven:maven
Ligne..... 838
Colonne... -1
Error reading plugin script
Temps total : 10 secondes
Fini le : vendredi 27 mai 2005 00:48:55 CEST
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MAVEN-1609) touchstone test with external entities in maven.xml fails
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1609?page=all ]
Brett Porter updated MAVEN-1609:
--------------------------------
Fix Version: 1.1-beta-1
> touchstone test with external entities in maven.xml fails
> ---------------------------------------------------------
>
> Key: MAVEN-1609
> URL: http://jira.codehaus.org/browse/MAVEN-1609
> Project: maven
> Type: Bug
> Components: core
> Versions: 1.1-beta-1
> Environment: Maven 1.1, Win XP SP2,
> java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
> Reporter: Arnaud HERITIER
> Fix For: 1.1-beta-1
>
>
> As mentioned in this thread (http://marc.theaimsgroup.com/?t=111699802000001&r=1&w=2) the maven 1.1 bootstrap fails because of a test failure in touchstone with external entities in maven.xml
> The log :
> D:\Work\Dev\apache-maven-1.1\core\trunk\src\test\touchstone-build>maven -e test-entity-goal
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. @pom.currentVersion@
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de touchstone-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de test-SNAPSHOT.war.
> Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de commons-jelly-tags-xml-1.1-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> LA CONSTRUCTION A ╚CHOU╚
> org.apache.maven.MavenException: Error reading plugin script
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:169)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:524)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:596)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> 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)
> --- Nested Exception ---
> java.net.MalformedURLException: no protocol: entity/entity.xml
> at java.net.URL.<init>(URL.java:537)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
> at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3327)
> at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:3013)
> at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java:2739)
> at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.java:2606)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:2017)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:524)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:596)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> 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)
> Fichier... D:\Work\Dev\apache-maven-1.1\core\trunk\src\test\touchstone-build\maven.xml
> ╚lement... maven:maven
> Ligne..... 838
> Colonne... -1
> Error reading plugin script
> Temps total : 10 secondes
> Fini le : vendredi 27 mai 2005 00:48:55 CEST
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MAVEN-1609) touchstone test with external entities in maven.xml fails
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1609?page=all ]
Brett Porter closed MAVEN-1609:
-------------------------------
Resolution: Fixed
this is a bug in JDK 1.4's XML parser (crimson) - so removed the test. We won't support entities in maven.xml under JDK 1.4 (added a note to the backwards-compatibility.xml page).
> touchstone test with external entities in maven.xml fails
> ---------------------------------------------------------
>
> Key: MAVEN-1609
> URL: http://jira.codehaus.org/browse/MAVEN-1609
> Project: maven
> Type: Bug
> Components: core
> Versions: 1.1-beta-1
> Environment: Maven 1.1, Win XP SP2,
> java version "1.4.2_05"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
> Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
> Reporter: Arnaud HERITIER
> Fix For: 1.1-beta-1
>
>
> As mentioned in this thread (http://marc.theaimsgroup.com/?t=111699802000001&r=1&w=2) the maven 1.1 bootstrap fails because of a test failure in touchstone with external entities in maven.xml
> The log :
> D:\Work\Dev\apache-maven-1.1\core\trunk\src\test\touchstone-build>maven -e test-entity-goal
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. @pom.currentVersion@
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de touchstone-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de test-SNAPSHOT.war.
> Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de commons-jelly-tags-xml-1.1-SNAPSHOT.jar.
> Tentative de tÚlÚchargement de maven-model-3.0.0-SNAPSHOT.jar.
> DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml
> LA CONSTRUCTION A ╚CHOU╚
> org.apache.maven.MavenException: Error reading plugin script
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:169)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:524)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:596)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> 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)
> --- Nested Exception ---
> java.net.MalformedURLException: no protocol: entity/entity.xml
> at java.net.URL.<init>(URL.java:537)
> at java.net.URL.<init>(URL.java:434)
> at java.net.URL.<init>(URL.java:383)
> at org.apache.crimson.parser.ExternalEntity.getInputSource(ExternalEntity.java:92)
> at org.apache.crimson.parser.Parser2.pushReader(Parser2.java:3327)
> at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:3013)
> at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java:2739)
> at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.java:2606)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:2017)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
> at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:157)
> at org.apache.maven.plugin.JellyScriptHousing.parse(JellyScriptHousing.java:177)
> at org.apache.maven.plugin.PluginManager.readMavenXml(PluginManager.java:524)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:596)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.jelly.tags.maven.MavenTag.doTag(MavenTag.java:82)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:78)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:109)
> at org.apache.maven.werkz.Goal.fire(Goal.java:656)
> at org.apache.maven.werkz.Goal.attain(Goal.java:592)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:511)
> at org.apache.maven.cli.App.main(App.java:1258)
> 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)
> Fichier... D:\Work\Dev\apache-maven-1.1\core\trunk\src\test\touchstone-build\maven.xml
> ╚lement... maven:maven
> Ligne..... 838
> Colonne... -1
> Error reading plugin script
> Temps total : 10 secondes
> Fini le : vendredi 27 mai 2005 00:48:55 CEST
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org