[m2] Include dependent jars in EJB-jar

2006-02-17 Thread Wayne Fay
I found this thread from back in June 2005 and I have the same exact situation. I'm hoping that perhaps the answer has changed since it has been 7 mos since this issue was brought up on the list. From[EMAIL PROTECTED] Subject RE: M2 - Dependent Jars for EJB DateWed, 22 Jun 2005 12:59:39 GM

Re: Ejb Package

2006-02-17 Thread Wayne Fay
Hi Mike, I'm experiencing the exact same troubles. I actually just posted a similar email to the list earlier today, though it doesn't seem to have gotten through yet -- my first post so perhaps its moderated? Its called "[m2] include dependent jars in Ejb-jar". I am able to successfully deploy m

Re: Ejb Package

2006-02-17 Thread Wayne Fay
directory (pulled in as transitive > dependencies for my ejb jar). > > I've tried changing scope, using excludes, etc., but to no avail. > > BTW, can someone verify my syntax for the excludes, or if it should have > any bearing on transitive dependencies? > > > >

Re: [m2] Include dependent jars in EJB-jar

2006-02-17 Thread Wayne Fay
Now that I have discovered the: org.apache.maven.plugins maven-ejb-plugin true bit of configuration "code", my problems seem to be resolved. Is this configuration-archive-manifest-mainClass/addClasspath/etc tag stuff documented somewhere? Thanks. Wayne On 2/17/06, Tomislav Stojcevich

Re: [M2] Adding jars to classpath in war manifest

2006-02-17 Thread Wayne Fay
This is what I'm using rather successfully... in the webapp/pom.xml org.apache.maven.plugins maven-war-plugin true in the ear/pom.xml org.apache.mav

[m2] Xpp3 in ibiblio repo is very strange

2006-02-17 Thread Wayne Fay
This is bizarre... http://www.ibiblio.org/maven2/xpp3/xpp3/1.1.3.4/ xpp3-1.1.3.4-RC3_min.jar (md5, sha1) xpp3-1.1.3.4-RC8_min.jar (md5, sha1) xpp3-1.1.3.4.pom (md5, sha1) I tried: xpp3 xpp3 1.1.3.4 Of course this fails because the name of the jar is actually xpp-1.1.3.4-RC8_min.jar and

Re: [m2] Xpp3 in ibiblio repo is very strange

2006-02-18 Thread Wayne Fay
t; http://jira.codehaus.org/browse/MEV > > Also, patches for the poms expedite the process. > - Dan > > Wayne Fay wrote: > > This is bizarre... > > > > http://www.ibiblio.org/maven2/xpp3/xpp3/1.1.3.4/ > > > > xpp3-1.1.3.4-RC3_min.jar (md5, sha1) > > xp

Re: [m1] Any plans for latest PMD into PMD plugin?

2006-02-18 Thread Wayne Fay
This is great news. Thanks Arnaud. Wayne On 2/18/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > Hi Jeff, > > It wasn't done because the 3.5 release wasn't available on ibiblio. > I'm seeing that it's now done. > As you can see in [1] this plugin is ready to be release. > I'll update the depend

Re: [m2] Xpp3 in ibiblio repo is very strange

2006-02-20 Thread Wayne Fay
PROTECTED]> wrote: > Wayne Fay wrote on Saturday, February 18, 2006 7:21 AM: > > > This is bizarre... > > > > http://www.ibiblio.org/maven2/xpp3/xpp3/1.1.3.4/ > > > > xpp3-1.1.3.4-RC3_min.jar (md5, sha1) > > xpp3-1.1.3.4-RC8_min.jar (md5, sha1) >

Re: [m2] HibernateDoclet

2006-02-20 Thread Wayne Fay
On 2/20/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote: > > http://xdoclet.codehaus.org/Maven2+plugin > http://mojo.codehaus.org/hibernatedoclet-maven-plugin/ > Just trying to dive headfirst into Xdoclet on M2, and running into some issues... Two things... Are you guys using: xdoclet

[m2] MockEJB not available in any repository; how to add?

2006-02-20 Thread Wayne Fay
Doesn't look like MockEJB is available in any Maven2 repositories that I know about. I found it in Maven1 in http://www.ibiblio.org/maven/non-codehaus/mockejb/ but not anywhere in M2. I pulled down 0.6-beta-2 myself and built it, then installed it into my local repo. But this doesn't help the rest

