You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2005/06/17 02:01:23 UTC
[jira] Created: (MAVEN-1626) j:file not allowing in its body
j:file not allowing <project></project> in its body
---------------------------------------------------
Key: MAVEN-1626
URL: http://jira.codehaus.org/browse/MAVEN-1626
Project: maven
Type: Bug
Versions: 1.1-beta-1
Environment: maven-1.1-b1
Reporter: Dan Tran
This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
I also try to ecsape it ( use < and >, etc). got parsing error
<j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
<x:comment>Maven generated file, do not checkin</x:comment>
<project name="${pom.artifactId}" >
</project>
</j:file>
here is the error
BUILD FAILED
File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
n-1.4.1\plugin.jelly
Element... maven:reactor
Line...... 104
Column.... -1
Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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-1626) j:file not allowing
in its body
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=all ]
Lukas Theussl closed MAVEN-1626:
--------------------------------
Resolution: Won't Fix
Fix Version: (was: 1.1-rc1)
We pinned this down to a namespace issue: you have to give a xmlns="dummy" attribute to the <project> element you want to use in <j:file>. This is necessary because the xml parser in m11 is namespace aware and you have to distinguish it from the main top-level project element.
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Attachments: MAVEN-1626-test-propject.tar.gz
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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] Commented: (MAVEN-1626) j:file not allowing
in its body
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=comments#action_57767 ]
Lukas Theussl commented on MAVEN-1626:
--------------------------------------
Sorry Doug, but I _can_ reproduce it:
[lukas@localhost MAVEN-1626]$ maven test-issue
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1-beta-3-SNAPSHOT
build:start:
prepare-filesystem:
BUILD FAILED
File...... file:/home/lukas/tmp/maven/maven/MAVEN-1626/MAVEN-1626/maven.xml
Element... j:file
Line...... 18
Column.... -1
file:/home/lukas/tmp/maven/maven/MAVEN-1626/MAVEN-1626/maven.xml:21:-1: <project> This tag does not understand the 'name' attribute
Total time : 5 seconds
Finished at : Friday, February 3, 2006 8:24:51 AM PST
And it does work if I replace 'project' by whatever else.
So the question is: why does it work for you?
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Fix For: 1.1-rc1
> Attachments: MAVEN-1626-test-propject.tar.gz
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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-1626) j:file not allowing
in its body
Posted by "Doug Douglass (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=all ]
Doug Douglass updated MAVEN-1626:
---------------------------------
Attachment: MAVEN-1626-test-propject.tar.gz
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Fix For: 1.1-rc1
> Attachments: MAVEN-1626-test-propject.tar.gz
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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-1626) j:file not allowing in its body
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=all ]
Brett Porter updated MAVEN-1626:
--------------------------------
Fix Version: 1.1-beta-2
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Fix For: 1.1-beta-2
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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] Commented: (MAVEN-1626) j:file not allowing
in its body
Posted by "Doug Douglass (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=comments#action_57763 ]
Doug Douglass commented on MAVEN-1626:
--------------------------------------
unable to duplicate this issue with latest 1.1-beta-3 built from trunk.
See attached project to test the issue
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Fix For: 1.1-rc1
> Attachments: MAVEN-1626-test-propject.tar.gz
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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-1626) j:file not allowing in its body
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=all ]
Brett Porter updated MAVEN-1626:
--------------------------------
Fix Version: (was: 1.1-beta-2)
1.1-rc1
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Fix For: 1.1-rc1
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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] Commented: (MAVEN-1626) j:file not allowing
in its body
Posted by "Doug Douglass (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MAVEN-1626?page=comments#action_57777 ]
Doug Douglass commented on MAVEN-1626:
--------------------------------------
working with Lukas via irc on this...It appears to be a JDK issue. I originally was testing with sun jdk1.5.0_04, switched to sun j2sdk1.4.2_08 and the test project failed as per Lukas' observation.
Note I tested with jdk1.5.0_04 on both Red Hat Linux Workstation 3, Windows XP -- project works on both. Only tested j2sdk1.4.2_8 on RH
> j:file not allowing <project></project> in its body
> ---------------------------------------------------
>
> Key: MAVEN-1626
> URL: http://jira.codehaus.org/browse/MAVEN-1626
> Project: Maven
> Type: Bug
> Versions: 1.1-beta-1
> Environment: maven-1.1-b1
> Reporter: Dan Tran
> Fix For: 1.1-rc1
> Attachments: MAVEN-1626-test-propject.tar.gz
>
>
> This code (in my maven.xml) works in 1.0.2. See like a conflict with maven.xml's project element. No problem when rename project to someelse.
> I also try to ecsape it ( use < and >, etc). got parsing error
> <j:file name="${maven.gen.docs}/navigation.xml" prettyPrint="true" xmlns="dummy">
> <x:comment>Maven generated file, do not checkin</x:comment>
>
> <project name="${pom.artifactId}" >
> </project>
> </j:file>
> here is the error
> BUILD FAILED
> File...... C:\Documents and Settings\dtran\.maven\cache\maven-multiproject-plugi
> n-1.4.1\plugin.jelly
> Element... maven:reactor
> Line...... 104
> Column.... -1
> Unable to obtain goal [site] -- M:\dtran_everest_int\OpCenter\eclipse\plugins\co
> mmon\maven.xml:60:-1: <j:file> M:\dtran_everest_int\OpCenter\eclipse\plugins\com
> mon\maven.xml:63:-1: <project> This tag does not understand the 'name' attribute
--
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