Re: source modifications?

2005-10-10 Thread Wendy Smoak
From: "Brett Porter" <[EMAIL PROTECTED]> is the preferred way of doing from maven 1 in maven 2 to use filtering on the source files and compile the target? Or is there a different (better) method. I believe these would be achieved by profiles in m2. Is there an example with profiles anywhe

Re: Which Maven to use when starting a new project?

2005-10-10 Thread Wendell Beckwith
I also agree, m2 is orders better than m1 IMHO. I did start a new project and was brave (i.e. stupid) enough to use the alpha releases on it. Now that we are in the beta's I haven't had to use snapshot builds as the betas now cover 95+% of what I need and the rest I can wait until the next beta. Th

Re: Which Maven to use when starting a new project?

2005-10-10 Thread Wendy Smoak
From: "Gregory Gerard" <[EMAIL PROTECTED]> If you were to start a new project today (or refactor an existing build), which version of Maven would you choose? 1.1B* or Maven2 whatever-is-latest? Definitely Maven 2. From experience, the answer to quite a lot of m1 questions is, "That's fixed/

Re: "The system cannot find the file specified" error

2005-10-10 Thread Brett Porter
perhaps you don't have permissions to write to your maven installation directory? in which case, you can put it in ~/.maven/plugins manually instead. On 10/11/05, Happy Happier <[EMAIL PROTECTED]> wrote: > > Hi, > > When I do the following command: > > C:\>maven plugin:download -DgroupId=maven -D

Re: [m2] multiple assemblies

