https://github.com/brianm/really-executable-jars-maven-plugin
> On Mar 1, 2016, at 4:44 PM, Philipp Kraus
> wrote:
>
> Hallo,
>
> I have created my first Maven plugin with Mojo, but I would like to create
> also a executable Jar.
> The plugin should be run as a standa
And
Learn about multi module projects .. this is essential Maven knowledge.
http://books.sonatype.com/mvnex-book/reference/multimodule.html
Manfred
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional
Hi,
Am 01.03.2016 um 23:00 schrieb Manfred Moser :
> 1 pom that acts as parent and aggregator to tie it all together
thanks for your answer, but this is the problem how can I create the
„aggregated pom file“
Phil
-
To unsubscr
do NOT use profiles.. therin lies madness
youssef boujallab wrote on 2016-03-01 14:06:
> You can't do it with a standard approach.
> You should use two distinct Maven projects or use profiles with two
> differents configurations ( one for executable jar and other for your
>
You can't do it with a standard approach.
You should use two distinct Maven projects or use profiles with two
differents configurations ( one for executable jar and other for your mojo)
Le 1 mars 2016 22:04, "Philipp Kraus" a
écrit :
> Hi,
>
> Am 01.03.2016 um 22:47 s
Hi,
Am 01.03.2016 um 22:47 schrieb youssef boujallab :
> Did you have a look on shade plugin?
thanks for your answer, I’m using the shade plugin at the moment, but I cannot
create the different Jar files
Phil
-
To unsubscribe,
Just do this
1 jar project with the functionality
1 maven-plugin project that uses the jar and wraps it in a maven plugin
1 jar project that has the main() method wrapper and command line parser=
or whatever for the executable
1 pom that acts as parent and aggregator to tie it all together
M
Hi,
Did you have a look on shade plugin?
Wishes
Le 1 mars 2016 21:44, "Philipp Kraus" a
écrit :
> Hallo,
>
> I have created my first Maven plugin with Mojo, but I would like to create
> also a executable Jar.
> The plugin should be run as a standalone program and also
Hallo,
I have created my first Maven plugin with Mojo, but I would like to create also
a executable Jar.
The plugin should be run as a standalone program and also as a Maven plugin.
The Pom
can be found here https://github.com/flashpixx/RRD-AntLR4/blob/master/pom.xml
so my question is how can I
e system scope is deprecated and the issues you're running into is
>> likely
>> >> due to that. The solution is to add the library to your internal
>> (remote)
>> >> repo or at least your local repo.
>> >>
>> >> /Anders
>> >>
&g
;> due to that. The solution is to add the library to your internal
> (remote)
> >> repo or at least your local repo.
> >>
> >> /Anders
> >>
> >> On Mon, Oct 26, 2015 at 3:26 PM, reena upadhyay
> >> wrote:
> >>
> >> > I want de
local repo.
>>
>> /Anders
>>
>> On Mon, Oct 26, 2015 at 3:26 PM, reena upadhyay
>> wrote:
>>
>> > I want dependencies that are having system scope to be part of my project
>> > final executable jar. I tried maven-assembly, maven-shade and
t least your local repo.
> >
> > /Anders
> >
> > On Mon, Oct 26, 2015 at 3:26 PM, reena upadhyay
> > wrote:
> >
> > > I want dependencies that are having system scope to be part of my
> project
> > > final executable jar. I tried maven-assembl
nto is likely
> due to that. The solution is to add the library to your internal (remote)
> repo or at least your local repo.
>
> /Anders
>
> On Mon, Oct 26, 2015 at 3:26 PM, reena upadhyay
> wrote:
>
> > I want dependencies that are having system scope to be part of m
g system scope to be part of my project
> final executable jar. I tried maven-assembly, maven-shade and
> maven-dependency plugin. But using these plugins, only those dependency of
> my project which were present in my local maven repository were getting
> added. Dependency with system scop
I want dependencies that are having system scope to be part of my project
final executable jar. I tried maven-assembly, maven-shade and
maven-dependency plugin. But using these plugins, only those dependency of
my project which were present in my local maven repository were getting
added
On Thu, Mar 13, 2014 at 4:54 AM, Alex Karasulu wrote:
> Hello,
>
> I've got a module that builds an executable jar file using the Maven
> Assembly Plugin. I'm trying to setup an integration test (in the same
> module) that runs this executable jar file as a separate pro
path.
>>
>> On Thursday, 13 March 2014, Alex Karasulu wrote:
>>
>> > Hello,
>> >
>> > I've got a module that builds an executable jar file using the Maven
>> > Assembly Plugin. I'm trying to setup an integration test (in the same
>>
o,
> >
> > I've got a module that builds an executable jar file using the Maven
> > Assembly Plugin. I'm trying to setup an integration test (in the same
> > module) that runs this executable jar file as a separate process and
> > interacts with it. To fire up th
You could use test resource filtering to put the path into a resource file
on the test classpath.
That way the IDE will pick up the same path.
On Thursday, 13 March 2014, Alex Karasulu wrote:
> Hello,
>
> I've got a module that builds an executable jar file using the Maven
>
Hello,
I've got a module that builds an executable jar file using the Maven
Assembly Plugin. I'm trying to setup an integration test (in the same
module) that runs this executable jar file as a separate process and
interacts with it. To fire up the executable jar file, my integr
I want to build with Maven a Windows executable given the fact that I am
> able to produce an executable JAR.
> I have seen the Codehaus appasembler Maven plugin but it seems it produces
> several files where I want to produce a single .exe file.
> Do you know if such a plugin exists somewhe
Take a look at onejar. There is a maven plugin as well.
Original Message
Subject: Re: Create Windows executable JAR
From: Eric Kolotyluk
To: Maven Users List
Date: 02/07/2013 02:34 PM
> I have often built a single .jar file that will launch if you double-click
> it
.
Cheers, Eric
On Thu, Feb 7, 2013 at 10:05 AM, Curtis Rueden wrote:
> Hi Jeff,
>
> > I want to build with Maven a Windows executable given the fact
> > that I am able to produce an executable JAR.
>
> To my knowledge, it is not a cleanly solved problem.
>
> My tea
Hi Jeff,
> I want to build with Maven a Windows executable given the fact
> that I am able to produce an executable JAR.
To my knowledge, it is not a cleanly solved problem.
My team solved it by writing our own cross-platform launcher application in
C [1]. There are many technical deta
Hello,
I have the following request:
I want to build with Maven a Windows executable given the fact that I am
able to produce an executable JAR.
I have seen the Codehaus appasembler Maven plugin but it seems it produces
several files where I want to produce a single .exe file.
Do you know if such
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/
On Tue, Mar 2, 2010 at 5:19 PM, Sufie Seifoddini wrote:
> Hello,
>
> In order to create an exectuable jar file, I have added the below to my pom.
> This does package all the dependencies in the jar but
Hello,
In order to create an exectuable jar file, I have added the below to my pom.
This does package all the dependencies in the jar but does not put the main
class or class path in the manifest file. Please advise. Do I need to hand
create and add the manifest? I am using maven 2
ng Maven and making an
> executable jar. Comments welcome, especially with respect to a common
> project structure. Should wtkx files be under src/main/resources?
>
> http://michaelbushe.wordpress.com/2009/12/22/creating-an-executable-apache-pivot-app-using-maven/
>
> Michael
: XSFileUploadApp
> > Implementation-Version: 1.0-SNAPSHOT
> > Main-Class: com.fds.ar.apps.util.fileupload.XSFileUploadApp
> > Class-Path: XSFileUploadApp-1.0.jar
> > mode: development
> > url: http://www.flooddata.com
> > ***
hat file exists in the jar? I've had zero problems
> > constructing executable jars with Maven.
> >
> > Unzip the jar and check things out. Adjust the manifest file and
> > rezip, then test again, until you get it working. Then you know what
> > you need to adjust
t it working. Then you know what
> you need to adjust in Maven.
>
> Wayne
>
> On 7/2/08, David Brown <[EMAIL PROTECTED]> wrote:
> > Hello Maven dev, gurus and users. I have a curious situation where I want to
> make my Swing App into an executable jar. I went to the M
David Brown <[EMAIL PROTECTED]> wrote:
> Hello Maven dev, gurus and users. I have a curious situation where I want to
> make my Swing App into an executable jar. I went to the Maven guides site:
> http://maven.apache.org/guides/mini/guide-manifest.html and I used the build
> sni
Hello Maven dev, gurus and users. I have a curious situation where I want to
make my Swing App into an executable jar. I went to the Maven guides site:
http://maven.apache.org/guides/mini/guide-manifest.html and I used the build
snippet displayed below. I inserted the snippet and edited the
-2.3.jar lib/log4j-1.2. Etc.
which is exaclty what I need.
> _
> From: Naftulin, Henry BGI SF
> Sent: Friday, March 14, 2008 12:10 PM
> To: 'users@maven.apache.org'
> Subject: Executable jar with extra di
I have a rather simple, common problems, that probably was solved
before. I looked at both jar and assembly plug-in and did not find the
answer.
I have to produce an executable jar with dependencies and with
configuration files that I'd like to be stored outside of the jar, like
the foll
not be a maven question, however I'm wondering someone on this
> list
> > can help me.
> >
> > I'd like to deploy an executable jar file for use by our group, but
> avoid
> > having them install the dependent shared library on their linux box.
> >
> &
You may find some useful info here:
http://java.freehep.org/freehep-nar-plugin/
Wayne
On 11/7/07, Ed <[EMAIL PROTECTED]> wrote:
> This may not be a maven question, however I'm wondering someone on this list
> can help me.
>
> I'd like to deploy an executable jar fi
This may not be a maven question, however I'm wondering someone on this list
can help me.
I'd like to deploy an executable jar file for use by our group, but avoid
having them install the dependent shared library on their linux box.
I've created the assembly and placed the shared
On Nov 6, 2007 11:17 PM, Ed <[EMAIL PROTECTED]> wrote:
> Where do I configure to have a shared library file included correctly in an
> executable assembly file?
> I've been looking in the assembly plugin area with no luck.
>
> When I try to run the ex
Where do I configure to have a shared library file included correctly in an
executable assembly file?
I've been looking in the assembly plugin area with no luck.
When I try to run the executable jar file I get an
UnsatisfiedLinkError:Expecting an absolute path of the library:
I'm ass
Hi Jean-Philippe,
Of course the dependencies are not packaged with your jar.
What do you expect? An executable jar is simply a jar with a Main-Class
property in its manifest.
In fact, a jar can not include other jars, unless you supply a custom jar
classloader to actually load the resources
Hi,
I try to write a small swing client to test our EJB. The Ejb is deployed
on a Weblogic 8.1 server.
I made an executable jar file (thanks to
<http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-ja
r.html>) so when I run java -jar myJar.jar, it works fine. But the
generat
d Young <[EMAIL PROTECTED]> wrote:
> > I'd like to display the license information contained in a file that
> > has been assembled into an executable jar file assembly when the user
> > passes a command line parameter.
> >
> > I'm not sure if this is a
ined in a file that
> has been assembled into an executable jar file assembly when the user
> passes a command line parameter.
>
> I'm not sure if this is a maven issue, really, but the executable
> assembly was created using the maven assembly plugin.
Indeed not a maven issue. Y
On 4/27/07, Ed Young <[EMAIL PROTECTED]> wrote:
I'd like to display the license information contained in a file that
has been assembled into an executable jar file assembly when the user
passes a command line parameter.
I'm not sure if this is a maven issue, really, but the exe
I'd like to display the license information contained in a file that
has been assembled into an executable jar file assembly when the user
passes a command line parameter.
I'm not sure if this is a maven issue, really, but the executable
assembly was created using the maven assem
Thanks ! I knew that the lines could be broken, but I did not know that
they could be broken in the middle of a jar name! So I thought this was
one cause of my problem. In fact, it is not. The problem is with the
assembly descriptors. But I think I will eventually find a solution know
I "know"
Hi,
> - Even worst if possible, the plugin creates broken manifest. The lines
> are cut after 70 characters, in the middle of a jar name. This makes the
> true option completely useless. I though I
> could use
> src/main/resources/META-INF/MANIFEST.MF
> instead, using my own manifest. This wo
Hi,
I am trying to use maven2 assembly plug-in. It seems to be completely
broken:
- First, a small problem: the standard assembly descriptor is not usable
because of it very strange name. If the app is called "myapp", the
resulting jar will be called myapp-jar-with-dependencies.jar. It seems
web-inf. In a maven project, the dependent
> jars are all in my own repositories, aren't they? When I perform "mvn
> package", it hasn't included them.
> If another computer has the java environment, shall I run the
> executable jar with the same repository?
as a dependeny for jmf.jar. But it
> hasn't
> included in the jar. How can I include it?
>
> Jane
>
>
> 2007/2/8, Markku Saarela <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> There are at least two way to get this exception.
>>
>> 1.
aims to package has a dependeny for jmf.jar. But it
hasn't
included in the jar. How can I include it?
Jane
2007/2/8, Markku Saarela <[EMAIL PROTECTED]>:
Hi,
There are at least two way to get this exception.
1. at other machines you dont have JMF api available for executable jar.
2.
way to get this exception.
1. at other machines you dont have JMF api available for executable jar.
2. Somehow at other machine you MediaLocator constructor get wrong
parameter.
- markku
Lan wrote:
> Hi,Franz,
>
>Thanks for your quick reply.
>
>The error shows:
&
#x27;t included them.
If another computer has the java environment, shall I run the
executable jar with the same repository? I can't imagin it.
I am confusing it.Thanks again.
Jane
2007/2/8, Wayne Fay <[EMAIL PROTECTED]>:
NoClassDefFoundError usually means that you haven't
Hi,
There are at least two way to get this exception.
1. at other machines you dont have JMF api available for executable jar.
2. Somehow at other machine you MediaLocator constructor get wrong
parameter.
- markku
Lan wrote:
Hi,Franz,
Thanks for your quick reply.
The error shows
re
> you
> getting when used in another machine?
>
> Cheers,
> Franz
>
>
> Lan-6 wrote:
> >
> > Hi, all
> >
> > I have generated an executable jar by using maven, (mvn package).
> The
> > jar includes the generated classes and main class.
AIL PROTECTED]>:
Good day to you, Jane,
What do you mean by it can only be used in your machine? What error are
you
getting when used in another machine?
Cheers,
Franz
Lan-6 wrote:
>
> Hi, all
>
> I have generated an executable jar by using maven, (mvn package).
The
> jar includes
Good day to you, Jane,
What do you mean by it can only be used in your machine? What error are you
getting when used in another machine?
Cheers,
Franz
Lan-6 wrote:
>
> Hi, all
>
> I have generated an executable jar by using maven, (mvn package). The
> jar includes the ge
Hi, all
I have generated an executable jar by using maven, (mvn package). The
jar includes the generated classes and main class.
But it can only be used in my own machine. Shall I do some more settings
to the project? What can I do?
Thanks advance!
Jane
d like to produce a single executable jar for the whole project,
including all dependent jars from my repository and all generated jars
from my own project.
I've seen posts mentioning the assembly and jar plugins but cannot find
any instructions on the project'
I would like to produce a single executable jar for the whole project,
including all dependent jars from my repository and all generated jars
from my own project.
I've seen posts mentioning the assembly and jar plugins but cannot find
any instructions on the project's web site.
Alexander Sack-3 wrote:
>
> I'm trying to build an executable jar and I want to include some of the
> dependencies of my project in the jar itself for runtime. Is there a way
> to
> do this? The following page was somewhat helpful:
>
> http://maven.apache.or
o include dependencies in an executable jar?
Its OK... I just have to flame every now and then for things like that
in an effort to encourage others to search before sending. Sorry you
were the target in this case. ;-)
[snip]
---
>
> The POmstrap is cool but not acceptable for production (adding an
external
> jar to run a jaruggh).
>
> -aps
>
> On 9/22/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
> >
> > Hello Alexander,
> >
> > On 9/22/06, Alexander Sack
t;
> > Hello Alexander,
> >
> > On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
> >
> > > I'm trying to build an executable jar and I want to include some of
> > the
> > > dependencies of my project in the jar itself for runt
rio Schiavoni <[EMAIL PROTECTED]> wrote:
>
> Hello Alexander,
>
> On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
>
> > I'm trying to build an executable jar and I want to include some of the
> > dependencies of my project in the jar itself for
production (adding an external
jar to run a jaruggh).
-aps
On 9/22/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote:
>
> Hello Alexander,
>
> On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
>
> > I'm trying to build an executable jar and I want to incl
Hello Alexander,
On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
> I'm trying to build an executable jar and I want to include some of the
> dependencies of my project in the jar itself for runtime. Is there a
> way to do this?
>
try to use the assembly plugin:
ht
Hello Alexander,
On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
I'm trying to build an executable jar and I want to include some of the
dependencies of my project in the jar itself for runtime. Is there a
way to do this?
try to use the assembly plugin:
http://maven
every week... I
guess you didn't search for the answer prior to sending this question?
It was even discussed just yesterday! Look at the thread titled
"Creating a Java application" for some options...
Wayne
On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
> I'm tryi
Alexander Sack <[EMAIL PROTECTED]> wrote:
I'm trying to build an executable jar and I want to include some of the
dependencies of my project in the jar itself for runtime. Is there a way to
do this? The following page was somewhat helpful:
http://maven.apache.org/plugins/maven-jar-
I'm trying to build an executable jar and I want to include some of the
dependencies of my project in the jar itself for runtime. Is there a way to
do this? The following page was somewhat helpful:
http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html
But it do
Hello,
This link
http://maven.apache.org/guides/mini/guide-manifest.html
may help you in MANIFEST.
I think you can write a MANIFEST firstly, the file includes all entries you
required.
Then add the MANIFEST to your jar.
org.apache.maven.plugins
maven-jar-plugin
Your_MANIFEST
Hi,
is there any way how to add jar dependencies to generated .jar file with mvn
install?
Or how can I add normal Class-Path to MANIFEST.MF file?
becouse with true it adds only name of dependency
f.e.: commons-net-1.4.1.jar but I need c:\...\commons-net-1.4.1.jar.
Thanks for help
Regards Marti
> I still need to delete /META-INF/*.SF *.RSA files with winrar
> afterwards. There is an issue for that in JIRA.
>
> Artamonov, Juri wrote:
> > Hi All,
> >
> > Guys, could you please give a summary of what plugin is recommended for
> > using to have executable jar?
>
using to have executable jar?
As I see (per comments in IRC) the result jar that I get after using
assembly plugin in m2 is not the same as result jar that I get after
using uberjar plugin in m1.
Also seems uberjar is available only for m1. Someone mentioned javaapp
plugin but as I see it's avai
Hi All,
Guys, could you please give a summary of what plugin is recommended for
using to have executable jar?
As I see (per comments in IRC) the result jar that I get after using
assembly plugin in m2 is not the same as result jar that I get after
using uberjar plugin in m1.
Also seems uberjar
nd on some external libraries, such as xerces.jar, xalan.jar,
> > ..
> >
> > How to make an executable jar that include everything?
> >
> > My end command is expected to be:
> > java -jar myprj.jar
> >
> > What is the best practice in Maven to deploy pure n
..
>
> How to make an executable jar that include everything?
>
> My end command is expected to be:
> java -jar myprj.jar
>
> What is the best practice in Maven to deploy pure non-j2ee java code?
> Should I pack everything into one big jar, or deploy all different jar files
> i
Hi,
Our codes depend on some external libraries, such as xerces.jar, xalan.jar,
..
How to make an executable jar that include everything?
My end command is expected to be:
java -jar myprj.jar
What is the best practice in Maven to deploy pure non-j2ee java code?
Should I pack everything into
81 matches
Mail list logo