JDK 1.5 java.lang.Enum Buid Failure using Maven 2.0.8

2007-12-08 Thread William Hoover
I am using JDK 1.5 / Maven 2.0.8 and am attempting mvn clean install on a simple project that contains the following snippet: ... public final Class> getDTOPhaseLifeCycleStrategy(){ return someEnumClass; } ... for(java.lang.Enum phase : getDTOPhaseLifeCycleStrategy().getEnumConstants

Re: generating-sources missing resources

2007-12-08 Thread Wayne Fay
I would go ahead and make your code generator a full-blown Maven plugin, as Nicolas assumed initially. I've done this myself a few times and it is pretty simple. Then use the @parameter to specify the location of your resources, and poof, you're done. Unless of course you have a good reason for not

Re: generating-sources missing resources

2007-12-08 Thread Kallin Nagelberg
Thank you, I've forwarded the discussion to the codehaus mailing list to see what their opinion is on the matter. On Dec 8, 2007 3:47 PM, nicolas de loof <[EMAIL PROTECTED]> wrote: > "enclosing project's dependencies as classpath" does not mean "enclosing > project classpath". > You have acces to

Re: generating-sources missing resources

2007-12-08 Thread nicolas de loof
"enclosing project's dependencies as classpath" does not mean "enclosing project classpath". You have acces to all declared dependencies BUT not to the project classes/ressources. (this may be a valuale enhancement to the plugin). Nico. 2007/12/8, Kallin Nagelberg <[EMAIL PROTECTED]>: > > Thanks

Re: generating-sources missing resources

2007-12-08 Thread Kallin Nagelberg
Thanks for the prompt reply. My code-generator (the java classes anyways) have been packaged as a regular jar artifact. I am using the Maven Exec Plug-In java goal, http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html. It states 'Executes the supplied java class in the current VM with the enc

Re: generating-sources missing resources

2007-12-08 Thread nicolas de loof
Tell me if I understand well : your code-generator has been packaged as a Mojo and is used in another project. It loads some config file from classpath to generate code. Maven plugins run in isolated classloaders, they have no acces to the current project classpath. First option (the maven way)

generating-sources missing resources

2007-12-08 Thread Kallin Nagelberg
I'm trying to convert the source-generation of a legacy system into a mavenized project. Basically I need to run a couple of java classes from an already existing dependency (during the generate-sources phase I assume) which should populate my source directories. The problem I'm having is that it s

Re: continuum 1.1 and guest user

2007-12-08 Thread Wendy Smoak
On Dec 6, 2007 3:22 PM, deckrider+mvn <[EMAIL PROTECTED]> wrote: > I would like to just have 1-2 admins and everyone else can be guest > for continuum 1.1. > > This seemed possible in continuum 1.0, but I must be missing some step > to know how to do it with continuum 1.1. After I log in the first

Re: flat multi module, package only from top module possible?

2007-12-08 Thread Wendy Smoak
On Dec 6, 2007 10:17 AM, Ido M. Tamir <[EMAIL PROTECTED]> wrote: > I created a flat multi module project as in > http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html > > I can not initiate the build from a freshly checked out project (no jars > from project in repository) from a child

Re: Release Plugin/SCM Scheme

2007-12-08 Thread Wendy Smoak
On Dec 8, 2007 7:52 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > Does really nobody have a clue on this question? Or has the mail been overseen > due to Santa Claus happenings?! ;) You didn't provide enough information to enable anyone to help. What url are you trying to use? What documentation

Re: Respository

2007-12-08 Thread nicolas de loof
I did it myself : my "server" is a windows share (with Write access restrictions) and is used with URL file:/My_corporate_windows_server/Maven_repository 2007/12/8, James D Carroll <[EMAIL PROTECTED]>: > > Is it possible to set up a repository on a network drive without some > kind of server

Respository

2007-12-08 Thread James D Carroll
Is it possible to set up a repository on a network drive without some kind of server acting as an intermediary? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: deploy jar with dependencies

2007-12-08 Thread James D Carroll
FatJar Sonar, Nishant wrote: Hi I need to build on a machine and deploy the jar on another machine. Now there are dependencies in my jar are to be supplied with this jar, as it is no the build machine the classpath. How should I create a single distributable comprising all the jars? Li

Craig Dickson is out of the office.

2007-12-08 Thread CDickson
I will be out of the office starting 11/26/2007 and will not return until 02/18/2008. I will respond to your message when I return.

Craig Dickson is out of the office.

2007-12-08 Thread CDickson
I will be out of the office starting 11/26/2007 and will not return until 02/18/2008. I will respond to your message when I return.

Re: Dependency question

