camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: camel-maven-plugin executable jar, MANIFEST entry is missing
Date Thu, 24 Mar 2016 14:18:03 GMT
But do you have camel-spring as dependency in your pom.xml. eg do you
use Spring at all?

On Thu, Mar 24, 2016 at 3:14 PM, fabrizio.spataro
<fabrizio.spataro@bizmate.it> wrote:
> Hello Claus,
>
> I cannot insert camel-spring manually because it is a maven plugin work!
>
> I repeat this concept: with camel 2.16.2 it is all ok!!! Is it a bug of
> 2.16.3 version?
>
> According follow source code, maven jar plugin is able to do it:
>
> <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-jar-plugin</artifactId>
>     <version>2.6</version>
>     <configuration>
>         <archive>
>                 <manifest>
>                         <addClasspath>true</addClasspath>
>                         <mainClass>com.xxxx.SpringMain</mainClass>
>                         <classpathPrefix>lib/</classpathPrefix>
>                 </manifest>
>         </archive>
>         <includes>
>                <include>*/**/*.class</include>
>         </includes>
>     </configuration>
> </plugin>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-maven-plugin-executable-jar-MANIFEST-entry-is-missing-tp5779625p5779654.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message