pax:provision cannot trigger executions?
----------------------------------------

                 Key: PAXCONSTRUCT-126
                 URL: http://issues.ops4j.org/browse/PAXCONSTRUCT-126
             Project: Pax Construct
          Issue Type: Bug
          Components: maven-pax-plugin
    Affects Versions: 1.4
         Environment: Windows XP, Maven 2.2.1, Java 1.6.0_15
            Reporter: Kristoffer Peterhänsel
            Assignee: 


I am trying to get a some resources copied into the runner dir when I 
provision, but for the life of me I cannot get it to trigger an execution 
defined for the maven-resources-plugin.

The thing is that I need a couple of files in there for the provision to work. 
Namely a keystore for SSL operations.

I think I have tried pretty much any possible permutation of goals and phases 
to get my execution of the mave-resources-plugin run as part of the provision 
goal. But so far it has not done the slightest thing.

My basic attempt is basically a copy of an example on the 
maven-resources-plugin page:
{code:xml} 
<plugin>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
                <execution>
                        <id>copy-resources</id>
                        <goals>
                                <goal>provision</goal>
                        </goals>
                        <configuration>
                        
<outputDirectory>${basedir}/runner/config</outputDirectory>
                                <resources>
                                        <resource>
                                                
<directory>src/non-packaged-resources</directory>
                                                <filtering>false</filtering>
                                        </resource>
                                </resources>
                        </configuration>
                </execution>
        </executions>
</plugin>
{code} 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to