You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arnaud bourree <ar...@gmail.com> on 2010/04/23 16:26:12 UTC
Could we configure mapper in maven-resources-plugin?
Hello
Could we configure mapper in maven-resources-plugin?
I try without success the following:
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.2</version>
<executions>
<execution>
<id>copy-with-mapper</id>
<phase>pre-integration-test</phase>
<configuration>
<outputDirectory>${project.build.directory}</outputDirectory>
<resources>
<resource>
<directory>src/test/config</directory>
<mapper type="glob" from="*.cdf-test" to="*.cfg"/>
</resource>
</resources>
</configuration>
<goals>
<goal>copy-resources</goal>
</goals>
</execution>
</executions>
</plugin>
Regards,
Arnaud.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Why the error with settings.xml when building using m2eclipse?
Posted by Wayne Fay <wa...@gmail.com>.
> Is it a bug in m2Eclipse, or did I miss a step in m2eclipse setup?
> I can successfully build from the command line even without this file
M2eclipse questions belong on the m2eclipse user list:
http://m2eclipse.sonatype.org/project-information.html
Wayne
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Why the error with settings.xml when building using m2eclipse?
Posted by Binod Pant <Bi...@mathworks.com>.
I tried m2eclipse for the first time. I got Eclipse running fine with the plugin, but when I tried to build a project using Maven, I got the error
"The specified user settings file does not exist: myuserfolder/.m2/settings.xml"
I manually created a settings.xml file, and got rid of the problem, as per http://www.inexas.org/Wiki.jsp?page=Eclipse%20setup
Is it a bug in m2Eclipse, or did I miss a step in m2eclipse setup? I can successfully build from the command line even without this file
Re: Could we configure mapper in maven-resources-plugin?
Posted by Arnaud bourree <ar...@gmail.com>.
2010/4/23 Arnaud bourree:
> Hello
>
> Could we configure mapper in maven-resources-plugin?
>
> I try without success the following:
> <plugin>
> <artifactId>maven-resources-plugin</artifactId>
> <version>2.4.2</version>
> <executions>
> <execution>
> <id>copy-with-mapper</id>
> <phase>pre-integration-test</phase>
> <configuration>
> <outputDirectory>${project.build.directory}</outputDirectory>
> <resources>
> <resource>
> <directory>src/test/config</directory>
> <mapper type="glob" from="*.cdf-test" to="*.cfg"/>
> </resource>
> </resources>
> </configuration>
> <goals>
> <goal>copy-resources</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> Regards,
>
> Arnaud.
>
OK, I just see open issue on the subject for assembly-plugin:
http://jira.codehaus.org/browse/MASSEMBLY-45
May be should open similar issue for resource-plugin?
Arnaud.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org