camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.Ismail" <mohammed.h...@gmail.com>
Subject camel-maven-plugin and System Properties
Date Wed, 26 May 2010 16:18:27 GMT

Hi, 

I want to specify system properties in my camel project. I run it using
camel:run plugin which doesn't seem to be similar to maven-surefire-plugin
in terms of specifying the system properties e.g. 

 <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <configuration>
               <mainClass>com.mycompany.camel.CamelSample</mainClass>

               <systemProperties>
                  <systemProperty>
                     <key>java.util.logging.config.file</key>
                     <value>
                        src/main/resources/logging.properties
                     </value>
                  </systemProperty>
               </systemProperties>               
            </configuration>
         </plugin>

How can I do the same using the camel-maven-plugin? And if it is not
possible can I do it using the maven 2 profies?

Thanks
-- 
View this message in context: http://old.nabble.com/camel-maven-plugin-and-System-Properties-tp28682967p28682967.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message