Below is my pom file. If I put the configuration element under the execution
element, I will get an error when running "mvn native2ascii:native2ascii"
that "src\main\native2ascii not found". If I put the configuration element
directly under plugin element, it will work fine. I wander why I can't put
the configuration in execution element.

This one will not work.
          <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                
<artifactId>native2ascii-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <goals>
                                                        
<goal>native2ascii</goal>
                                                </goals>
                                                <configuration>
                                                        
<dest>target/classes/config1/i18n</dest>
                                                        
<src>src/main/config/config/i18n</src>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

This one works fine
<plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                
<artifactId>native2ascii-maven-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <goals>
                                                        
<goal>native2ascii</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <dest>target/classes/config1/i18n</dest>
                                        <src>src/main/config/config/i18n</src>
                                </configuration>
                        </plugin>
-- 
View this message in context: 
http://www.nabble.com/Why-doesn%27t-executions-work-in-my-pom--tp25218882p25218882.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to