http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
-aps
On Feb 9, 2008 3:25 AM, amit kumar <[EMAIL PROTECTED]> wrote:
> what is the difference between dependency and dependencyManagement? I mean
> when do we use dependency and when do we use dependencyManagement
So I figured out the issue and I was wondering if I could get a little
guidance. The javadoc plugin when it executes the javadoc:javadoc goal
attempts to determine the version of the VM its running. I suspect its
parsing the java.vm.version string. On the platform I'm on, that is
different than
n site ?
>
> Damien
>
> 2008/2/8, Alexander Sack <[EMAIL PROTECTED]>:
> > Any chance, does anyone have a POM snippet that has javadoc working?
> > -aps
> >
> > On Feb 7, 2008 2:44 PM, Alexander Sack <[EMAIL PROTECTED]> wrote:
> >
> > > Hi All:
Any chance, does anyone have a POM snippet that has javadoc working?
-aps
On Feb 7, 2008 2:44 PM, Alexander Sack <[EMAIL PROTECTED]> wrote:
> Hi All:
> I'm trying to wrap up our build process and I'm having again more trouble
> with the javadoc plugin (v2.3). I ha
Hi All:
I'm trying to wrap up our build process and I'm having again more trouble
with the javadoc plugin (v2.3). I have a multi module project organized:
pom.xml
module1
pom.xml
module2
pom.xml
etc.
In module1 (first one compiled, etc.), I have a simple pom that specifies
some dependencies
Your Maven 2 repository which on windows would be:
C:\Documents and Settings\\.m2\repository
etc.
-aps
On 10/1/07, siegfried <[EMAIL PROTECTED]> wrote:
>
>
>
> I've been reading http://mojo.codehaus.org/pde-maven-plugin/ and
> http://maven.apache.org/guides/mini/guide-ide-eclipse.html and I'm n
Official repo for JBoss is http://repository.jboss.com/maven2/
If you can't find it use mvn deploy:deploy-file to install it in your local
repo.
-aps
On 9/20/07, Ãrico Teixeira <[EMAIL PROTECTED]> wrote:
>
> Is there a repository that contains this dependency ?
>
>
> ---
How did you install it? Maven checks local repository too so you should not
get a build error (maybe a WARNING or two).
Are you saying when you run mvn install on your project pom you see this?
-aps
On 9/20/07, Denis Bessmertniy <[EMAIL PROTECTED]>
wrote:
>
> Hi folks,
>
> I manually have downl
ng how i can enable eclipse to have same classpath as
> maven.
> > >
> > > any help would be appreciated
> > >
> > > thanks and regards
> > > marco
> > >
> > >
> > > On 9/15/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote
If you are NOT using Q4E or Codehaus then you probably create an External
Application configuration for Eclipse. However, you could also use an ANT
build file to execute Maven as well and execute it within the Ant view (see
my other post in the archives with a sample).
1 - yes
2 - Just point Ecli
Thierry is definitely right that you can run into inconsistencies between
the incremental Eclipse builds versus Maven builds. I've had to do
occasionally some Project->Cleans to get rid of the red.
Wayne I would DEFINITELY upgrade to an Eclipse 3.x product. I think in
general you would be better
ROTECTED]> wrote:
>
> most of your steps can be done in Q4E by going to the "New project"
> wizard, "Ne Maven 2 project", choose the archetype and fill in the
> blanks
>
> On 9/14/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
> > Hi Everybody:
>
Hi Everybody:
You know Eclipse/Maven2 integration at this point can be very confusing.
You have three plugins, two of which are ECLIPSE plugins that integrate
Maven2 while the other is a Maven2 plugin that happens to auto-generate
files for Eclipse. I wrote this below and I figured I would share
Is there any reason why you don't use a Maven/Eclipse plugin such as
m2eclipse and now q4e? They integrate fully into Eclipse's build and do
autodependency management. Also have you setup a CLASSPATH Container
variable within Eclipse in order to use your local M2 repository?
See here:
http://ma
Dave,
What I do for some large projects is use the Codehaus plugin to resolve
dependencies which it does alright (it has its bugs no doubt but I find it
usable) and actually use the Ant view to execute Maven. This allows me to
essentially do similar things as an External Launch configuration and
e maven pom.xml files, they can specify the
> license in them.
>
> Alexander Sack wrote:
> > Just out of curiosity, how the heck would you figure this out? Seems
> like
> > this would be too complicated to do in software though I AM 100% FOR
> > replacing corporate leg
Just out of curiosity, how the heck would you figure this out? Seems like
this would be too complicated to do in software though I AM 100% FOR
replacing corporate legal teams with a Mojo! :D!
-aps
On 8/30/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Not that I know of. If you write it, please co
Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Great.
>
> Now I have a question:
>
> Where does the plugin get the value from for the .project:
>
> common-a3
>
>
> Can it get it from (pom.xml):
>
> Utilities__Common-A3
>
>
> instead of:
>
> com
http://maven.apache.org/plugins/maven-eclipse-plugin/index.html
-aps
On 8/30/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I guess I am confused, I can't find anything about the eclipse plugin to
> create the eclipse project files from my Maven structure.
>
> Can someone help with the URL that
25/07, Wendy Smoak <[EMAIL PROTECTED]> wrote:
>
> On 8/25/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
>
> > Does anyone have Cargo working? If so, could you post a sample POM? I
> > would really appreciate it.
>
> Working to do what? With what container? You&
Does anyone have Cargo working? If so, could you post a sample POM? I
would really appreciate it.
-aps
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson
mvn groupId:artifactId:version:mojo
>
> Which becomes:
> mvn org.codehaus.cargo:cargo-maven2-plugin:0.3.1:start
>
> Wayne
>
> On 8/23/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
> > I read two threads in the archives and did not see a real fix but I
> can't
> > get Mave
I read two threads in the archives and did not see a real fix but I can't
get Maven2 to automatically download the Cargo plugin. How the heck is
anyone using it?
I'm just using:
org.codehaus.cargo
cargo-maven2-plugin
0.3.1
I also added the pluginRepositories as well in my
org.apache.maven.plugins:maven-javadoc-plugin:2.2:javadoc
> and
> mvn org.apache.maven.plugins:maven-javadoc-plugin:2.3:javadoc
>
> Here are the other valid versions, I'd assume you've simply got a buggy
> m-j-p:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-ja
22/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
>
> I'm looking at mod1/target/etc.
>
> outputDirectory is set to c:\workspace\\target\apidocs but
> none is generated.
>
> This seems like a real bug. Again mvn site works but mvn javadoc:javadoc
> does not. Do I ha
t;[EMAIL PROTECTED]> wrote:
>
> Not sure why its not working for you.
>
> Try "mvn -X javadoc:javadoc" and see what happens. You might to do
> "mvn clean" first to clean up target.
>
> Also, how are you sure that "nothing is generated"? Where did
>
> Wayne
>
> On 8/22/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
> > I'm trying to generate javadoc using maven instead of ant and nothing
> seems
> > to be working. I have a project like so:
> >
> > Project
> > pom
> > Mod 1
&
I'm trying to generate javadoc using maven instead of ant and nothing seems
to be working. I have a project like so:
Project
pom
Mod 1
pom-mod1.xml
Mod 2
pom-mod2.xml
etc.
I just want to generate javadoc for Mod1. Now I tried adding under a
section the javadoc plugin defintion (a
What are you trying to do? MDBs are just Java files that get jared up. You
need to be more specific.
-aps
On 8/16/07, Mark Eramo <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I have a question. A few of the jars I currently build with Any also
> produce mdb's (message driven beans). I did not see a
25/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
Uggh, on a side note the plugin is breaking because of the profile used to
add tools.jar. The FAQ for adding tools.jar is a very bad idea:
http://maven.apache.org/general.html#tools-jar-dependency
This assumes a JDK by Sun which may not be
really look for tools.jar off of JAVA_HOME (at least
don't key off of java.vendor string).
-aps
On 6/25/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
I'm confused Niraj. I understand that is the normal way I would do it in
Java, how would I do that within my Maven pom file?
-aps
t which are locations of jar files.
-Original Message-
From: Alexander Sack [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 1:37 AM
To: Maven Users List
Subject: native2ascii classpath woes
I'm using the native2ascii codehaus plugin and on windows it works fine,
but
on my Unix b
I'm using the native2ascii codehaus plugin and on windows it works fine, but
on my Unix box it fails with:
--- Nested Exception ---
java.lang.ClassNotFoundException: sun.tools.native2ascii.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessControll
sue requesting this RFE:
> >>
> >> <http://jira.codehaus.org/browse/MWAR-105>
> >>
> >> Thanks very much for all your help.
> >>
> >> Wayne Fay wrote:
> >> > If you can't control where it is being created, perhaps you should
Can you give an example? Also, why can't you change where the target is
produced?
-aps
On 6/14/07, Farrukh S. Najmi <[EMAIL PROTECTED]> wrote:
Thanks Alexandre, but I do not have the option to change the directory
where my file is produced (it is under target tree).
This must be a common need
Wow, I was going to feel bad about it...but I was going to suggest using the
antrun plugin to just email what you need, etc. Not as graceful but will do
the trick and pretty maintainable.
-aps
On 6/13/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
IMO, this is more along the lines of something you
ent. Typically, this won't be very much.
Regards,
Marcel
----- Original Message
From: Alexander Sack <[EMAIL PROTECTED]>
To: Maven Users List ; Marcel Schutte <
[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2007 5:22:44 PM
Subject: Re: Some guidance using EJB client dependencies
n could solve this. I can't use scope provided because for the
ejb I need the dependencies to be packaged in the containing ear.
Regards,
Marcel
- Original Message
From: Alexander Sack <[EMAIL PROTECTED]>
To: Maven Users List
Sent: Tuesday, May 29, 2007 4:03:51 PM
Subject: Re: S
Remy and Marcel: Thanks!
I saw the JIRA below and feel this is royally bad for 2.0.6. Guys, how the
heck am I suppose to use Maven for projects that need to define
ejb-clients? Right now I would have to write some ugly ANT code to do all
the heavy lifting.
When is 2.0.7 due out? I really need
As per:
http://maven.apache.org/plugins/maven-ejb-plugin/examples/ejb-client-dependency.html
This does not seem to work for me. I'm using compiler 2.0.2 and EJB
2.1plugins. The compiler does generate client jars for me but I can't
seem to
use it as a dependency of type ejb. Everytime I try to
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html
The example of how to add custom entries is wrong - this should be changed
to (as per jar):
value
The other way just doesn't work for me at all.
Let me know,
-aps
--
"What lies behind us and
Is there a way to set the default classpath prefix in the manifest of a
WAR? I can do it all day in a JAR using the tag but it
seems the WAR plugin doesn't support this which to me would be a bad
oversight. I rather not include the JARS in WEB-INF/lib and my EAR's lib
directory (but it works).
again, I really appreciate it!
-aps
On 5/24/07, berndq <[EMAIL PROTECTED]> wrote:
Alexander Sack wrote:
> Dennis, thanks for the tip. Kinda obvious too...damn...
>
> Okay, so can someone tell me what I need to do to FORCE it to use
> junit4? I
> specific junit-4.0 in my d
t method to another prefix, and
I bet it will not be executed.
Alexander Sack <[EMAIL PROTECTED]> wrote: Btw, considering that @Test
works, I'm pretty positive I'm using 2.3 at this
point. The only issue is the @Before seems to never get called.
Anyone run into this before?
-aps
Btw, considering that @Test works, I'm pretty positive I'm using 2.3 at this
point. The only issue is the @Before seems to never get called.
Anyone run into this before?
-aps
On 5/23/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
Tom,
Thanks sorry. Yes I have specifie
TECTED]> wrote:
would you mind sharing some more information ? POMs, exceptions, test
source, -X output ?
As a general remark: make sure you have the latest surefire plugin...
Tom
On 5/23/07, Alexander Sack <[EMAIL PROTECTED]> wrote:
> Hey folks, is this a known issue that if I use
Hey folks, is this a known issue that if I use @Before it will fail my
test? I searched some of the archives and saw some threads go by about
this. Is this still an issue?
Thanks!
-aps
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Wa
http://maven.apache.org/plugins/maven-assembly-plugin/
-aps
On 5/21/07, Bryant Harris <[EMAIL PROTECTED]> wrote:
Hi,
I'm new to Maven and have begun experimenting with breaking my project
into jars and WARs and EJBs etc. It seems like Maven is great for this.
Is Maven also typically used
Hi Nelz,
Let me throw some ideas at you and take what you can.
Here is what I do for all our internal projects:
In the project's parent POM I have this:
profile-db-postgresql
org.postgresql.Driver
someusername
somepassword
jdbc:postgresql://lo
Real quick, I'm building a RAR but I can't seem to get the plugin to include
my jar that contains the implementation. Does the RAR plugin configuration
go into the same POM as my JAR pom file or as a separate file like building
an EAR or WAR?
i.e.
I have
project
connector
pom (jar)
rar
eases).
-aps
On 4/17/07, Piyush Hari <[EMAIL PROTECTED]> wrote:
Alexander,
Can you describe this more to me ? I am a new-bie ?
Take Care,
Piyush
Alexander Sack wrote:
> There is also no reason why you couldn't use a Manifest entry in the ear
> itself to tag it via the jar-pl
There is also no reason why you couldn't use a Manifest entry in the ear
itself to tag it via the jar-plugin...
-aps
On 4/17/07, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]>
wrote:
I think specifying the version in the POM would do this using ,
thanks.
This message (including a
Eclipse defines certain dependencies in its plugin framework as classpath
containers variables (see Eclipse doc). Basically what the Eclipse plugin
does (and you can verify by looking at your .classpath file of your project)
is create a dynamic classpath container that is connected to your
pom.xm
Yea I use it as well for exactly that (classpath container variable). Works
great!
-aps
On 2/14/07, Thierry Lach <[EMAIL PROTECTED]> wrote:
This Eclipse plugin does a decent job of consolidating M2 and Eclipse...
http://maven.apache.org/eclipse-plugin.html
It creates an Eclipse classpath co
What I do which I find very helpful is the following:
http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html
-aps
On 1/26/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
hi all,
i still havent' managed to use maven2 with eclipse where i have a parent
project and few children project
has anyone managed to have that setup working correc
As Marco is saying you don't need to use the ejb3 plugin. Just create a
stand alone JAR to deploy under JBoss. Again, first read the "Better Builds
with Maven 2" book which gives plenty of examples.
-aps
On 1/26/07, Vidya Mahavadi <[EMAIL PROTECTED]> wrote:
Hi Marco,
Thanks for your respose
imple classpath containers
pointing to the appropriate EJB3 JBoss libraries to link against).
As for including them in an EAR, yes they are just listed as a dependency
and javaModule.
-aps
On 12/28/06, Stephane Nicoll <[EMAIL PROTECTED]> wrote:
On 12/28/06, Alexander Sack <[EMAIL PROTECTED]>
I'm not sure why you are using the EJB plugin since EJB3 and JBoss are just
JARs. We use EJB3 and JBoss exclusively and I prefer the JAR plugin.
-aps
On 12/27/06, Stephane Nicoll <[EMAIL PROTECTED]> wrote:
Hi,
On 12/26/06, Vitor Pellegrino <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> 1 - How ca
Ah crap, beat me too itwhat he said! :D! I use ant-contrib too for
other projects as well (exactly for the foreach target).
-aps
On 12/5/06, Haroon Rafique <[EMAIL PROTECTED]> wrote:
On Today at 11:30am, MAUGM=>Morgovsky, Alexander (US - Glen Mills)...:
AM> I am trying to create an Ant
this. I
will look into creating multiple modules to see if it will solve my
problem, however it seems somewhat overkill for my application.
Thanks for your help Alexander.
On 12/4/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
> I won't speak for best practices but typically you wo
omplish what I'm describing? Basically, I just
want to include my assembly jar along with a few other files inside a
zip file.
On 12/4/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
> Quick question, why can't you have two sub modules under your POM, one
that
> generates an assembly,
Quick question, why can't you have two sub modules under your POM, one that
generates an assembly, the other generating the final output with the other
assembly included? (you get the idea)
-aps
On 12/4/06, Eric Wang <[EMAIL PROTECTED]> wrote:
Hi, I'm new to Maven so forgive me if this someth
Try "APP-INF/lib" instead. I
believe the BBwMaven book is inaccurate at this point.
-aps
On 12/4/06, Lars Rosenberg Nielsen <[EMAIL PROTECTED]> wrote:
I have a problem with configuring the EAR plugin so it copies the depended
jar files to by APP-INF/lib directory in the EAR file; the plugin p
Yea, I agree...I don't see why interfaces should be dependent on
implementations? What's the point? I don't see how you would have a
circular dependency. Your factory classes probably produce instances of
your interfaces. Your implementation classes would depend on those
interfaces. Life is g
On 12/1/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 12/1/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
>
> And in fact, one can actually remove the transitive dependencies that
are
> unwanted during the build classpath by declaring them in the POM as
> "pr
his build
classpath for whatever reason (packaging, etc.).
-aps
On 12/1/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 12/1/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
>
> This maybe an artifact of the fact that many plugins use the classpath
for
> runtime constraints a
This maybe an artifact of the fact that many plugins use the classpath for
runtime constraints as well.
-aps
On 12/1/06, Heck, Joe <[EMAIL PROTECTED]> wrote:
I couldn't answer this for one of the devs in our team, so I thought I'd
push the question to you all for any feedback you could provide
I actually use ANT to do this dirty work for me. Not sure if there is such
a thing...
-aps
On 11/1/06, Dudu <[EMAIL PROTECTED]> wrote:
What is the Maven 2 pluginto run the main class of a desktop application?
--
"What lies behind us and what lies in front of us is of little concern to
wh
ractices in regards to multiple ejbs.
>
> -Original Message-
> From: Alexander Sack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 01, 2006 2:41 PM
> To: Maven Users List
> Subject: Re: EJB Building
>
> Look at the Better Builds with Maven 2 book:
>
> http:
Look at the Better Builds with Maven 2 book:
http://www.mergere.com/m2book_download.jsp
This has a whole chapter dedicated to Java EE projects with examples
(downloadable from that website).
-aps
On 11/1/06, EJ Ciramella <[EMAIL PROTECTED]> wrote:
What I'm wondering is, if currently I have 6
Manu, just thinking out load, though this may not be what your looking for,
could you use some form of
Then reference ${somename} in your ant build file. Something like that...
-aps
On 10/31/06, Manu <[EMAIL PROTECTED]> wrote:
Hi all,
I'm trying to do something rather simple: pass the
maven-war-plugin module.
Alexander Sack-3 wrote:
>
> Specify them as provided with addClassPath but also specify them in your
> EAR
> plugin under tags. That should put them in the EAR.
>
> -aps
>
> On 10/27/06, eric H <[EMAIL PROTECTED]> wrote:
>>
>&
Specify them as provided with addClassPath but also specify them in your EAR
plugin under tags. That should put them in the EAR.
-aps
On 10/27/06, eric H <[EMAIL PROTECTED]> wrote:
I have an ear file -whcih includes at the baselevel all the libraries
neede
for the Application. There are se
an excludes directly to that dependency node
to specifically exclude those artifacts.
For example, Ear depends on war, ejb, jar; war depends on logging;
thus logging ends up in EAR.
You should be able to exclude this via:
ear/pom.xml
war
logging
Wayne
On 10/26/06, Alexander S
Thanks David, that's what I did. Its a little odd that you have duplicate
entries for the same dependency (btw, mvn shoots out warnings regarding
override scope, harmless I know, but still...).
-aps
On 10/26/06, David J. M. Karlsen <[EMAIL PROTECTED]> wrote:
Alexander Sack wrote
Wayne, that seems like a different error. You shouldn't have Class-Path
entries in the EAR's manifest (including Java EE 1.4) These entries belong
in the modules within the ear, i.e. the EJB JAR's, etc.
Though Max is technically right, its still ugly!!! :D!
Alex
On 10/25/06, Wayne Fay <[EMAIL
Yeah, I did a lot of mail-archive.com searching and its a common issue.
Transitive dependency tracking can be fantastic (especially for Java
applications building), but for EARs its VERY dangerous since you are left
with runtime exceptions to debug (treaded cast class exceptions etc.)
instead of a
lo,
Could you please post your MANIFEST.MF file so we can see what "royally
screwed up" means?
Thanks,
Paul
Alexander Sack-3 wrote:
>
> Hi Everybody,
>
> I did check the email archives on this one and I'm not sure what's
what...
>
> If I specify a manifest entry su
Because I'm using some of the Apache commons libraries, Maven2 is including
some of their sub dependencies such as commons-logging which breaks my EAR.
Is there a way to prevent this?
-aps
--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph W
Hello everyone,
I'm building an EAR and I having some difficulties dealing with common
dependencies among modules. Here are some basic questions:
1) How should JARs shipped within my EAR be treated? (see below)
2) Why does Maven pull in dependencies not listed in any of my pom files?
For some
Ahhh you know I was ON THAT EXACT PAGE and I missed the classPathPrefix.
Thanks though, much appreciated...
-aps
On 10/24/06, Rémy Sanlaville <[EMAIL PROTECTED]> wrote:
2006/10/24, Alexander Sack <[EMAIL PROTECTED]>:
>
> Remy, thanks, that's perfect. I feel dumb. Wit
Remy, thanks, that's perfect. I feel dumb. With that said, how do you find
the classpathPrefix node? I went to the doc on the jar:jar plugin and see
nothing. Obviously I'm looking in the wrong spot. I knew about the
addClasspath prefix from the mailing list as well as the BetterBuilds book.
B
If I have an JAR within an EAR that needs to reference libraries via the
ClassPath manifest entry, how can I use but have Maven prefix
each entry iwth a /lib (my defaultBundleDir)?
So I have:
my.ear:
my.jar --> ClassPath entries that need to be ClassPath: lib/mylib.jar
lib/mylib1.jar etc.
li
Hi Everybody,
I did check the email archives on this one and I'm not sure what's what...
If I specify a manifest entry such as:
lib/some1.jar lib/some2.jar lib/some3.jar lib/some4.jar
lib/some5.jar
-->
The actual manifest entry is royally screwed up in terms of formatting. I'm
port
Have you tried the maven assembly plugin? That should do what you want.
http://maven.apache.org/plugins/maven-assembly-plugin/index.html
-aps
On 9/24/06, Thomas Lindback <[EMAIL PROTECTED]> wrote:
Hello.
I want to get a zip instead of a jar file. Is there a
easy way to fix that. It is enough
table jars personally so I'm afraid I'm not much
help on this topic...
Wayne
On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
> Okay found the thread (again my bad Wayne)...thanks Valerio...
>
> However, just like the last thread, this seems like a very awkward wa
work, if I
use but no ID, then I get name-null.zip.
Thanks!
-aps
On 9/22/06, Alexander Sack <[EMAIL PROTECTED]> wrote:
Okay found the thread (again my bad Wayne)...thanks Valerio...
However, just like the last thread, this seems like a very awkward way of
handling it (an assembly pl
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
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
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 doesn't dis
ing about. ;-))
So actually today there is no need for vendor specific packaging, since
all vendors support those "clean" packages. If not, it is a bug and
should get reported. In turn, vendor specifics in the EAR and EJB
modules are obsolete.
Markus
Alexander Sack schrieb:
>
wrote:
Actually we ARE adding them manually but this thread is about how we can
make MVN to do that automatically...
Nevertheless, I filed an issue with JIRA in the hope of getting it fixed
in the next plugin release.
Thanks
Markus
Alexander Sack schrieb:
> Thanks guysweird, I guess I
section
of Application clients J2EE 1.4 spec section 9.7 J2EE Application Client
XML Schema.
Ant has targets that can create these Application client artifacts.
I also favor for building application client jar for Swing applications
with Maven2.
Regards,
Markku
Alexander Sack wrote:
> I
ere is actually no room for interpretation. You might want to read
J2EE 1.4 spec chapter 9 "Application Clients".
Markus
Alexander Sack wrote:
> I'm pretty sure the "J2EE client application descriptor" you speak of
> is a
> BEA only primitive and not generic eno
I'm pretty sure the "J2EE client application descriptor" you speak of is a
BEA only primitive and not generic enough to be included in the EAR plugin
(please correct me if I'm wrong, I don't remember ever seeing this in the
J2EE spec).
With that said a light bult has sort of went off and perhaps
Ronald, I have a very similar setup in my projects where ANT was used based
on an if clause. In fact I wound up actually using ant-contrib to give me
if/else type logic to make the builds more readable.
Have you looked into Maven2 style PROFILES? A profile allows you to define
a number of confi
Well Maven doc isn't exactly great since its not really centralized.
But as many have stated custom packaging part of the EJB3 spec never made it
and as such, the JAR plugin is your best bet! :D
-aps
On 9/8/06, Markus KARG <[EMAIL PROTECTED]> wrote:
Alexandre Russel wrote:
According to
xmlns = "http://java.sun.com/xml/ns/javaee";
> xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd";
> version = "3.0">
>
I use packaging type "JAR" for all EJB3 builds as its just easier then
trying to retrofit the current ejb plugin.
-aps
On 9/6/06, Alexandre Russel <[EMAIL PROTECTED]> wrote:
> According to "BetterBuildsWithMaven.pdf" I switched from
> ejb to ejb3. Unfortunately
change it to jar.
Alex
--
1 - 100 of 109 matches
Mail list logo