You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Alexandre Vivien (JIRA)" <ji...@codehaus.org> on 2005/10/09 18:52:11 UTC

[jira] Created: (MNG-1145) The tag of the POM doesn't work correctly.

The <testResources> tag of the POM doesn't work correctly.
----------------------------------------------------------

         Key: MNG-1145
         URL: http://jira.codehaus.org/browse/MNG-1145
     Project: Maven 2
        Type: Bug
    Versions: 2.0-beta-3    
 Environment: windows
 Reporter: Alexandre Vivien
     Fix For: 2.0-beta-4


When I put this in my pom.xml :
<testResources>
      <resource>
        <directory>src/test/resources</directory>
	      <includes>
	        <include>**/*.properties</include>
	        <include>**/*.xml</include>
	      </includes>
      </resource>
 </testResources>
I have this error :
Error: 'TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<resource>\r\n        <directory>... @59:20) '

Thanks.
Alexandre Vivien

-- 
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: (MNG-1145) The tag of the POM doesn't work correctly.

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1145?page=all ]
     
Brett Porter closed MNG-1145:
-----------------------------

      Assign To: Brett Porter
     Resolution: Duplicate
    Fix Version:     (was: 2.0-beta-4)

doc problem, already fixed but not yet uploaded.

use <testResource> for the inner element.

> The <testResources> tag of the POM doesn't work correctly.
> ----------------------------------------------------------
>
>          Key: MNG-1145
>          URL: http://jira.codehaus.org/browse/MNG-1145
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-beta-3
>  Environment: windows
>     Reporter: Alexandre Vivien
>     Assignee: Brett Porter

>
>
> When I put this in my pom.xml :
> <testResources>
>       <resource>
>         <directory>src/test/resources</directory>
> 	      <includes>
> 	        <include>**/*.properties</include>
> 	        <include>**/*.xml</include>
> 	      </includes>
>       </resource>
>  </testResources>
> I have this error :
> Error: 'TEXT must be immediately followed by END_TAG and not START_TAG (position: START_TAG seen ...<resource>\r\n        <directory>... @59:20) '
> Thanks.
> Alexandre Vivien

-- 
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