2005-10-10 Thread Brett Porter
You need to use and bind to a phase of the lifecycle (probably package). You can have multiple executions in the lifecycle, but only one from the command line (or it wouldn't know which config to assign to which). - Brett On 10/11/05, Brian E. Fox <[EMAIL PROTECTED]> wrote: > Hello, > I followe

Which Maven to use when starting a new project?

2005-10-10 Thread Gregory Gerard
Hi, I'm planning to break out a rather large project already in Ant into modules. I believe Maven to be the right tool. I have a few reservations but maintaining Ant is just from hell. If you were to start a new project today (or refactor an existing build), which version of Maven would you choos

RE: [m2] generate-sources plugins

2005-10-10 Thread Robert Biernat
I've written a similar plugin for generating corba stubs. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:51 AM To: Maven Users List Subject: Re: [m2] generate-sources plugins On 10/11/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > My

Re: [m2] surefire context classloader

2005-10-10 Thread John Fallows
On 10/11/05, Brett Porter <[EMAIL PROTECTED]> wrote: > On 10/11/05, John Fallows <[EMAIL PROTECTED]> wrote: > > On 10/10/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > > I think xerces needs to be endorsed if you want to use it as a parser, > > > and AFAIK that can't be done after the JVM has star

Re: [m2] surefire context classloader

2005-10-10 Thread Brett Porter
On 10/11/05, John Fallows <[EMAIL PROTECTED]> wrote: > On 10/10/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > I think xerces needs to be endorsed if you want to use it as a parser, > > and AFAIK that can't be done after the JVM has started up. So I think > > you need to have the surefire forking

Re: [m2] why copy test resources?

2005-10-10 Thread John Fallows
On 10/10/05, Brett Porter <[EMAIL PROTECTED]> wrote: > That wouldn't work with includes/excludes. I suppose it could be made to work, though. :-) > The next version of the plugin only copies new files which should > minimise the effect of this. Okay - I'll retest when that becomes available to s

Re: [m2] surefire context classloader

2005-10-10 Thread John Fallows
On 10/10/05, Brett Porter <[EMAIL PROTECTED]> wrote: > I think xerces needs to be endorsed if you want to use it as a parser, > and AFAIK that can't be done after the JVM has started up. So I think > you need to have the surefire forking ability to do this, and add a > feature to the plugin to enab

Re: [m2] why copy test resources?

2005-10-10 Thread Brett Porter
That wouldn't work with includes/excludes. The next version of the plugin only copies new files which should minimise the effect of this. - Brett On 10/11/05, John Fallows <[EMAIL PROTECTED]> wrote: > Could we avoid spending time to copy all the test resources to the > target directory during bu

Re: [m2] generate-sources plugins

2005-10-10 Thread Brett Porter
On 10/11/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > My only other thought was to generate the sources directly in the > target directory (create if necessary) and add that to the compiler > sources. That's how we do it in all the other source gen plugins (antlr, modello, clover). You can al

Re: [m2] surefire context classloader

2005-10-10 Thread Brett Porter
I think xerces needs to be endorsed if you want to use it as a parser, and AFAIK that can't be done after the JVM has started up. So I think you need to have the surefire forking ability to do this, and add a feature to the plugin to enabled passing in an endorsed dir. - Brett On 10/11/05, John F

Re: Error with deploy:deploy

2005-10-10 Thread Brett Porter
Oh, I see. I misunderstood. The deploy:deploy goal doesn't work in isolation, it requires the lifecycle (ie the packaging step has to have been completed to flag what file needs to be deployed). Run "m2 deploy" instead. On 10/11/05, dohadwala, moiz <[EMAIL PROTECTED]> wrote: > I am still not clea

RE: Compiling Multiple Source Trees

2005-10-10 Thread Jay H. Hartley
Alternatively, if the mock objects are intended for use in multiple projects, define them in their own project. They can then be deployed like any other project artifact and can be used in test cases for multiple other projects. When deploying the final application, exclude this jar in the same way

[m2] surefire context classloader

2005-10-10 Thread John Fallows
How is the thread context classloader determined for surefire test execution? I have a unit test that needs to parse an XML file, but it fails to initialize the SAXParserFactory, even though the following section is present in pom.xml... xerces xercesImpl 2.6.2 test

Re: dependency recommendations: jaac (how should m2 behave w/ a missing jar or POM with a licensed jar)

2005-10-10 Thread Brian Bonner
Pascal, I'm using m2. I ended up putting jacc from hibernate in my local repository. I'm pretty new to maven, but learning fast. I debated using the trade-offs of using m1 with jelly and the plethora of plugins (like cruisecontrol, scm, etc.) vs. going with m2 and the simpler pom.xml spec

[m2] generate-sources plugins

2005-10-10 Thread Ashley Williams
Just wondering if anyone can recommend an approach for writing a plugin that generates sources (in my case jaxb-xjc). In particular my first thought was to generate the source right there in the source tree, but this causes problems for the clean:clean goal that will never delete them. I al

[m2] why copy test resources?

2005-10-10 Thread John Fallows
Could we avoid spending time to copy all the test resources to the target directory during build if the resources are unfiltered? Instead, wouldn't it be sufficient to just put the src/test/resources directory on the test classpath? Kind Regards, John Fallows

Re: Compiling Multiple Source Trees

2005-10-10 Thread Arik Kfir
Are these classes used in your test cases? If so, I think the simplest solution would be to put them in "src/test/java". Test classes are not put in your final distribution/jars. On 10/11/05, Allison, Bob <[EMAIL PROTECTED]> wrote: > > I would like to set things up in a project to compile a set o

Re: dependency recommendations: jaac

2005-10-10 Thread Pascal Thivent
I should have ask wich version of maven you're using... The element doesn't seem to be supported in m2. I guess it would brake the transitive dependency mechanism because this feature relies on remote repositories, even for licenced jars. You need perhaps to add your jaac jar in your own repositor

Re: Maven 2.0 Multi-Project HowTo?

2005-10-10 Thread Arik Kfir
Please see the http://maven.apache.org/maven2/maven-model/maven.htmlreference - what you're after is the "" element. On 10/11/05, Russell, Mark <[EMAIL PROTECTED]> wrote: > > Thanks, that did help me get further. > > Next question, since I can't seem to find any documentation... > > How do you set

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Arik Kfir
I'm not fond of forking processes either, but when you gotta go, you gotta go ;-) But even if you fork - it doesn't mean you have to be OS dependent though. Ant executes (if specified to) many processes (JUnit, javac, etc) without being OS dependent. On 10/11/05, Ashley Williams <[EMAIL PROTECTED

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Ashley Williams
I didn't realize you were talking about Runtime.exec(). I did briefly consider it but then I didn't want to make my code OS dependent. Hobsons choice though! On 10 Oct 2005, at 23:02, Arik Kfir wrote: No - look at the javadocs for the java.lang.Runtime class. The "Runtime.exec" method execu

Problem using SCM plugin with starteam

2005-10-10 Thread Ballard, Ken
Has anyone used the SCM plugin with StarTeam? I'm using the format it expects "[username[:[EMAIL PROTECTED]:port:/projectName/[viewName/][folderHiearchy /]", but when I specify "scm:starteam" as the provider in my project.xml, I get this error: Root cause org.apache.maven.scm.manager.NoSuchScmProv

RE: Maven 2.0 Multi-Project HowTo?

2005-10-10 Thread Russell, Mark
Thanks, that did help me get further. Next question, since I can't seem to find any documentation... How do you setup the pom of a subproject that depends on another subproject. Example: fx_toolkit pom.xml <-- parent pom projectA pom.xml projectB <-- projectB depends on pr

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Arik Kfir
No - look at the javadocs for the java.lang.Runtime class. The "Runtime.exec" method executes *another process" - in your case another JVM I assume. Therefor, when that other JVM's jaxme executes System.exit - it exists the second JVM and the "waitFor" method finishes... Look at the javadocs of t

Compiling Multiple Source Trees

2005-10-10 Thread Allison, Bob
I would like to set things up in a project to compile a set of mock objects stored in src/mock/java into target/mock-classes. These classes should NOT be included into target/classes, since these classes are not part of the distribution artifact. They need to be assembled into a jar with a classi

Re: [m2] jsf-api pom without jar? (fixing javax depenedencies)

2005-10-10 Thread Arik Kfir
It's worth mentioning it in the Maven site as well ;-) On 10/10/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > thanks for the clarification. if I could annotate ibiblio with that info > it might clarify things for future folks. > > Brian > > > > Carlos Sanchez wrote: > > The servlet api available

m2:customizing war packaging

2005-10-10 Thread Alexandre Bairos
Hi. I have a strange use case due to a legacy structure. It´s a set o projects under a content management structure. Each project is composed of a content management application(CMA) and a content delivery application(CDA). The CMA app depends on CDA app(ie classes,web.xml,resources,etc) in order i

Re: [m2] jsf-api pom without jar? (fixing javax depenedencies)

2005-10-10 Thread Brian Bonner
thanks for the clarification. if I could annotate ibiblio with that info it might clarify things for future folks. Brian Carlos Sanchez wrote: The servlet api available in ibiblio is implemented by Tomcat, under apache licence, so it can be redistributed. The right groupId (using latest conv

RE: Running the test plugin

2005-10-10 Thread Arnaud HERITIER
Hi Peter, > > > Is there no way way you can do new FileInputStream( > "config1.xml" ) under Maven ? You can do something like : new FileInputStream( System.getProperty( "basedir" ) + "/src/test/" ); Arnaud - To unsu

Re: [m2] jsf-api pom without jar? (fixing javax depenedencies)

2005-10-10 Thread Trygve Laugstøl
On Mon, 2005-10-10 at 13:29 -0400, Brian Bonner wrote: > Check out: > > http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.3/ > and > http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.4/ > > Sure looks like .jars to me. > > I was just drafting up a post re: a similar topic: > >

Re: [m2] jsf-api pom without jar? (fixing javax depenedencies)

2005-10-10 Thread Carlos Sanchez
The servlet api available in ibiblio is implemented by Tomcat, under apache licence, so it can be redistributed. The right groupId (using latest conventions) is javax.servlet On 10/10/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > Check out: > > http://www.ibiblio.org/maven2/javax/servlet/servlet-a

Re: dependency recommendations: jaac

2005-10-10 Thread Brian Bonner
Pascal, thanks. That's good to know. I don't believe the URL was in the POM as it was being downloaded. It certainly didn't display it when m2 complained. Again for new folks, maybe this should be included in the ibiblio pom.xml files. In the case for jacc where hibernate is optionally depe

[m2] multiple assemblies

2005-10-10 Thread Brian E. Fox
Hello, I followed the instructions to define an assembly inside my pom like this: maven-assembly-plugin 2.0-beta-1 src/main/assembly/assembly.xml ${pom.artifactId}-${pom.version} target target

Re: dependency recommendations: jaac

2005-10-10 Thread Pascal Thivent
Hi, the element of a dependency should be used for this. According to the documentation, "this url will be provided to the user if the jar file cannot be downloaded from the central repository" (see http://maven.apache.org/reference/project-descriptor.html#class_Dependency). Cheers, On 10/10/05

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Ashley Williams
Unless I missed something, aren't we back to square one because the line that goes //execute the process still does a System.exit. AW On 10 Oct 2005, at 18:10, Arik Kfir wrote: I wouldn't copy the code - it will have to be maintained later on...which is tedious ;-) here's what I would do

servletapi and XOM

2005-10-10 Thread Brian Bonner
commons-jelly is one of the packages that is dependent on servlet-api/2.3 (but uses the groupid of servletapi instead of javax.servlet) which is confusing (probably not the right word) for a new user. -- Brian - To unsubscr

"The system cannot find the file specified" error

2005-10-10 Thread Happy Happier
Hi, When I do the following command: C:\>maven plugin:download -DgroupId=maven -DartifactId=maven-scm-plugin -Dversion=1.5 It gives me the following error: Failed to copy C:\Documents and Settings\jsong\.maven\repository\maven\plugins\m aven-scm-plugin-1.5.jar to C:\Program Files\Apache Soft

Re: dependency recommendations: jacc

2005-10-10 Thread Brian Bonner
btw, it's contained in the hibernate distribution. Is there a way of specifying in the pom.xml in ibiblio as part of these dependencies that a particular jar is only needed in specific situations? according to hibernate's lib\readme.txt jacc is an optional library at runtime. Brian Bria

RE: Error with deploy:deploy

2005-10-10 Thread dohadwala, moiz
I am still not clear on this. I am building a plugin but not generating any other files myself. The pom.xml specifies the maven-plugin packaging. The plugin installs fine in the local repo and I an use it using the fully qualfied groupId:artifactId syntax from the command line. So whhy is the dep

Re: [m2] jsf-api pom without jar?

2005-10-10 Thread Dave Brondsema
MyFaces has an API jar file which was created independently of Sun and should be free of licensing concerns. I'm guessing the other javax.* jar files out there (like servlet and portlet) are also clean implementations of just the API, from Apache Tomcat and Pluto probably. These should all be oka

dependency recommendations: jaac

2005-10-10 Thread Brian Bonner
Hi, I'm fairly new to maven. Is there a facility within maven that would suggest to a user where to download a dependency from if it's not included in ibiblio repository? I'm looking for javax.security jaac which hibernate 3.0.5 apparently has a dependency on. I believe it's buried in the

Re: [m2] dependency scope and web-application (war)

2005-10-10 Thread Kees de Kooter
You should put scope on the dependency level: xml-apis xml-apis 2.0.2 provided On 10/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, i have problems with my web-application and m2. It's an JSF-application > with myfaces. This implementation of JSF needs e.g. c

RE: [m2] dependency scope and web-application (war)

2005-10-10 Thread Mike Perham
Udo, please create a bug here: http://jira.codehaus.org/browse/MEV Looks like all the digester POMs do not contain scope elements. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 12:42 PM To: users@maven.apache.org Subject: [m2] depe

[m2] dependency scope and web-application (war)

2005-10-10 Thread udokrass
Hi, i have problems with my web-application and m2. It's an JSF-application with myfaces. This implementation of JSF needs e.g. commons-digester-1.5.jar in the WEB-INF\lib folder.So i use the m2-war-plugin and this pom.xml dependency entry: commons-digester commons-digester 1.5 runtime The pom

RE: missing versions in plugin poms?

2005-10-10 Thread Sasa.Djuric
i for sure did a m2-bootstrap.bat i got into the habit of working from SVN head since this was much better in the good old alpha days. ill give the official beta a try then, but am still curious why those versions are missing ;) -Original Message- From: Brett Porter [mailto:[EMAIL PROTE

Re: missing versions in plugin poms?

2005-10-10 Thread Brett Porter
You must bootstrap if you are building from SVN. However, there should be no need to build from SVN unless you are testing a specific fix or submitting patches. For general use, the last release will suffice. - Brett On 10/11/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > i cleaned my copy o

missing versions in plugin poms?

2005-10-10 Thread Sasa.Djuric
i cleaned my copy of maven-components and got a clean checkout from subversion. after that lots of integration tests fail now. and my builds dont work anymore coz maven-resources-plugin cannot resolve some versions. looking into the pom i see: org.apache.maven maven-project

Re: [m2] jsf-api pom without jar? (fixing javax depenedencies)

2005-10-10 Thread Brian Bonner
Check out: http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.3/ and http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.4/ Sure looks like .jars to me. I was just drafting up a post re: a similar topic: Several of the projects in ibiblio refer to the servlet api (2.3 and 2.4).

Re: [m2] jsf-api pom without jar?

2005-10-10 Thread Stephen Duncan
MyFaces jar files are in the repository: http://www.ibiblio.org/maven2/myfaces/myfaces-api/1.1.0/ -Stephen On 10/10/05, Dave Brondsema <[EMAIL PROTECTED]> wrote: > Thanks! Sounds like I should create an issue for adding the MyFaces api > jar. > > Yann Le Du wrote: > > SUN JARs are not in IBibl

Re: [m2] jsf-api pom without jar?

2005-10-10 Thread Arik Kfir
umm..not sure actually According to previous postings in this list, and the policy+license of Sun, I think they shouldn't. Perhaps someone could correct me on this? On 10/10/05, Brian Bonner <[EMAIL PROTECTED]> wrote: > > I'm curious why the javax.servlet 2.3 and 2.4 jars are both out there. > Is

Re: [m2] jsf-api pom without jar?

2005-10-10 Thread Brian Bonner
I'm curious why the javax.servlet 2.3 and 2.4 jars are both out there. Is it because they're API only? Brian Arik Kfir wrote: No you shouldn't ;-) The reason it is not there is because of licensing issues... Please read the following link: http://maven.apache.org/reference/standard-sun-jar

Re: [m2] jsf-api pom without jar?

2005-10-10 Thread Arik Kfir
No you shouldn't ;-) The reason it is not there is because of licensing issues... Please read the following link: http://maven.apache.org/reference/standard-sun-jar-names.html On 10/10/05, Dave Brondsema <[EMAIL PROTECTED]> wrote: > > Thanks! Sounds like I should create an issue for adding the M

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Arik Kfir
I wouldn't copy the code - it will have to be maintained later on...which is tedious ;-) here's what I would do (heavy snipping..): public void executeXjc(String targetPackage, String outputDirectory, String schema) throws Exception { // do stuff // //execute the process // Object[] args = getAr

Re: [m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-10 Thread Brett Porter
Have you done m2 -DupdateReleaseInfo=true [install|deploy] to ensure the release gets published with the new information? - Brett On 10/11/05, Yann Le Du <[EMAIL PROTECTED]> wrote: > Got it. But is the behaviour that I described normal ? If not, I can file in > JIRA. If yes, then I got a problem

[M2] Transitive Dependencies

2005-10-10 Thread Thomas Van de Velde
Hi, I am wondering how the default transitive dependencies work. I was surprised to see that when I add a dependency on a WAR in my EAR project, the WAR's dependency on an EJB was not autmatically added to the EAR. Is this normal behavior? Thanks for clarifying. Thomas

RE: Running the test plugin

2005-10-10 Thread Pilgrim, Peter
I found these variable setting in the documentation online. # We want to executive the unit test as separate JVM process maven.junit.fork = yes # We want to set up a specific directory for the JVM to run in ## maven.junit.fork = ${basedir}/src/resources maven.junit.fork = src/resources Put them

RE: Configuring pom.xml to use a local repo (rather than a remote http repo) (m2)

2005-10-10 Thread Russell, Mark
Ok I figured out what was happening. FYI ${basedir} doesn't seem to work (though it would be nice if I could get it to work). The problem comes down to platform specifics. Thus on Windows the URL looks like: file://..\..\fx_3p On unix/linux the URL should probably look like: (note haven't

RE: tag not valid?

2005-10-10 Thread Russell, Mark
Ok that makes sense. Figured I was probably doing something wrong but I hadn't seen any messages about this before. Thanks, MAR -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 9:27 AM To: Maven Users List Subject: RE: tag not valid? Yes,

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Ashley Williams
Thanks, glad to know I'm not the only one. On 10 Oct 2005, at 16:10, Jesse McConnell wrote: my wsdl2java plugin had the same problem.. I ended up finding the source for the main method for the wsdl2java and just wrote another version of it that didn't call the system.exit() that plugin in

RE: tag not valid?

2005-10-10 Thread Yann Le Du
Yes, there are still bugs in the site generation. For m2b3, is actually or (depending on what you need). e.g. : false true always [...] Regards, Yann --- "Russell, Mark" <[EMAIL PROTECTED]> a écrit : > Whenever I try to use in a pom.xml I get the > following: > >

[m2b3] Fails to find the RELEASE version of my plugin in my corp. repo WAS RE: [jira] Commented: (MNG-916) RELEASE gets selected as a version

2005-10-10 Thread Yann Le Du
Got it. But is the behaviour that I described normal ? If not, I can file in JIRA. If yes, then I got a problem because I tried a dozen confs to no avail. At the moment, I'm dealing with : pom.xml : ~ ~ ~ ~true ~always ~ ~ ~true ~always ~

tag not valid?

2005-10-10 Thread Russell, Mark
Whenever I try to use in a pom.xml I get the following: [INFO] Reason: Failed to parse model from file 'C:\DEV\MAVEN\fx_toolkit\pom.xml'. Error: 'Unrecognised tag: 'repositoryPolicy' (position: START_TAG seen ...\n ... @34:25) ' Was this tag maybe just renamed and the documentation on the maven.

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Jesse McConnell
my wsdl2java plugin had the same problem.. I ended up finding the source for the main method for the wsdl2java and just wrote another version of it that didn't call the system.exit() that plugin in mojo if you want to take a look jesse On 10/10/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > >

RE: [M1.0.2] SCM plugin

2005-10-10 Thread Ballard, Ken
Cool! Thanks for the reply, Brett. I'll post any other questions or comments on the SCM plugin mailing list. Regards, Ken -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 6:37 PM To: Maven Users List Subject: Re: [M1.0.2] SCM plugin We'd acc

Re: [m2] jsf-api pom without jar?

2005-10-10 Thread Dave Brondsema
Thanks! Sounds like I should create an issue for adding the MyFaces api jar. Yann Le Du wrote: > SUN JARs are not in IBiblio because of license issues. > > You must : > 1. Download yourself the jar > 2. Install it with : > m2 install:install-file -Dfile=/path/to/jsf-api.jar -DartifactId=javax.f

Re: [m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Kees de Kooter
Forget that. It does not work. On 10/10/05, Kees de Kooter <[EMAIL PROTECTED]> wrote: > Figured that out myself: set false for the part > that does not need replacements. > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

RE: [m2] jsf-api pom without jar?

2005-10-10 Thread Yann Le Du
SUN JARs are not in IBiblio because of license issues. You must : 1. Download yourself the jar 2. Install it with : m2 install:install-file -Dfile=/path/to/jsf-api.jar -DartifactId=javax.faces -DgroupId=jsf-api -Dversion=1.1 For more info, please see : http://maven.apache.org/reference/standard-s

Re: [m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Kees de Kooter
Figured that out myself: set false for the part that does not need replacements. On 10/10/05, Kees de Kooter <[EMAIL PROTECTED]> wrote: > Thanks Andrius. I am wondering if this is not a little inefficient, > filtering the entire dir (in my case containing some 180 files) while > I only need to do

Re: Réf. : Re: Réf. : [m2] looking for docs on FML

2005-10-10 Thread Brett Porter
Hi Dave, This is one difference to m1 in regards to FAQs. FML, like XDoc and APT is an input format and not automatically linked into the navigation (though I think it would be *great* if we could put that metadata into the doc to do this automatically like the reports eventually). Reports like J

[m2] jsf-api pom without jar?

2005-10-10 Thread Dave Brondsema
The repository has a jsf-api pom but no jar at http://www.ibiblio.org/maven2/javax/faces/jsf-api/1.1/ I guess I am supposed to specify whether to use the api jar provided by Sun's RI or by MyFaces. How do I do that? -- Dave Brondsema Software Developer Cornerstone University signature.asc Des

Re: Réf. : Re: Réf. : [m2] looking for docs on FML

2005-10-10 Thread David Sag
Hi fabrice, okay i did that but could not see how the faqs automatically end up in the site.  i have manually added a link to faq.html in my site.xml and now its there - but for some crazy reason i thought it would just appear automagically.  i guess not. i suppose i do the same for javadocs too

Réf. : Re: Réf. : [m2] looking for docs on FML

2005-10-10 Thread fabrice . belingard
The docs are not really m1 specific as the DTD hasn't changed. And if you want your FAQ to be generated, you need to place your FML files in the right place, that is by default: ${basedir}/src/site/fml Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Ashley Williams
I believe if you modified your policy file to deny System.exit, you would get a SecurityException, also each plugin user would have to amend their policy file. On 10 Oct 2005, at 14:39, Milos Kleint wrote: generally you can avoid System.exit by changing the security policy. Not sure how it's

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Ashley Williams
Hi Arik, On 10 Oct 2005, at 14:37, Arik Kfir wrote: If you activate the jaxme via "main", then I assume you could just as easily fork it to another process, no? Not sure how I do this. Here is my current method: public void executeXjc(String targetPackage, String outputDirectory, S

RE: Running the test plugin

2005-10-10 Thread Pilgrim, Peter
> -Original Message- > From: David Rabinowitz [mailto:[EMAIL PROTECTED] ==== > > Hi, > > > I would put the configuration files for the test inside src/test/java > (or src/test/conf if you want to be strict), and then they will be > copied to test-classes and will be in the classp

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Milos Kleint
generally you can avoid System.exit by changing the security policy. Not sure how it's relevant to running within maven. milos Ashley Williams wrote: I'm writing a plugin whose job it is to call Main.main in the jaxme jar file. However at the end of main, a call to System.exit() is made there

Re: [m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Arik Kfir
If you activate the jaxme via "main", then I assume you could just as easily fork it to another process, no? Otherwise, perhaps you could try going around its "main" and use its api (assuming it has one?) In Ant, tasks usually either fork it or use the underlying product's api...I don't think you

Re: Réf. : [m2] looking for docs on FML

2005-10-10 Thread David Sag
Cool thanks - now how do i get the faqs to be part of my site:site build? the docs you pointed me at are m1 specific.  i tried the obvious but that failed. Kind regards, Dave Sag   [EMAIL PROTECTED] wrote on 10/10/2005 03:17:57 PM: > > > > > David, > > please look at this page, you

[m2] Wrapping a tool main method in a a plugin

2005-10-10 Thread Ashley Williams
I'm writing a plugin whose job it is to call Main.main in the jaxme jar file. However at the end of main, a call to System.exit() is made therefore stopping my plugin in its tracks. How would I handle this situation? I would imagine anyone who writes custom Ant taga (not me) must come acros

Re: Running the test plugin

2005-10-10 Thread David Rabinowitz
Hi, I would put the configuration files for the test inside src/test/java (or src/test/conf if you want to be strict), and then they will be copied to test-classes and will be in the classpath. In order to perform the container initialization you can access them using getClass().getResources

Réf. : [m2] looking for docs on FML

2005-10-10 Thread fabrice . belingard
David, please look at this page, you will find everything you're looking for. http://maven.apache.org/reference/plugins/faq/index.html Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]

Running the test plugin

2005-10-10 Thread Pilgrim, Peter
Hi I am running the test plugin with ``maven test'' and I am getting a problem. I have unit test that open configuration files. e.g. to set up IoC container or specific mock connections to database or other J2EE resources. How can tell maven run the unit test from a specific folder? How can I sp

RE: Maven Firewall Proxy [SOLVED]

2005-10-10 Thread Pilgrim, Peter
Maven is working fine. Have you ever heard of ``${user.home}/buid.properties'' ? Rock me!! -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 > -Original Message- >

[m2] looking for docs on FML

2005-10-10 Thread David Sag
I have spent about an hour scouring thru google and the maven web looking for a reference for the FML language for defining faqs but still can't find it. could someone on this list please post a link to the FML spec? or some examples? Kind regards, Dave Sag  

RE: [m2] Per-User SCM Credentials

2005-10-10 Thread Allison, Bob
I'm not sure what I need to do to make this happen. I have done a CVS login and I can checkout/update from the command line without entering a password. I do not know how to set the URL to indicate anonymous access (and don't have control of the CVS server to make changes there). -Original M

Maven Firewall Proxy

2005-10-10 Thread Pilgrim, Peter
I am unable to get maven working though a firewall. I tried setting the proxy settings from the FAQ in my ${user.home}/build.properties maven.proxy.host = ocs-ca-http.csfb.net maven.proxy.port = 8080 And I ran maven, it simply cannot find www.ibiblio.org at all [DEBUG] Adding reference: maven

[10b1] SCM Problems

2005-10-10 Thread Allison, Bob
I am trying to build a Maven 1.0.2 project. The SCM URL in Continuum is: scm:cvs:pserver:[EMAIL PROTECTED]:/opt/cvsroot:module-1.1 Every time I try to build the project, I get the following: Exception: Cannot checkout sources. Exception while executing SCM command. password is required If I cd

Re: [m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Mark Hobson
On 10/10/05, Kees de Kooter <[EMAIL PROTECTED]> wrote: > Thanks Andrius. I am wondering if this is not a little inefficient, > filtering the entire dir (in my case containing some 180 files) while > I only need to do replacements in 2 files? See also http://jira.codehaus.org/browse/MNG-791. Mark

Re: [m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Kees de Kooter
Thanks Andrius. I am wondering if this is not a little inefficient, filtering the entire dir (in my case containing some 180 files) while I only need to do replacements in 2 files? Kees - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [M2] On duplicating dependency information in

2005-10-10 Thread Miks Rozenbergs
Brett Porter wrote: On 10/3/05, Miks Rozenbergs <[EMAIL PROTECTED]> wrote: And now comes the question -- do I understand correctly that Maven would not support such a model? That in Maven's case the dependant source project should be added to AND ALSO ALL Module POM's (IMHO I will need several

Re: [m2] Per-User SCM Credentials

2005-10-10 Thread Kenney Westerhof
On Mon, 10 Oct 2005, Allison, Bob wrote: Try to specify the userid in the settings.xml under . Use the cvs.host.name as the servername. It's normally just used for m2 deploy/site:deploy/release etc, but it might work. -- Kenney > Is there a way to place the username to be used in the SCM URL in

Re: [m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Andrius Karpavicius
Here is a solution: Filter the whole webapps directory into som temp directory, an overwrite war plugin description to package from temp directory instead. Andrius ${basedir}/src/filters/${filterFile} ../filtered-webapp-resources true

[m2] Filtering again: how to fit in with "package" phase?

2005-10-10 Thread Kees de Kooter
After some communication on this user list I got filtering figured out. I am now able to filter some config files (specifically web.xml) to a directory. I now want to fit this in with the standard packaging or war:war command. How can I do this? thanx, Kees de Kooter

[m2] Per-User SCM Credentials

2005-10-10 Thread Allison, Bob
Is there a way to place the username to be used in the SCM URL in the settings.xml file? I am trying to set up an alternate userid on my system to run Continuum so it can have its own local repository, but I need to supply my userid in the SCM URL. Our current URL looks like: scm:cvs:pserver:@

Re: [M2] Extensions, module and cycle

2005-10-10 Thread Gilles Scokart
Usually this happens when a plugin project uses itself to build itself. Might also be because you define a dependency to the plugin AND the plugin itself (using build/plugins/plugin). -- Kenney Indeed, I 'import' the module as a dependency AND as an extension. Is it the problem? Is there a

[m2] clover breaks when encountering assert statements

2005-10-10 Thread David Sag
Hi People, I have been trying to get the clover plug-into run but it breaks when it hits my assert statements.  Is there a way to tell clover I am using java1.4? I have logged an issue in Jira http://jira.codehaus.org/browse/MNG-1136 Kind regards, Dave Sag  

  1   2   >