[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
Re: [tycho-user] Error - 7 icon(s) not replaced in ... using ...
 | 
On 06/14/2011 05:42 PM, motes motes wrote:
> Thanks for the tip about using maven-resources-plugin instead, but I
> cannot make it work. I have the icons folder in the root of my folder:
> 
> myproduct
>  | --> icons
>           | --> app.ico
>  | -- > myproduct.product
>  | -- > pom.xml
> 
> In the pom I have:
> 
> 			<plugin>
> 				<artifactId>maven-resources-plugin</artifactId>
> 				<executions>
> 					<execution>
> 						<id>copy-resources</id>
> 						<!-- here the phase you need -->
> 						<phase>validate</phase>
It seems validate phase is too early, I would rather use
process-resources, generate-resources or even prepare-package phase. Try
to run 'mvn --debug' and check the log - it should contain a lot of details.
> 						<goals>
> 							<goal>copy-resources</goal>
> 						</goals>
[skip]
> but the content (or the icons folder) never gets copied to the target
> path specified in the outputDirectory tag. I have read the
> documentation here:
-- 
Mykola