Hi Holger,
Maven should do just that for me, and it would work, if it woudnt
mix all
the Java stuff from the JRE into this archive (rt.jar, sunrasign.jar,
jsse.jar, jce.jar, ...)! This is in the JRE and I don't need it in
my jar.
I don't fully understand why you want to pack everything
.
Many thanks for your hints. I think, I will do now just that you suggested!
Cheers Holger
-Original Message-
From: Thorsten Heit [mailto:[EMAIL PROTECTED]
Sent: Monday, March 05, 2007 9:33 AM
To: Maven Users List
Subject: Re: maven-assembly-plugin converts com.xxx - packages to
COM.xxx
Hi,
from my project I want to generate an executable jar file. I use java 1.4 on
windows.
As described in the plugin documentation my pom containes the following:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
The assembly plugin, by default, unpacks all dependencies into a common
directory hierarchy. If you put unpackfalse/unpack within the binary
section of your assembly descriptor, the dependencies should be copied
as jars.
It will change the
Hi Holger,
It collects all libraries, the project is depending on (thats good!) and
the
java runtime libraries e.g.:
COM.rsa.asn1.SunJSSE_b0.class ... The package starts with capital COM.!
All further packages starting with standard lower letter names as
com.sun.mail are converted to
.-classes?
cheers
Holger
-Original Message-
From: Thorsten Heit [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 4:05 PM
To: Maven Users List
Subject: Re: maven-assembly-plugin converts com.xxx - packages to
COM.xxx - packages
Hi Holger,
It collects all libraries, the project
Schoenen, Holger wrote:
these are my demendencies:
[...]
My be, it is implicite.
You can see the actual dependencies used with mvn help:effective-pom
hth,
Manos
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
to avoid just
this.
Many thanks
holger
-Original Message-
From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 4:00 PM
To: Maven Users List
Subject: Re: maven-assembly-plugin converts com.xxx - packages to
COM.xxx - packages
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Holger,
these are my demendencies:
*snip*
Looking at your dependencies I cannot directly tell you where the COM.xxx
packages come from, but I assume your j2ee.jar has something to do with this...
As Rodrigo wrote, why do you want to unpack all of your dependencies? Wouldn't
it be enough
Hi Holger,
well, I get a jar-archive, but this doesn't execute!
Then you don't have a main class reference in the jar's manifest...?
See
http://maven.apache.org/plugins/maven-jar-plugin/examples/executable-jar.html
I think, I can't
include other archives in a jar file for execution as
02, 2007 4:19 PM
To: Maven Users List
Subject: Re: maven-assembly-plugin converts com.xxx - packages to
COM.xxx - packages
Schoenen, Holger wrote:
these are my demendencies:
[...]
My be, it is implicite.
You can see the actual dependencies used with mvn help:effective-pom
hth,
Manos
Hi Thorsten,
the main class is not the problem, there are several in the archive and pick
them up when executing (e.g. List or Load...).
I can taylor a manifest file, but I don't like to do so. I use maven and
eclipse. In maven I define the dependencies. Whith eclipse all works fine.
There are a
12 matches
Mail list logo