RE: Trouble generating the site

2008-03-29 Thread Martin Gainty
I saw this answer from a POX engineer who suggested your stylesheet is exhausting memory..export MAVEN_OPTS="-Xmx512m"Anyone?Martin __Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of

Fwd: Trouble generating the site

2008-03-29 Thread Craig L Russell
Hi, We are using maven to generate the Apache JDO site (http://svn.apache.org/viewvc/db/jdo/site/ ). We upgraded from Maven 1.0.2 to Maven 1.1 and the site no longer generates. The full console output is below [1]. The error message is >> Unable to obtain goal [site] >> /Users/clr/.maven/

Re: Fixing not finding "maven-resources-plugin"

2008-03-29 Thread Kedar Mhaswade
Karr, David wrote: I know very little about maven2. I'm trying to step through a Struts2 tutorial (Ian Roughley's book). After executing the following: mvn archetype:create -DgroupId=com.fdar.apress.s2 -DartifactId=struts2-starter -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=stru

Fixing not finding "maven-resources-plugin"

2008-03-29 Thread Karr, David
I know very little about maven2. I'm trying to step through a Struts2 tutorial (Ian Roughley's book). After executing the following: mvn archetype:create -DgroupId=com.fdar.apress.s2 -DartifactId=struts2-starter -DarchetypeGroupId=org.apache.struts -DarchetypeArtifactId=struts2-archetype-starter

Re: [m2] Issue building facelets war for jetty and tomcat

2008-03-29 Thread Olivier Dehon
You can define a variable as the scope of those dependencies and assign the value "compile" or "provided" in different profiles, corresponding to the container you are building for. -Olivier On Sat, 2008-03-29 at 11:20 -0800, Mick Knutson wrote: > So when I build my facelets JSF war for Jetty, I

[m2] Issue building facelets war for jetty and tomcat

2008-03-29 Thread Mick Knutson
So when I build my facelets JSF war for Jetty, I keep getting errors about needing to omit this from my war: * javax.el el-api 1.2 provided javax.el el-ri 1.2 provided

Re: maven newbie needs help.

2008-03-29 Thread Mick Knutson
For #1, What do you mean about dependancies? Do you mean jar's inside this jar? On Sat, Mar 29, 2008 at 7:17 AM, Urooj Khan <[EMAIL PROTECTED]> wrote: > i think assembly-plugin might work too > > > > On Sat, Mar 29, 2008 at 11:04 AM, Mick Knutson <[EMAIL PROTECTED]> > wrote: > > > Have you looked

Re: maven newbie needs help.

2008-03-29 Thread Urooj Khan
i think assembly-plugin might work too On Sat, Mar 29, 2008 at 11:04 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > Have you looked at uberjar? > http://maven.apache.org/maven-1.x/plugins/uberjar/ > > On Sat, Mar 29, 2008 at 6:43 AM, Angelo Chen <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > >

Re: maven newbie needs help.

2008-03-29 Thread Mick Knutson
Have you looked at uberjar? http://maven.apache.org/maven-1.x/plugins/uberjar/ On Sat, Mar 29, 2008 at 6:43 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to do something like this: > > 1. create a jar file that contains all dependencies of my project > 2. create a jar file that

maven newbie needs help.

2008-03-29 Thread Angelo Chen
Hi, I'd like to do something like this: 1. create a jar file that contains all dependencies of my project 2. create a jar file that contains only project specific classes and other files. 3. I can run the jar file created in #2 with the lib jar file in #1. any idea how to do this with maven? th

Re: minijar

2008-03-29 Thread Angelo Chen
Hi, try assembly plugin and it works! Angelo Chen wrote: > > Hi, > > I have a project which I can run it with: > > mvn exec:java > > now I'd like to package it into a jar file with all its dependencies, so I > use minijar:ueberjar, it generates a jar file with those dependencies > including

Re: Site descriptor inheritance problem

2008-03-29 Thread Dave Syer
It looks like a bug they fixed in the site tools, but it isn't released yet. I got my site working properly using a "snapshots" profile just for the site goal: snapshots

Re: Site descriptor inheritance problem

2008-03-29 Thread rloesche
I'm seeing the same behaviour. It only happens when i run mvn site from the parent project. If i run mvn site for a single module it does not happen. Looks like a bug. -- View this message in context: http://www.nabble.com/Site-descriptor-inheritance-problem-tp16092571s177p16369995.html Sent fro

minijar

2008-03-29 Thread Angelo Chen
Hi, I have a project which I can run it with: mvn exec:java now I'd like to package it into a jar file with all its dependencies, so I use minijar:ueberjar, it generates a jar file with those dependencies including the junit381jar which i don't think it's needed, anyway, when it runs, I got thi

Re: Best practices for java version?

2008-03-29 Thread Graham Leggett
Richard Chamberlain wrote: I agree it's not ideal, but I'm open to suggestions as to how to guarantee code from a particular project works in a java 1.4 environment? Use Continuous Integration and a test suite. The CI server will ensure that your code is built automatically and regularly, an

default checksumPolicy is warn. Can we switch to fail ?

2008-03-29 Thread Jerome Lacoste
Hei, I think there's a problem somewhere in the artifact downloading process. And I also wonder why the default checksumPolicy is warn. Because of a flaky internet line, my local repository got badly corrupted and basic things didn't work at all in very strange ways. The cause: jars were incomple