I think I need something like:

                    <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-jar-plugin</artifactId>
                            <configuration>
                              <archive>
                                <manifest>
                                  <addClasspath>true</addClasspath>
                                  <mainClass>camel spring context 
here</mainClass>
                                </manifest>
                              </archive>
                            </configuration>
                        </plugin>

but I don't knowhow to fill mainClass.

I wak looking this link before but I don't find this:
/Using camel-spring JAR example

This would be similar to the camel-core JAR example, however you would use
the Main class from the org.apache.camel.spring package.
The Main class from camel-spring JAR has many more options and is prepared
for booting Camel from Spring XML files./

I'm I wrong?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Package-camel-spring-into-jar-file-tp5753964p5753967.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to