Re: [m2] MockEJB not available in any repository; how to add?

2006-02-20 Thread Wayne Fay
Sorry for such a RTFM question! Should I be concerned about this: "if you are one of its developers, a url where your name or email can be found inside the project site" I'm not a MockEJB developer, just a guy who uses it. Do I need to become an "official" MockEJB dev before I can get this upload

Re: [M2] Modifying war plugin

2006-02-20 Thread Wayne Fay
Is there a particular reason you cannot simply use Antrun to copy the Manifest.mf file to the proper place during packaging etc? If you already talked about this, I might have missed it in a previous thread etc. Wayne On 2/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > I am curious to kn

Re: [1.1] Problem with mock dependeny

2006-02-20 Thread Wayne Fay
I've had this happen before myself -- when the checksum doesn't match the remote repo -- no idea how it happens, or what to do about it. Its only happened a handful of times so it hasn't been a real problem for me as yet. Wayne On 2/20/06, Jon Strayer <[EMAIL PROTECTED]> wrote: > On 2/20/06, Jo

Re: how to build JPF(pageflows) in Maven2

2006-02-21 Thread Wayne Fay
I've had some good luck running certain things in Antrun, and then bad luck with many other things. I'd guess that your JPF dependencies (the Ant plugins that enable the JPF functionality themselves) are not being registered/discovered in Maven/Antrun as they are in native Ant. Take a look at wher

Re: tests are running 3 times when i generate my site

2006-02-21 Thread Wayne Fay
Since we're on the subject of cobertura, could I ask one of you guys to perhaps post your pom to the list? I had trouble getting cobertura to run, must be doing something wrong. ;-) Especially interested in David's because I'm already running PMD & Findbugs reports... Once I get cobertura working,

Re: plug with dependencies that are not in repository

2006-02-21 Thread Wayne Fay
How about the other approach -- get them added to Maven? :-) http://maven.apache.org/guides/mini/guide-ibiblio-upload.html Wayne On 2/21/06, Eirik Maus <[EMAIL PROTECTED]> wrote: > Hi > > I've started on a maven plugin. I've discovered that the libraries I depend > on are not in the maven reposi

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Wayne Fay
If you can't find any other options, you can always try Antrun and tags... Here's an example using in-line sql commands (this goes in the build-plugin-tasks section): Give this a try? Wayne On 2/21/06, andrew cooke <[EMAIL PROTECTED]> wrote: > > no, they're just databases (SQL) (by schema i

Re: [m2] Database/SQL plugin? Generating DB from schema?

2006-02-21 Thread Wayne Fay
Looks like there's also a maven-jdbc-plugin that you could potentially use. But I've never used it myself. This email thread has some more info: http://mail-archives.apache.org/mod_mbox/maven-users/200509.mbox/[EMAIL PROTECTED] If you use it, and it works like you were expecting, please let us k

Re: plug with dependencies that are not in repository

2006-02-21 Thread Wayne Fay
ers. All I have is the Jars. I doesn't feel right uploading somebody > else's work without asking. > > Thanks for the link, though. I might try it. After all, uploading the jars > inside the plugin is not that different. > > On 2/21/06, Wayne Fay <[EMAIL PROTECTED]>

