[jboss-user] [Snowdrop] - Re: EAP6.1/JBoss7 Snowdrop and Camel
Tejas Mehta
do-not-reply at jboss.com
Thu Jun 27 08:56:11 EDT 2013
Tejas Mehta [https://community.jboss.org/people/tmehta] created the discussion
"Re: EAP6.1/JBoss7 Snowdrop and Camel"
To view the discussion, visit: https://community.jboss.org/message/825251#825251
--------------------------------------------------------------
Hi,
Glad that it is working for you.
As for adding the dependency to the jar, you can do it but I had been thinking in terms of wars (since that is what I generally work with) so option 1 is actually not the recommended option in this case. However, if you are still interested in how to do it: one way is to use the maven-assembly-plugin:
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
This will create a *-jar-with-dependencies file, that way you could include the dependency jars (exploded) in your jar. I am not entirely familiar with deploying jars so I am not sure if there are any issues with doing this.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/825251#825251]
Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130627/f14c2e98/attachment.html
More information about the jboss-user
mailing list