Hi,

On 30/10/17 11:07, Ernst Reissner wrote:
Hi all,


When I run mvn resources:testResources i obtain

|Non-parseable POM
/home/ernst/Software/pom.xml:Unrecognisedtag:'testResources'|

Can you show the full pom file somewhere best would be on Github ...


The problem seems

|<build><resources><resource><directory>${resourceDir}</directory><filtering>true</filtering><includes><!--include>octave/m/java-arithmetics/**/*.m</include--><include>octave/octaverc</include><include>octave/java.opts</include></includes></resource></resources><testResources><testResource>
<directory>${tstResourcesDir}</directory><filtering>true</filtering><includes><include>*.rml</include></includes></testResource><testResources><plugins>|


Just try a mvn clean

and see the output...

To be honest I don't see the need for such a complicated filtering/non filtering setup in resources...can you elaborate in detail what the problem is?


As long as I had only the tag resources, all was fine. Now that i added
testResources, i have the problem. The resources plugin is configured as
follows:

|<plugins><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-resources-plugin</artifactId><version>3.0.2</version><configuration><escapeString>\</escapeString><!--
\${java.home} -> ${java.home} --><!--nonFilteredFileExtensions>
<nonFilteredFileExtension>pdf</nonFilteredFileExtension>
</nonFilteredFileExtensions--><!--outputDirectory>${basedir}/target/</outputDirectory--></configuration></plugin>|

I have the impression, that this problem is about maven itself not about
the resources plugin, right? I use maven 3.5.0.


Who can  help?


Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to