[m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Wayne Fay
I am trying to convert a multi-module project that we have traditionally used Ant to build and run tests into Maven2. I've already done this successfully for some other internal projects and been very happy with it. However, I'm running into a new problem with this particular project. Several of

Re: [m2] Trouble accessing test resources after moving to Maven2 from Ant

2006-02-22 Thread Wayne Fay
Thanks Emmanuel. I knew it was something simple like that. Wayne On 2/22/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > test resources must be in src/test/resources > > You can load your resources with this code : > > getClass().getResource( "com/myproject/util/test.txt" ); > or > getClass().

Re: Maven2 plugin for validating XML?

2006-02-22 Thread Wayne Fay
Validating XML as in... Well formed test? XML data compiles with DTD test? XML schema complies with defined XSD test? another test? What **exactly** are you looking for? Wayne On 2/22/06, Tim Dysinger <[EMAIL PROTECTED]> wrote: > Is there such a thing? > > > -

[m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Wayne Fay
Obviously I can download the Sun official EJB 2.0 interface jars myself and install them into my local repo etc. But I'd prefer to find something in ibiblio that can satisfy this requirement with a simple statement so my coworkers and our continuous integration server etc can get this with no hass

Re: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Wayne Fay
po. > > Then add this to your pom.xml > >... > > > > library > library > http://mywebserver/maven > > > > Cheers, > AK > > -Original Message- > From: Wayne Fay

Re: [m2] Hoping some project hosts the ejb 2.0 spec jar in repo (??)

2006-02-22 Thread Wayne Fay
s is there will not be a global maven repo solution for sun's jars... > > > > > > You may take a look at this document here: > > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html > > > > Cheers, > > AK > > > > -Origin

Re: [m2] ant tasks and SNAPSHOTs

2006-02-23 Thread Wayne Fay
This is a question for the dev list, not users. ;-) Wayne On 2/23/06, Michał Stochmiałek <[EMAIL PROTECTED]> wrote: > > > > When the 2.0.3 is going to be released? > > I just figured out that MNG-1908 is not going to be included in 2.0.3. Why? > This fix is highly needed.

Re: EJB3 error in Maven

2006-02-24 Thread Wayne Fay
Download javax.persistence from Sun and add to your local repo. Or add a dependency on an appropriate EJB3 spec jar from another source ie Hibernate and add to your local repo. The POM here seems to suggest that Hibernate Annotations should fulfill your need: http://www.ibiblio.org/maven2/javax/pe

Re: EJB3 error in Maven

2006-02-24 Thread Wayne Fay
aven2 repo, probably not. Wayne On 2/24/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Download javax.persistence from Sun and add to your local repo. Or add > a dependency on an appropriate EJB3 spec jar from another source ie > Hibernate and add to your local repo. > > The POM here

Re: RE : default skin - where do i get it?

2006-02-24 Thread Wayne Fay
mvn -o to work offline... --wf On 2/24/06, David Sag <[EMAIL PROTECTED]> wrote: > > > yes that's what I thought and indeed already had that site configured in > my normal repositories config. but as that didn't work i tried adding it as > a plugin too - but that didn't work either. specifying

Re: [m2] Failure to recognise a jar

2006-02-24 Thread Wayne Fay
IIRC this was called Uberjar back in m1. To be honest, not sure of the M2 response to that, as I'm only doing WARs and EARs and they are all bundled properly in those package types. http://classworlds.codehaus.org/uberjar.html Wayne On 2/24/06, Gerard Garrigan <[EMAIL PROTECTED]> wrote: > I hav

Re: Maven2 plugin for validating XML?

2006-02-25 Thread Wayne Fay
this? Wayne On 2/24/06, Tim Dysinger <[EMAIL PROTECTED]> wrote: > I'd take any of them, but specifically, I'm looking for the last one > XML against a XSD. > > On Feb 22, 2006, at 11:52 AM, Wayne Fay wrote: > > > Validating XML as in... > > Well formed te

Re: [m2] Overall code quality summary reports

2006-02-25 Thread Wayne Fay
This is something I've been looking into myself just recently. No easy solutions as yet. There's a Cobertura plugin already but there are issues, so you need to wait until 2.0.3 is out to really use it -- this is all according to things I've read, I don't use it myself (yet). As for JavaNCSS, the

Re: Maven2 plugin for validating XML?

2006-02-25 Thread Wayne Fay
On 2/25/06, Jochen Wiedmann wrote: > > > Why do you need a plugin for this? > > Why not? Validating XML is a standard qualitiy requirement for any > project that delivers XML files, possibly a lot of XML files. That's the beauty of open source -- I may think its "dumb" and not see the value of suc

Re: xDoc i18n for a dozen languages

2006-02-26 Thread Wayne Fay
On 2/26/06, Lance Bader <[EMAIL PROTECTED]> wrote: > Would it be worthwile to just contribute this small subset of values in 12 > languages (really 9 more languages since you already have English, German, > and French? It would be adequate for those, like me, who don't use any of > the Maven repor

Re: [m2]javax.comm - missing in iBiblio

2006-02-26 Thread Wayne Fay
I don't have access to the Maven ibiblio repository myself, but I doubt this Sun API Jar will be accepted into the Maven repo until the licensing is changed by Sun to allow it, or they release it under another license which freely allows distribution. The important sections are "1. Software Intern

Re: How to use external jar's while compiling

2006-02-27 Thread Wayne Fay
You are attempting to use a Java class that was compiled with JDK 1.5 in a runtime environment of JDK 1.4. This is not going to work. Upgrade your JDK, or recompile the affected classes with JDK 1.4 if you can. (And really, this is a Google question, not a [EMAIL PROTECTED] question. There are hu

Re: [m2]javax.comm - missing in iBiblio

2006-02-27 Thread Wayne Fay
the actual > jar can be downloaded. I believe this is how SUN jars are managed. > > Regards, > Subhash. > > On 2/27/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > I don't have access to the Maven ibiblio repository myself, but I > > doubt

Re: [m202] 'svn' is not recognized as an internal or external command

2006-02-27 Thread Wayne Fay
Make sure "svn" command is in your path. Looks like you're on Windows. In the same DOS box, type "svn --version" and make sure it works. C:\dev\java.net\glassfish>svn --version svn, version 1.1.1 (r11581) compiled Oct 23 2004, 14:47:47 Wayne On 2/27/06, Mick Knutson <[EMAIL PROTECTED]> wrote

Re: [m2] problems with transient dependencies

2006-02-27 Thread Wayne Fay
I just submitted Jsch 0.1.25 to JIRA Mavenupload: http://jira.codehaus.org/browse/MAVENUPLOAD-758 You can do the same with the other projects. Start here: http://jira.codehaus.org/browse/MAVENUPLOAD Follow directions to upload other dependencies to the Maven repository: http://maven.apache.org/gu

Re: [m202] 'svn' is not recognized as an internal or external command

2006-02-27 Thread Wayne Fay
I don't use Maven SCM at this point, so I can't help you here. Perhaps someone else who is using SVN in a similar manner can supply their pom.xml? Wayne On 2/27/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > Thanks, that got me a little closer, but now I have something new. > > Here is my plugin

Re: Copying resources to the javadoc output directory.

2006-02-28 Thread Wayne Fay
I haven't done it myself, but I believe you can use the Assembly plugin to achieve this, though its rather convoluted... http://maven.apache.org/plugins/maven-assembly-plugin/howto.html Basically you create the package like normal, and include the LICENSE.txt in the Jar, and then use Assembly to

Re: Maven, Deepika.M wants to talk to you using Google Talk

2006-02-28 Thread Wayne Fay
Ask your questions here on the users@ mail list and the other Maven users will do their best to answer them. No reasonable person is going to accept your Google Talk invite. This isn't a paid support channel for "online replies to queries". Its just a users-helping-users group. Wayne On 3/1/06,

Re: Copying resources to the javadoc output directory.

2006-03-01 Thread Wayne Fay
nds like a "copy" plugin is in order? > > > > -Original Message- > > From: Barrie Treloar [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 28, 2006 7:11 PM > > To: Maven Users List > > Subject: Re: Copying resources to the javadoc output

Re: NullPointerEXception , Sorry to insist guys

2006-03-01 Thread Wayne Fay
Other people are reporting similar problems. I don't use site right now, so I don't get it, but this is a pretty common complaint just recently. Search the Maven Users archive -- perhaps there's a fix? Otherwise try to find your bug (with a fix?) on JIRA... http://jira.codehaus.org/browse/MSITE W

Re: Can the xDoc plug-in use the XML unary format when generating XHTML tags that are forbidden to have content?

2006-03-01 Thread Wayne Fay
Great news. Can you please keep an eye on this issue and report back when its fixed? Then we can update poms to get the new dom4j, and finally put this issue to rest. ;-) Wayne On 3/1/06, Lance Bader <[EMAIL PROTECTED]> wrote: > Remember this issue? Someone has found the location of the defect

Re: Can the xDoc plug-in use the XML unary format when generating XHTML tags that are forbidden to have content?

2006-03-01 Thread Wayne Fay
is really active. > Furthermore, we already tried to upgrade ours dom4j dependencies but we > didn't succeed. > > Arnaud > > > On 3/1/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > Great news. > > > > Can you please keep an eye on this iss

[m2] CVS SCM checkout problem

2006-03-02 Thread Wayne Fay
Hi guys, Been using Maven2 for a while but never used the SCM features previously. Decided to look into SCM for a project. I got a working scm:checkout etc just now by configuring the SCM in my pom.xml. But the files land in /target/checkout. And of course I want them to land in my current direct

Re: deploy failing- error msg :session down

2006-03-02 Thread Wayne Fay
You're using SCP... This is "secure copy" which uses SSH for the "secure" part... Your error seems to indicate that for some reason, your SSH tunnel is not always available when the scp process attempts to copy the files. >From your description of the error, it sounds like a random network issue.

Re: weird problem in building an EAR with Maven

2006-03-03 Thread Wayne Fay
This is what I also get, and if I'm not mistaken, this is proper behavoir for EARs. EAR project -> depends on web, ejb web & ejb -> depends on shared shared -> depends on commons-logging.jar thus commons-logging.jar will be included in EAR Wayne On 3/3/06, Marco Mistroni <[EMAIL PROTECTED]> wro

Re: FTP deploy error

2006-03-03 Thread Wayne Fay
Just a WILD guess, but I think you need to create a directory /maven/repository on your ftp server... > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying > artifact: Required directory: '/maven/repository' is missing Wayne On 3/3/06, Nuno Martins <[EMAIL PRO

Re: FTP deploy error

2006-03-03 Thread Wayne Fay
> org.apache.maven.wagon >wagon-ftp >1.0-alpha-6 > > > > > > > Reguards > > Wayne Fay wrote: > > >Just a WILD guess, but I think you need to create a directory > >/maven/repository on your ftp server... > &

Re: File sharing issue with maven-deploy using wagon

2006-03-03 Thread Wayne Fay
Post a bug report in the Maven Jira for the appropriate plugin/component: http://jira.codehaus.org/secure/Dashboard.jspa Wayne On 3/3/06, Frank Russo <[EMAIL PROTECTED]> wrote: > Can someone please help on this? I haven't gotten a resonse, so I > thought I'd ask again in case it fell through the

Re: rmic plugin

2006-03-06 Thread Wayne Fay
You probably need a and/or so the plugin gets executed at the proper time... but I'm not familiar with this particular plugin. Perhaps you can email the author directly? Wayne On 3/6/06, Borut Bolčina <[EMAIL PROTECTED]> wrote: > Hi, > > I downloaded and installed rmic plugin from > https://sv

Re: Maven flaking out of the blue (ibiblio probs?)

2006-03-06 Thread Wayne Fay
I've had similar problems at times. ibiblio is very heavily used during the day by millions of people around the world. Sometimes http requests and downloads will time-out completely. Add some of the Maven mirrors to your pom.xml, so you can at least download the artifacts etc from another site w

Re: [m2] CVS SCM checkout problem

2006-03-06 Thread Wayne Fay
-DcheckoutDirectory=.... > > Emmanuel > > Wayne Fay a écrit : > > Hi guys, > > > > Been using Maven2 for a while but never used the SCM features > > previously. Decided to look into SCM for a project. > > > > I got a working scm:checkout etc just now by

Re: Maven flaking out of the blue (ibiblio probs?)

2006-03-06 Thread Wayne Fay
dates from ibiblio checking for updates from codehaus-plugins checking for updates from central Wayne On 3/6/06, Elliot Metsger <[EMAIL PROTECTED]> wrote: > Hi Wayne, > > Wayne Fay wrote: > > > Add some of the Maven mirrors to your pom.xml, so you can at least > > download

Re: Problem with dependencies on central -- ibiblio?

2006-03-06 Thread Wayne Fay
Try mvn --offline. Looks like ibiblio is timing out, and your build is failing since it can't check for updates to the snapshot for maven-compiler-plugin. Wayne On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I am having a sudden problem simply compiling with maven -- no changes > to my po

Re: filterinhg pom.xml and pom.properties and META-INF/maven from archives

2006-03-06 Thread Wayne Fay
The maven-jar-plugin version 2.1-SNAPSHOT does not exist on ibiblio, as you can see here: http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-jar-plugin/ It only exists in the Codehaus Maven repo: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.1-SNA

Re: Problem with dependencies on central -- ibiblio?

2006-03-06 Thread Wayne Fay
about how to add this repository to your pom.xml. Wayne On 3/6/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Try mvn --offline. Looks like ibiblio is timing out, and your build is > failing since it can't check for updates to the snapshot for > maven-compiler-plugin. > > W

Re: Problem with dependencies on central -- ibiblio?

2006-03-06 Thread Wayne Fay
Sorry about that Brad, my initial response was wrong. Check my second email response to this thread for the right answer. Wayne On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > Wayne, > > Thanks for the reply. I don't think this is a timeout, I think there's > another problem. Here's the bu

Re: [m202] mvn site:site with many modules does not tie docs together...???

2006-03-06 Thread Wayne Fay
The maven-site-plugin is also available as 2.0-SNAPSHOT and 2.0-beta-3-SNAPSHOT on Codehaus Maven snapshot repo: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-site-plugin/ Maven Snapshots http://snapshots.maven.codehaus.org/maven2/ true

Re: [m202] mvn site:site with many modules does not tie docs together...???

2006-03-06 Thread Wayne Fay
20 PST 2006 > [INFO] Final Memory: 16M/30M > [INFO] > > > c:\opt\furl\furlm2\trunk> > > > > > > > > --- > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, in

Re: is there a way to filter dependency jars from being packaged

2006-03-06 Thread Wayne Fay
Perhaps add all of B's dependencies in your pom as excluded? Wayne On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I am building a JBoss sar and a JBoss wsr using the sar and wsr plugins. > I would like to create these archives without including all of the jar > dependencies. After looking

Re: how to include all dependencies in your jar

2006-03-06 Thread Wayne Fay
This is a very COMMON question. Please search Google and the Maven Users list archive for various responses to this question. Wayne On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I am building a jar (and ejb module) that needs to have all of its > dependencies included within the packaged

Re: how to include all dependencies in your jar

2006-03-06 Thread Wayne Fay
epeatedly on > common usage issues, your time is no longer user time, it becomes > developer-time > > I guess I just sometimes wonder what the positive effect would be if the > maven developers took half the development effort and didn't cut any > more lines of code, and j

Re: how to include all dependencies in your jar

2006-03-06 Thread Wayne Fay
Thanks for the replies Wendy and Brad! I am going to have to take a good look at the Wiki and find some places I can improve, based on my usage and experience with Maven2. I want to ask other users to do the same, so we can improve the overall level of documentation in Maven. Here's the link: htt

Re: how to include all dependencies in your jar

2006-03-06 Thread Wayne Fay
> an executable application. All I need is a standard jar with its > dependencies included inside of it. I guess I was expecting to use the > standard Jar plugin. Are you telling me that the standard jar plugin > cannot embed a project's depdencies into it? Yes, that's what he's saying. Wayne --

Re: How to reference a binary assembly dependency

2006-03-06 Thread Wayne Fay
I think you need a classifier. ;-) com.me MyApp 1.0-SNAPSHOT with-dependencies jar compile Let us know if this works! Of course, I have to ask why you are doing this, effectively routing around the built-in dependency management features of Maven... Wayne On 3/6/06, Brad O'

Re: How to reference a binary assembly dependency

2006-03-06 Thread Wayne Fay
included in the jar. Not > sure if that will bit in this scenario or not - if they are not > unpacked, then I'd say not. > > - Brett > > On 3/7/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > I think you need a classifier. ;-) > > > > > >

Re: How to reference a binary assembly dependency

2006-03-06 Thread Wayne Fay
from the assembly plugin. Why the assembly plugin builds the original > jar without dependencies, I don't know, but it does. The important thing > is that the with dependencies works. > > Brad > > Wayne Fay wrote: > > >That's actually what I was getting at... &

Re: [m2] error deploying 3rd party lib to ftp repository

2006-03-06 Thread Wayne Fay
Or you can just add to your pom.xml: ... org.apache.maven.wagon wagon-ftp 1.0-alpha-3 Check the version, there might be a newer one out by now... Wayne On 3/7/06, Pieter Vandepitte <[EMAIL PROTECTED]> wrote: > ok, I get the point, I also have

Re: Maven2 tests

2006-03-07 Thread Wayne Fay
Docs are wrong. Test files go in: src/test/java Where did you see this "test/java" directory reference? It needs to be changed. Wayne On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hi all, > i m trying ot use Maven2 in my project,. > > structure of my dir is > > > |__src >

Re: ejb3 plugin

2006-03-07 Thread Wayne Fay
It would probably be helpful for Nidhi if you could post some samples from your pom.xml and other associated files (you mentioned persistence.xml and a .par file). Just saying "I've done this" doesn't really help anyone. Wayne On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > hello, > i h

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Wayne Fay
I don't feel his response was out of line. It was not apparent that you had already done some of your own homework in the initial email. You asked a question which, as far as Vincent is concerned, has already been answered by existing documentation. Since you said nothing about having previously r

Re: ejb3 plugin

2006-03-07 Thread Wayne Fay
Thanks a lot for all that info/documentation Marco. Way more than I expected, even if it is "only" for Maven1. ;-) Wayne On 3/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote: > Hello > One more thing > > Please NOTE that i have generated myself the persistence.xml file int he > META-INF director

Re: Simple CVS question: How to add a file to the toplevel cvsroot

2006-03-07 Thread Wayne Fay
He probably means symbolic link as in "on unix or linux, ln -s dir1 dir2". Not symbolic links in CVS itself. At least, I don't know of any symbolic links in CVS! If you're not working on an operating system that supports symbolic links, this will be a difficult option to employ. Perhaps you can us

Re: [M2] Passing properties to ant script

2006-03-07 Thread Wayne Fay
Not sure about basedir or project.version, but some classpath properties are defined here: http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Have you tried perhaps maven.project.version? I think that's one. Not sure about basedir. If you find a list somewhere else, please post i

Re: [m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Wayne Fay
Probably no one has missed this because this is included in JDK5. You are running jdk1.3 or 1.4, I'm guessing? You could probably find this in Saxon 6.5.3 (haven't checked!) or a similar library. Find a library in ibiblio which implements it, add the library as a dependency and see if it works? ;-

Re: Source Dependencies

2006-03-07 Thread Wayne Fay
Hi Ian, > 1) Is this expected behaviour for either Maven2 or the Eclipse plugin? If > so, is this documented somewhere (no, www.google.com doesn't count)? I don't use M2 with Eclipse, so I can't answer this specifically. > 2) Is there a "sources" repository that I can add to my pom.xml and/or >

Re: Source Dependencies

2006-03-07 Thread Wayne Fay
t; > > Thanks, > Ian > > It's better to be hated for who you are > than loved for who you are not > > Ian D. Stewart > Appl Dev Analyst-Advisory, DCS Automation > JPMorganChase Global Technology Infrastructure > Phone

Re: Help a newbie maven user

2006-03-07 Thread Wayne Fay
I don't use Eclipse + Maven so I'm not positive this will work, but there is a standard way to include sources and javadocs in Maven bundles. See this page: http://maven.apache.org/guides/mini/guide-ibiblio-upload.html Basically you need to copy the binary jar into your local repository using the

Re: [m202] SAX 2.0.2 support missing from ibiblio

2006-03-07 Thread Wayne Fay
> > > However, the xmlvalidate task of ANT (1.6.5) still does not work -- any > > experience with that? > > > > Wayne Fay wrote: > >> Probably no one has missed this because this is included in JDK5. You > >> are running jdk1.3 or 1.4, I'm guessing

Re: [m2][Javadoc plugin] Javadoc report with Maven2

2006-03-07 Thread Wayne Fay
For now, add it as a MiniGuide, call it MiniGuide-Reporting or something... I'm actually working on a few MiniGuides the last couple of days, based on conversations here in user@ and some on dev@ and will upload them at some point. http://docs.codehaus.org/display/MAVENUSER/Mini+Guides Sign up fo

Re: Specifying the location for maven to put depedencies inside an ear

2006-03-07 Thread Wayne Fay
Fair enough. It sounds like a somewhat complicated system/requirement to me, when we all generally agree that "dumping the jars in root" does work, while it may not be pretty or ideal. Probably the functionality you are looking for simply does not exist yet in the Maven ejb/jar plugin. I have an

Re: Sun Blueprint Petstore Application converted to Maven project

2006-03-08 Thread Wayne Fay
Its a little hard to "debug" this over email. I'd generally suspect you need to add: org.apache.maven.plugins maven-ejb-plugin true to your pom.xml for the EJBs. Depending on your needs

Re: ERROR 22001: A truncation error was encountered trying to shrink VARCHAR 'javax.jdo.JDODataStoreException

2006-03-08 Thread Wayne Fay
This error has nothing to do with Maven or Continuum. You will have better luck getting a fix for this issue from the jpox.org users email list and/or derby.apache.org users list. Wayne On 3/8/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I am seeing this problem with my build,

Re: [m2] ant plugin mojo refering to maven ProjectHelper

2006-03-08 Thread Wayne Fay
You are treading into Maven developer territory here... I doubt you will find the answers you are looking for on this list. Perhaps dev@ list instead? Wayne On 3/8/06, Martin van der Plas <[EMAIL PROTECTED]> wrote: > Hi, > > According to > http://maven.apache.org/guides/plugin/guide-ant-plugin-

Re: Exploded EAR structure

2006-03-08 Thread Wayne Fay
First off, Maven may not be the right tool for every person/project. If you already have a good build process in Ant that you're happy with, its not always true that you should move to Maven. In this case, I would "only" use Maven to build up a complete webapp when you are ready to deploy, or when

Re: [m2][ibiblio-upload-request] ant-testutil-1.6.5.jar

2006-03-09 Thread Wayne Fay
Realistically, if you want this to end up in Maven repo, you will need to follow the directions on the website to make a Maven bundle etc and upload to Jira under project MavenUpload: http://maven.apache.org/guides/mini/guide-ibiblio-upload.html If you don't follow those directions, then you're ju

Re: maven.apache.org extremely slow

2006-03-09 Thread Wayne Fay
Not sure what's going on for you... But put 127.0.0.1 www.google-analytics.com in your hosts file to avoid the problem entirely. ;-) Wayne On 3/9/06, Christian Mouttet <[EMAIL PROTECTED]> wrote: > Hi all, > > the requests to maven.apache.org is *very* slow and my browser shows me > 'waiting for

Re: SPAM: Problems with maven-buildnumber-plugin

2006-03-09 Thread Wayne Fay
What, you don't have a threading mail reader?? ;-) Wayne On 3/9/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > Always reply-to with history please. > > --- > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BASELogic.com > >

Re: [m2][ibiblio-upload-request] ant-testutil-1.6.5.jar

2006-03-09 Thread Wayne Fay
EMAIL PROTECTED]> wrote: > But I am not one of the ANT developers... > I will ask for help on the ANT user list. > > Wayne Fay wrote: > > Realistically, if you want this to end up in Maven repo, you will need > > to follow the directions on the website to make a Mav

Re: Additional file sincluded while building an EAR

2006-03-10 Thread Wayne Fay
Your ejb pom has: geronimo-spec geronimo-spec-j2ee Without a scope, it defaults to compile. Specify provided. Also your ejb pom has the other two ejb3 jars specified as scope system. I don't use system, but I'm guessing it works like compile since the dependencies are

Re: Building J2EE project using Maven2

2006-03-10 Thread Wayne Fay
Personally I'm doing all the steps up to deploy with Maven, and then actually deploying into oc4j using ant. I tried to use cargo briefly and gave up since I had a working process in ant. I'm not aware of any full examples. But look at the pom.xml files sent by Marco in another thread titled "Addi

Re: [m2] Multiproject - separating version and use dependencies

2006-03-10 Thread Wayne Fay
Take a look at the tag. Sounds like its what you're looking for. Marco just sent his pom.xml files in another thread titled "Additional file sincluded while building an EAR" which includes a dependencyManagement section, might be helpful? Basically you put the depMgmt tag in your top pom with the

Re: finding JBoss & EJB3 Jars on ibiblio ?

2006-03-10 Thread Wayne Fay
If you don't see them, then they are probably not there. ;-) So you can either: 1. Use your own internal repository 2. Wait until someone else uploads them 3. Use your JBoss support contract hours to ask that they be uploaded 4. Upload them yourself following the directions on Maven site: http://m

Re: Altering plugin configuration based on lifecycle phase?

2006-03-10 Thread Wayne Fay
Sure. Here's an example: org.apache.maven.plugins maven-antrun-plugin 1.1 proc process-resources this is maven-antrun-plugin : process-resources

Re: custom src directory layout - how to get it to not checkstyle/javadoc the tests too.

2006-03-10 Thread Wayne Fay
Easiest answer is to move to Subversion. There are tools to facilitate this so you can save your history out of CVS. Then restructure your project. Wayne On 3/10/06, Thorsten Heit <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > > the directory structure

Re: How do I include my ejb3 and par files in ear for Maven2

2006-03-10 Thread Wayne Fay
Is installing the ejb3 and war files into your own local repository such a big deal?? What's the harm/negative of this?? "i don't want X" != "can't allow X for specific reason Y and Z" I guess I'm just too pragmatic for this "problem"... The "solution" is obvious, install locally, and proceed to t

  1   2   3   4   5   6   7   8   9   10   >