2007-12-08 Thread nicolas de loof
As you said "When the application is deployed the jar is provided via the container". So simply try the "provided" scope ! provided dependencies are commonly used for java API (servlet, jta ...) taht are part of the JEE server runtime BUT required to compile and test. Nico. 2007/12/7, Jason Por

Re: Release Plugin/SCM Scheme

2007-12-08 Thread Marco Bakera
Does really nobody have a clue on this question? Or has the mail been overseen due to Santa Claus happenings?! ;) On Thursday 06 December 2007 10:35:59 you wrote: > Hey everybody, > > Mavens release plugin relies on the SCM element in the pom file for tagging > the release. I'm using Eclipse with

Maven 2.0.8 test resource loading

2007-12-08 Thread DI Kurt Edegger
Hi! I've read about the class path order changes in Maven 2.0.8 compared to earlier releases and this is causing some issues in my builds so I wonder if there is a best approach to this topic. I've a class needing a resource file loaded from the class path. This file must be a different one i

flat multi module, package only from top module possible?

2007-12-08 Thread Ido M. Tamir
Dear list, I created a flat multi module project as in http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html I can not initiate the build from a freshly checked out project (no jars from project in repository) from a child module. Then maven complains that the parent was not found. "R

Newbie Repository question

2007-12-08 Thread Davis, Darren (RBI-US)
I've been looking into using maven to compile and run automated unit tests for a couple of projects I'm working on. I see a lot of potential for making this process more efficient with Maven. One project is compiling against standard hibernate jars that came with Jboss (4.2.0) and the Microsof

continuum 1.1 and guest user

2007-12-08 Thread deckrider+mvn
I would like to just have 1-2 admins and everyone else can be guest for continuum 1.1. This seemed possible in continuum 1.0, but I must be missing some step to know how to do it with continuum 1.1. After I log in the first time to set up admin, I'm still not understanding how to log in so as to

Launch a plugin after a site:stage call

2007-12-08 Thread Gerald Reinhart
Hi, I generate my report site by the maven-site-plugin ( mvn site:stage -DstagingDirectory=...), I would like to launch a plugin after this call. How can i do It ? This configuration do not work because site is a plugin and not a phase: ... org.apache.maven.p

Dependency question

2007-12-08 Thread Jason Porter
Is there a way to specify a dependency to be available for compilation and test running, but not have it packaged up? We have a situation where some older code that has been converted to maven2 uses a library (SAP JCo if anyone is familiar with it) that must be there to compile and also to run.

deploy goal not copyiing resources to deployment repository

2007-12-08 Thread Jerrold E. Eads
I have a very basic pom Code: 4.0.0 enterra enterra-templates 0.0.1-SNAPSHOT Enterra Templates Coerced templates for the hibernate and spring cartridges jar enterra-plugin-snapshot-distro http://intranet.enterrasolutions.com/artifactory/enterra-plugins

Re: Optional Proxy Configuration

2007-12-08 Thread Marco Bakera
On Saturday 08 December 2007 13:40:25 Heinrich Nirschl wrote: > On Dec 8, 2007 12:58 PM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote: > > > On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > > > Hello everybody. > > > >

Re: release of maven jar plugin 2.2 in the near future ?

2007-12-08 Thread Jerome Lacoste
On Dec 6, 2007 1:44 AM, Jerome Lacoste <[EMAIL PROTECTED]> wrote: > Hei, > > The latest maven jar plugin release was in August 2006. Is there any plan > to make a release this year ? :) > > http://jira.codehaus.org/browse/MJAR/fixforversion/12878 > > I see 5 issues still targeted for 2.2 (among wh

Re: Optional Proxy Configuration

2007-12-08 Thread Heinrich Nirschl
On Dec 8, 2007 12:58 PM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote: > > On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > > Hello everybody. > > > > > > At work I need a proxy for maven to work while I don't need one a

Re: Optional Proxy Configuration

2007-12-08 Thread Marco Bakera
On Saturday 08 December 2007 08:35:07 Heinrich Nirschl wrote: > On Dec 8, 2007 8:13 AM, Marco Bakera <[EMAIL PROTECTED]> wrote: > > Hello everybody. > > > > At work I need a proxy for maven to work while I don't need one at home. > > So I have to change my settings.xml back and forth during work at

M2 maven-site-plugin site.xml target attribute no more working

2007-12-08 Thread Bruno Marti
In maven 1.x xdoc site documentation there could be the following for menus (navigation.xml): http://maven.apache.org/maven-1.x/"; target="_new" /> ... (creates a link to maven 1.x in a new window or tab) In maven 2.x site.xml this doesn't work anymore. The target attribute will be ign