Re: Javadoc Cross Reference
If it is a problem with the javadoc plugin, please send a fix back for us. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Alain Javier Guarnieri del Gesu <[EMAIL PROTECTED]> wrote on 20/11/2003 07:03:07 AM: > * Alain Javier Guarnieri del Gesu <[EMAIL PROTECTED]> [2003-11-19 01:56]: > > The Javadoc for my project does not contain cross-reference links to > > classes and interfaces in the same project. Source XRef works fine. > > > > Any ideas on where to look for clues? > > I set the value: > > maven.javadoc.links = file://${maven.docs.dest}/apidocs > > Cross-references are now generated. That's good. > > Cross-referecens are absolute and point to my local file system. > That's bad. > > It seems that when you feed the Javadoc Ant task a fileset, it will > not create local cross-references. You need to set the sourcepath > property of the Javadoc Ant task. > > Not sure how to fix. For now I'm just going to hack the source path > variable in the Javadoc plugin. > > Thoughts? > > -- > Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC 2.0 Jar
What's the or of that dependency? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "Derick Fernando" <[EMAIL PROTECTED]> wrote on 20/11/2003 06:56:26 AM: > Hi, > > I tried renaming it as well, no cigar. > I commented out the dependency for now, build worked fine which is all I > need for the moment. > > Thanks for your help, > Derick > > - Original Message - > From: "Emmanuel Venisse" <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, November 19, 2003 11:43 AM > Subject: Re: JDBC 2.0 Jar > > > > The jar name is jdbc-2.0.jar and not jdbc2_0-stdext.jar > > > > Emmanuel > > > > - Original Message - > > From: "Derick Fernando" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, November 19, 2003 7:19 PM > > Subject: JDBC 2.0 Jar > > > > > > > Hello, > > > > > > I'm trying to build middlegen and I get the following: > > > > > > | Attempting to download jdbc-2.0.jar. > > > | WARNING: Failed to download jdbc-2.0.jar. > > > | The build cannot continue because of the following unsatisfied > > dependency: > > > | > > > | jdbc-2.0.jar (try downloading from http://java.sun.com/products/jdbc/) > > > > > > I assume this is the JDBC 2.0 Optional extensions? I made a folder in > the > > > repository in called jdbc and put the jdbc2_0-stdext.jar in the jars > > folder. > > > I still get the same message. > > > > > > What am I missing? > > > > > > Thanks, > > > Derick > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Variable substitution in xdocs
>From memory the xdocs plugin will look in target/navigation.xml for a generated file in preference to ${maven.docs.src}/navigation.xml. multiproject uses this to pre-process the nav file. You could simply steal the stuff from multiproject. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Jeffrey Bonevich <[EMAIL PROTECTED]> wrote on 20/11/2003 11:12:41 AM: > I want to refer to pom specific values in my navigation.xml file (i.e. > current version, etc.). Can I do variable substitution in xdoc plugin? > Since it is velocity based I assume so, but I can find no > documentation that tells me what variables I can refer to. ${pom} and > ${reactorProject} do not seem to be among them. I have seen one example > that used a velocity forEach loop and refers to the variable > $reactorProjects. This was in the context of a multi-project; involved > setting an attribute on maven:reactor (postprocessing=true). I suspect > maybe I can break in here with maven.xml and add my own variables to > reference in my xdocs, but thought I would ask before rolling my own. > > What ever anyone can feed me, I will be happy to compile and put on the > wiki. > > jeff > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hibernate SchemaExport ???
Hello, Would you please to teach me how I can define goal for exporting schema ofHibernate mapping files??? Eric == If you know what you are doing, it is not called RESEARCH! == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PMD report exclusions
This is definitely a bug. Please raise it in Jira. I've got a fix ready to go. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ <[EMAIL PROTECTED]> wrote on 18/11/2003 02:59:28 AM: > > I'm producing a PMD report on my code, but I want to exclude some > classes that are generated by JavaCC, because it makes code analysers go > nuts. Just one parser produces two thousand violations... It seems that > a single exclusion pattern works fine, but as soon as I put in a comma > separated list all the exclusions are ignored. For example: > > maven.pmd.includes=com/foo/project/**/*.java > maven.pmd.excludes=com/foo/project/package/SomeParser*.java > > works fine, analysing everything except the SomeParser classes. However, > > > maven.pmd.includes=com/foo/project/**/*.java > maven.pmd.excludes=com/foo/project/package/SomeParser*.java, > com/foo/project/package/ADifferentParser*.java > > causes the analyser to match as though only maven.pmd.includes was > specified. > > Any ideas here, or should I head off to JIRA? > > Cheers, > > Nick > > --- > Research Engineer > Intelligent Systems Lab, BT Exact > Tel: (+44)1473 605 894 > Email: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jalopy and rt.jar
Hi Brian, Brian Burridge <[EMAIL PROTECTED]> wrote on 18/11/2003 03:36:52 AM: > When I run maven jalopy:format I get the error below. How do I tell it > where to find rt.jar? Not sure, but, > jalopy:format: > [jalopy] Jalopy Java Source Code Formatter 1.0b10 > [jalopy] Could not find the Java runtime library (rt.jar), import > optimization feature will be disabled. > > BUILD FAILED > File.. file:/home/bburridg/.maven/plugins/maven-jalopy-plugin-1.1/ > Element... ant:jalopy > Line.. 48 > Column 46 > java.io.IOException: Error in building > Total time: 13 seconds > Finished at: Mon Nov 17 11:33:50 GMT-05:00 2003 The above failure may have nothing to do with the rt.jar not being found. Can you run maven -e jalopy:format and send the stack trace that occurs? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: small error in plugin.jelly in maven-webserver-plugin-2.0-dev
Which version of Maven is this? 2.0-dev has been around a long time unfortunately, and my copy of plugin.jelly (v1.19) has the correct question mark. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Mylene Reiners <[EMAIL PROTECTED]> wrote on 18/11/2003 12:16:33 AM: > Hi, > > When I tried to run maven site:generate, I got an error stating: "a pseudo > attribute name is expected" (line 1, pos. 20) of plugin.jelly in > maven-webserver-plugin-2.0-dev. > Checking the plugin.jelly file, I found a missing question mark. > Line 1 is: > should be: > > Regards, > > Mylene > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Checkstyle problem
"Serkan GUNES" <[EMAIL PROTECTED]> wrote on 17/11/2003 07:56:01 PM: > Hello > > I have some problems about the maven checkstyle plugin. > I am using maven-checkstyle-plugin2.1. I have issued maven > checkstyle command at my project home directory. First I got a > warning like this. > [snip] > BUILD FAILED > File.. file:/C:/Documents and Settings/myuser/.maven/plugins/maven-checks > tyle-plugin-2.1/ > Element... ant:checkstyle > Line.. 127 > Column 65 > antlr/TokenStreamException > > Am I doing something wrong? > I will be very pleased if you help me. > Best Regards, It looks like you have an error reading the source code. Could you run maven -e checkstyle:report and post the stacktrace? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Variable substitution in xdocs
My experience has been that navigation.xml is run through velocity in a multiproject build (actually in the multiproject plugin), but not when simply running "maven site". It would be great to have navigation.xml run through velocity in both cases (for consistency's sake -- I pulled my hair out wondering why one navigation.xml was evaluating velocity tags and another one wasn't... :-) - Paul > -Original Message- > From: Jeffrey Bonevich [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 7:13 PM > To: Maven Users List > Subject: Variable substitution in xdocs > > I want to refer to pom specific values in my navigation.xml > file (i.e. > current version, etc.). Can I do variable substitution in > xdoc plugin? > Since it is velocity based I assume so, but I can find no > documentation that tells me what variables I can refer to. > ${pom} and ${reactorProject} do not seem to be among them. I > have seen one example that used a velocity forEach loop and > refers to the variable $reactorProjects. This was in the > context of a multi-project; involved setting an attribute on > maven:reactor (postprocessing=true). I suspect maybe I can > break in here with maven.xml and add my own variables to > reference in my xdocs, but thought I would ask before rolling my own. > > What ever anyone can feed me, I will be happy to compile and > put on the wiki. > > jeff > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Variable substitution in xdocs
I want to refer to pom specific values in my navigation.xml file (i.e. current version, etc.). Can I do variable substitution in xdoc plugin? Since it is velocity based I assume so, but I can find no documentation that tells me what variables I can refer to. ${pom} and ${reactorProject} do not seem to be among them. I have seen one example that used a velocity forEach loop and refers to the variable $reactorProjects. This was in the context of a multi-project; involved setting an attribute on maven:reactor (postprocessing=true). I suspect maybe I can break in here with maven.xml and add my own variables to reference in my xdocs, but thought I would ask before rolling my own. What ever anyone can feed me, I will be happy to compile and put on the wiki. jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploy-snapshot vs. war:deploy-snapshot and ear:deploy-snapsh ot
Hi Leif, (Sorry for CC'ing back to the list again, but they'll probably want to review this) Sounds like a good idea - perhaps a new protocol could be added to artifact (scpexe:// ?) that uses the mentioned parameters. Alternatively, it might be a branch of the existing protocl based on another property - however, I think the new protocol idea is better. Michal, do you have any current thoughts on the direction of artifact? Your changes would be welcome - just submit a patch to JIRA when you are done and I'll commit it and release a new version. Let me know if you want to bounce any more ideas around. Cheers, Brett -Original Message- From: Leif Nelson [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 November 2003 11:33 AM To: Brett Porter Subject: RE: deploy-snapshot vs. war:deploy-snapshot and ear:deploy-snapshot OK. I looked in the cvs repository, and it seems that the artifact plugin hasn't been touched in a while... (2-3 months). If I fixed it up to work with maven.ssh.executable and maven.scp.executable, would that help? Or, is this already on someone's task list.. Thanks again, --Leif At 11:26 AM 11/20/2003 +1100, you wrote: Your analysis is correct. Artifact needs to be more friendly to SSH, jar:deploy should use artifact. The reason it hasn't moved is because of the fact that artifact still needs more work. Cheers, Brett > -Original Message- > From: Leif Nelson [mailto:[EMAIL PROTECTED] > Sent: Thursday, 20 November 2003 11:19 AM > To: [EMAIL PROTECTED] > Subject: jar:deploy-snapshot vs. war:deploy-snapshot and > ear:deploy-snapshot > > > Hi all- > > I'm confused about deployments with maven rc1. I have the > jar deployment > stuff working perfectly. Setting these properties: > > maven.repo.central=myrepo.mycompany > maven.repo.central.directory=/www/maven-repo > maven.username=lnelson > maven.remote.group=users > maven.ssh.executable=plink > maven.scp.executable=pscp > > Well, I tried to start using ear & war deployment. And, it didn't > work. After some research, I found that these plugins use > the "artifact" > plugin to do their deployments. So, I added all these properties to > support this: > > maven.repo.list=myrepo > maven.repo.myrepo=scp://myrepo.mycompany > maven.repo.myrepo.directory=/www/maven-repo > maven.repo.myrepo.username=lnelson > maven.repo.myrepo.privatekey=/private/private-key > maven.repo.myrepo.passphrase=mypassphrase # YUCKY! Want to > use pageant! > maven.repo.myrepo.group=users > > But, It seems that these plugins do the SAME thing, but the > artifact plugin > won't work with putty and pageant. It requires me to provide > my private > key and passphrase (and it can't read the putty private keys). > > So, am I missing something here? How do I deploy wars & > ears using putty > (pscp) and pageant? That's the most convenient! It looks like the > artifact plugin uses JCraft ( > http://www.jcraft.com/jsch/index.html ) which > doesn't > support the idea of ssh-agents. > > Thanks, > > --Leif > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Leif Nelson [EMAIL PROTECTED] Lawrence Livermore National Laboratory (406) 863-9187 ICQ: 9389793 Yahoo: nelson9087 Fax: (406) 863-9030 AIM: nelson9087 Jabber: [EMAIL PROTECTED]
RE: deploy-snapshot vs. war:deploy-snapshot and ear:deploy-snapsh ot
Your analysis is correct. Artifact needs to be more friendly to SSH, jar:deploy should use artifact. The reason it hasn't moved is because of the fact that artifact still needs more work. Cheers, Brett > -Original Message- > From: Leif Nelson [mailto:[EMAIL PROTECTED] > Sent: Thursday, 20 November 2003 11:19 AM > To: [EMAIL PROTECTED] > Subject: jar:deploy-snapshot vs. war:deploy-snapshot and > ear:deploy-snapshot > > > Hi all- > > I'm confused about deployments with maven rc1. I have the > jar deployment > stuff working perfectly. Setting these properties: > > maven.repo.central=myrepo.mycompany > maven.repo.central.directory=/www/maven-repo > maven.username=lnelson > maven.remote.group=users > maven.ssh.executable=plink > maven.scp.executable=pscp > > Well, I tried to start using ear & war deployment. And, it didn't > work. After some research, I found that these plugins use > the "artifact" > plugin to do their deployments. So, I added all these properties to > support this: > > maven.repo.list=myrepo > maven.repo.myrepo=scp://myrepo.mycompany > maven.repo.myrepo.directory=/www/maven-repo > maven.repo.myrepo.username=lnelson > maven.repo.myrepo.privatekey=/private/private-key > maven.repo.myrepo.passphrase=mypassphrase # YUCKY! Want to > use pageant! > maven.repo.myrepo.group=users > > But, It seems that these plugins do the SAME thing, but the > artifact plugin > won't work with putty and pageant. It requires me to provide > my private > key and passphrase (and it can't read the putty private keys). > > So, am I missing something here? How do I deploy wars & > ears using putty > (pscp) and pageant? That's the most convenient! It looks like the > artifact plugin uses JCraft ( > http://www.jcraft.com/jsch/index.html ) which > doesn't > support the idea of ssh-agents. > > Thanks, > > --Leif > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
jar:deploy-snapshot vs. war:deploy-snapshot and ear:deploy-snapshot
Hi all- I'm confused about deployments with maven rc1. I have the jar deployment stuff working perfectly. Setting these properties: maven.repo.central=myrepo.mycompany maven.repo.central.directory=/www/maven-repo maven.username=lnelson maven.remote.group=users maven.ssh.executable=plink maven.scp.executable=pscp Well, I tried to start using ear & war deployment. And, it didn't work. After some research, I found that these plugins use the "artifact" plugin to do their deployments. So, I added all these properties to support this: maven.repo.list=myrepo maven.repo.myrepo=scp://myrepo.mycompany maven.repo.myrepo.directory=/www/maven-repo maven.repo.myrepo.username=lnelson maven.repo.myrepo.privatekey=/private/private-key maven.repo.myrepo.passphrase=mypassphrase # YUCKY! Want to use pageant! maven.repo.myrepo.group=users But, It seems that these plugins do the SAME thing, but the artifact plugin won't work with putty and pageant. It requires me to provide my private key and passphrase (and it can't read the putty private keys). So, am I missing something here? How do I deploy wars & ears using putty (pscp) and pageant? That's the most convenient! It looks like the artifact plugin uses JCraft ( http://www.jcraft.com/jsch/index.html ) which doesn't support the idea of ssh-agents. Thanks, --Leif - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Finding artifact dependencies
> Also, while we're talking about ibiblio, wouldn't it be nice > if we as project managers could retain control over our own > release cycles by deploying to a public webserver controlled > by us? Then, this dependency analyzer-on-steriods could > perform some kind of lookup to determine which site to > actually perform the download from...The accuracy of this > (specified in the POM, maybe) could be determined via test > code before the project's POM is allowed to be housed on the > maven server (whichever instance of that server it is). This sounds a bit chicken and the egg though. You put your POM on ibiblio and then it specifies where to find the JARs? But when you release, you release a new POM... Where do you put that? Back to the same problem. There's plenty of discussion surrounding repositories at the moment, but it comes down to making it easier to put your own artifacts somewhere everyone knows how to find. > I know that the core developers have been talking about this > for quite some time, and I have to say that I salivate merely > thinking about having this type of power at my fingertips. I > know, I know, someone will inevitably mention "What about > nesting depth of dependencies...couldn't high depth produce > an unbuildable project?" but I'd definitely rather work with > that danger (and manage it) than have to constantly cut and > paste dependency lists... Transitive dependencies are definitely on the list, but after Maven 1.0. I don't think cyclic dependencies are that big a worry as you mention here, but more the problem of knowing which dependencies are transitive and how. This comes down to types - some runtime deps of B (a dep of A) won't be needed by A. And what about if A does a war.bundle on B... Does it also bundle all of its dependencies? If not, which does it bundle, and which not? What about clashing versions? > > Like I said, they are working/thinking on it, and I think > they have something up their sleeves. But it never hurts to > throw a feature vote into the circle when the subject comes > up, I suppose! Maybe it'd be good to start putting something together on the wiki... Ideas, wishes, etc? - Brett
RE: Finding artifact dependencies
Also, while we're talking about ibiblio, wouldn't it be nice if we as project managers could retain control over our own release cycles by deploying to a public webserver controlled by us? Then, this dependency analyzer-on-steriods could perform some kind of lookup to determine which site to actually perform the download from...The accuracy of this (specified in the POM, maybe) could be determined via test code before the project's POM is allowed to be housed on the maven server (whichever instance of that server it is). I know that the core developers have been talking about this for quite some time, and I have to say that I salivate merely thinking about having this type of power at my fingertips. I know, I know, someone will inevitably mention "What about nesting depth of dependencies...couldn't high depth produce an unbuildable project?" but I'd definitely rather work with that danger (and manage it) than have to constantly cut and paste dependency lists... Like I said, they are working/thinking on it, and I think they have something up their sleeves. But it never hurts to throw a feature vote into the circle when the subject comes up, I suppose! :) Cheers, John On Wed, 2003-11-19 at 17:22, Sonnek, Ryan wrote: > I think that if this was a supported feature, there would be several > projects that would migrate to the maven distributed POM due to greater > exposure and easier implementation. You just can argue with ease of use! > If there are high profile projects that ignore the distribution of the POM, > they could easily be left by the wayside for a smaller project with easier > pluggability to come in. in fact, it could be made a requirement that to > get posted on ibiblio.org/maven, you MUST have a pom for the version? > > Ryan > > -Original Message- > From: Steve Garcia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 4:19 PM > To: 'Maven Users List' > Subject: RE: Finding artifact dependencies > > I (for one) would love to see a feature like this. This would as cool, > perhaps even cooler, than the existing artifact dependency feature Maven has > so elegantly employed. I presume that this would require that each > individual project deploy meta-data about what their dependencies are...wait > that is the POM! :-) Maybe distributing the POM, or a POM like structure, > with each artifact that is installed in the remote repository? That will > work with projects that use Maven to build, but it won't work nicely for non > Maven software. > > > How do I found out what the dependencies for a given artifact are? > > > > Example: I can place a dependency on struts-1.1 in > > project.xml, which will be fine for compilation, but to > > deploy an app using this I need a whole bunch of stuff that > > struts depends on, and I can't see any thing under struts on > > ibiblio that tells me what jars and versions I need. > > > > It seems the only way to find this out is to download struts > > from apache look at what's inside and fill in a bunch of > > dependencies. Would it not be sensible to have every artifact > > in ibiblio define its dependencies (within > > ibiblio) and have maven resolve the lot - else its just a big > > collection of versioned jars - So when the next version of > > struts is out I have to make sure I update every dependency > > in project.xml again. > > > > Is this the case? > > > > Cheers > > > > Kevin > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Finding artifact dependencies
I think that if this was a supported feature, there would be several projects that would migrate to the maven distributed POM due to greater exposure and easier implementation. You just can argue with ease of use! If there are high profile projects that ignore the distribution of the POM, they could easily be left by the wayside for a smaller project with easier pluggability to come in. in fact, it could be made a requirement that to get posted on ibiblio.org/maven, you MUST have a pom for the version? Ryan -Original Message- From: Steve Garcia [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 4:19 PM To: 'Maven Users List' Subject: RE: Finding artifact dependencies I (for one) would love to see a feature like this. This would as cool, perhaps even cooler, than the existing artifact dependency feature Maven has so elegantly employed. I presume that this would require that each individual project deploy meta-data about what their dependencies are...wait that is the POM! :-) Maybe distributing the POM, or a POM like structure, with each artifact that is installed in the remote repository? That will work with projects that use Maven to build, but it won't work nicely for non Maven software. > How do I found out what the dependencies for a given artifact are? > > Example: I can place a dependency on struts-1.1 in > project.xml, which will be fine for compilation, but to > deploy an app using this I need a whole bunch of stuff that > struts depends on, and I can't see any thing under struts on > ibiblio that tells me what jars and versions I need. > > It seems the only way to find this out is to download struts > from apache look at what's inside and fill in a bunch of > dependencies. Would it not be sensible to have every artifact > in ibiblio define its dependencies (within > ibiblio) and have maven resolve the lot - else its just a big > collection of versioned jars - So when the next version of > struts is out I have to make sure I update every dependency > in project.xml again. > > Is this the case? > > Cheers > > Kevin > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Finding artifact dependencies
I (for one) would love to see a feature like this. This would as cool, perhaps even cooler, than the existing artifact dependency feature Maven has so elegantly employed. I presume that this would require that each individual project deploy meta-data about what their dependencies are...wait that is the POM! :-) Maybe distributing the POM, or a POM like structure, with each artifact that is installed in the remote repository? That will work with projects that use Maven to build, but it won't work nicely for non Maven software. > How do I found out what the dependencies for a given artifact are? > > Example: I can place a dependency on struts-1.1 in > project.xml, which will be fine for compilation, but to > deploy an app using this I need a whole bunch of stuff that > struts depends on, and I can't see any thing under struts on > ibiblio that tells me what jars and versions I need. > > It seems the only way to find this out is to download struts > from apache look at what's inside and fill in a bunch of > dependencies. Would it not be sensible to have every artifact > in ibiblio define its dependencies (within > ibiblio) and have maven resolve the lot - else its just a big > collection of versioned jars - So when the next version of > struts is out I have to make sure I update every dependency > in project.xml again. > > Is this the case? > > Cheers > > Kevin > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion changelog
I have no idea about how to put the patch into Jira, it seems I would need to log in but I have no login So... here is a patch... through mail ;-) If anyone wants to put it into Jira please do! *** SvnChangeLogParser.java Wed Nov 19 19:32:53 2003 --- /Projekt/maven/src/plugins-build/changelog/src/main/org/apache/maven/svnlib/ SvnChangeLogParser.java Wed Nov 19 19:25:56 2003 *** *** 120,126 /** The pattern used to match svn header lines */ private static final String pattern = ! "^rev (\\d+):\\s+" + // revision number "(\\w+)\\s+\\|\\s+" +// author username "(\\d+-\\d+-\\d+ " + // date 2002-08-24 "\\d+:\\d+:\\d+) " + // time 16:01:00 --- 120,126 /** The pattern used to match svn header lines */ private static final String pattern = ! "^r(\\d+) \\|\\s+" + // revision number "(\\w+)\\s+\\|\\s+" +// author username "(\\d+-\\d+-\\d+ " + // date 2002-08-24 "\\d+:\\d+:\\d+) " + // time 16:01:00 Regards /Mikael Emmanuel Venisse wrote: Could put a patch in Jira? We apply it asap. Thanks Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Javadoc Cross Reference
* Alain Javier Guarnieri del Gesu <[EMAIL PROTECTED]> [2003-11-19 01:56]: > The Javadoc for my project does not contain cross-reference links to > classes and interfaces in the same project. Source XRef works fine. > > Any ideas on where to look for clues? I set the value: maven.javadoc.links = file://${maven.docs.dest}/apidocs Cross-references are now generated. That's good. Cross-referecens are absolute and point to my local file system. That's bad. It seems that when you feed the Javadoc Ant task a fileset, it will not create local cross-references. You need to set the sourcepath property of the Javadoc Ant task. Not sure how to fix. For now I'm just going to hack the source path variable in the Javadoc plugin. Thoughts? -- Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC 2.0 Jar
Hi, I tried renaming it as well, no cigar. I commented out the dependency for now, build worked fine which is all I need for the moment. Thanks for your help, Derick - Original Message - From: "Emmanuel Venisse" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 11:43 AM Subject: Re: JDBC 2.0 Jar > The jar name is jdbc-2.0.jar and not jdbc2_0-stdext.jar > > Emmanuel > > - Original Message - > From: "Derick Fernando" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 19, 2003 7:19 PM > Subject: JDBC 2.0 Jar > > > > Hello, > > > > I'm trying to build middlegen and I get the following: > > > > | Attempting to download jdbc-2.0.jar. > > | WARNING: Failed to download jdbc-2.0.jar. > > | The build cannot continue because of the following unsatisfied > dependency: > > | > > | jdbc-2.0.jar (try downloading from http://java.sun.com/products/jdbc/) > > > > I assume this is the JDBC 2.0 Optional extensions? I made a folder in the > > repository in called jdbc and put the jdbc2_0-stdext.jar in the jars > folder. > > I still get the same message. > > > > What am I missing? > > > > Thanks, > > Derick > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion changelog
Could put a patch in Jira? We apply it asap. Thanks Emmanuel - Original Message - From: "Mikael Lundgren" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 7:39 PM Subject: Re: Subversion changelog > Well, > > that was it... after some experimenting I now get a working changelog in > maven! One line of code had to change... > > Here is the original code in > org/apache/maven/svnlib/Attic/SvnChangeLogParser.java: > > /** The pattern used to match svn header lines */ > private static final String pattern = > "^rev (\\d+):\\s+" + // revision number > "(\\w+)\\s+\\|\\s+" +// author username > "(\\d+-\\d+-\\d+ " + // date 2002-08-24 > "\\d+:\\d+:\\d+) " + // time 16:01:00 > "([\\-+])(\\d\\d)(\\d\\d)"; // gmt offset -0400 > > and here is the code I put in: > > /** The pattern used to match svn header lines */ > private static final String pattern = > "^r(\\d+) \\|\\s+" + // revision number > "(\\w+)\\s+\\|\\s+" +// author username > "(\\d+-\\d+-\\d+ " + // date 2002-08-24 > "\\d+:\\d+:\\d+) " + // time 16:01:00 > "([\\-+])(\\d\\d)(\\d\\d)"; // gmt offset -0400 > > Note the line with the comment "revision number" which is the only > change to the plugin code. > > Now I made a "dirty" plugin... I checked out a changelog-plugin from > cvs, made my changes, ran the tests (btw i changed the test file as well > to look like a current SubVersion log file), created a jar, fooled maven > to take my version of the plugin and now it works. > > Regards > /Mikael Lundgren > > Mikael Lundgren wrote: > > > Hmmm, > > > > it seems that subversion 0.33.0 changed the format of the data created > > by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES > > the following line: > > > > * 'svn log' output headers now say "r | " instead of "rev : " > > > > Could this be the problem? I checked the sources for the maven changelog > > plugin and the regular exception seems to expect "rev " and not > > "r"... > > > > Now this would seem trivial to change in the java source code for the > > plugin, unfortunately I have no idea about how to actually create my own > > version of the changelog plugin nor how to tell maven how to use a > > different version of the plugin... surely this is documented somewhere? > > > > Regards > > > > /Mikael Lundgren > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC 2.0 Jar
On Wed, 2003-11-19 at 13:19, Derick Fernando wrote: > Hello, > > I'm trying to build middlegen and I get the following: > > | Attempting to download jdbc-2.0.jar. > | WARNING: Failed to download jdbc-2.0.jar. > | The build cannot continue because of the following unsatisfied dependency: > | > | jdbc-2.0.jar (try downloading from http://java.sun.com/products/jdbc/) > > I assume this is the JDBC 2.0 Optional extensions? I made a folder in the > repository in called jdbc and put the jdbc2_0-stdext.jar in the jars folder. > I still get the same message. > > What am I missing? Due to Sun licensing we cannot put the jdbc JAR, along with lots of other Sun JARs, in the repository. You have to download them manually. > Thanks, > Derick > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC 2.0 Jar
The jar name is jdbc-2.0.jar and not jdbc2_0-stdext.jar Emmanuel - Original Message - From: "Derick Fernando" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 7:19 PM Subject: JDBC 2.0 Jar > Hello, > > I'm trying to build middlegen and I get the following: > > | Attempting to download jdbc-2.0.jar. > | WARNING: Failed to download jdbc-2.0.jar. > | The build cannot continue because of the following unsatisfied dependency: > | > | jdbc-2.0.jar (try downloading from http://java.sun.com/products/jdbc/) > > I assume this is the JDBC 2.0 Optional extensions? I made a folder in the > repository in called jdbc and put the jdbc2_0-stdext.jar in the jars folder. > I still get the same message. > > What am I missing? > > Thanks, > Derick > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion changelog
Well, that was it... after some experimenting I now get a working changelog in maven! One line of code had to change... Here is the original code in org/apache/maven/svnlib/Attic/SvnChangeLogParser.java: /** The pattern used to match svn header lines */ private static final String pattern = "^rev (\\d+):\\s+" + // revision number "(\\w+)\\s+\\|\\s+" +// author username "(\\d+-\\d+-\\d+ " + // date 2002-08-24 "\\d+:\\d+:\\d+) " + // time 16:01:00 "([\\-+])(\\d\\d)(\\d\\d)"; // gmt offset -0400 and here is the code I put in: /** The pattern used to match svn header lines */ private static final String pattern = "^r(\\d+) \\|\\s+" + // revision number "(\\w+)\\s+\\|\\s+" +// author username "(\\d+-\\d+-\\d+ " + // date 2002-08-24 "\\d+:\\d+:\\d+) " + // time 16:01:00 "([\\-+])(\\d\\d)(\\d\\d)"; // gmt offset -0400 Note the line with the comment "revision number" which is the only change to the plugin code. Now I made a "dirty" plugin... I checked out a changelog-plugin from cvs, made my changes, ran the tests (btw i changed the test file as well to look like a current SubVersion log file), created a jar, fooled maven to take my version of the plugin and now it works. Regards /Mikael Lundgren Mikael Lundgren wrote: Hmmm, it seems that subversion 0.33.0 changed the format of the data created by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES the following line: * 'svn log' output headers now say "r | " instead of "rev : " Could this be the problem? I checked the sources for the maven changelog plugin and the regular exception seems to expect "rev " and not "r"... Now this would seem trivial to change in the java source code for the plugin, unfortunately I have no idea about how to actually create my own version of the changelog plugin nor how to tell maven how to use a different version of the plugin... surely this is documented somewhere? Regards /Mikael Lundgren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Translate Maven in French
You'll need to use the Jelly fmt tag library to separate text messages from report logic. -Vincent > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 19 November 2003 17:40 > To: Maven Users List > Subject: Re: Translate Maven in French > > Excellente idee ! > Si tu veux un coup de main... > didier > > Selon Charles-Alexandre Sabourdin <[EMAIL PROTECTED]>: > > > Hi, > > I am willing to translate the maven report into french but I not know > how > > to > > do so, does any-one have a suggestion ? > > > > > > > > > > -- > > Charles-Alexandre > > SABOURDIN > > - > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Translate Maven in French
Excellente idee ! Si tu veux un coup de main... didier Selon Charles-Alexandre Sabourdin <[EMAIL PROTECTED]>: > Hi, > I am willing to translate the maven report into french but I not know how > to > do so, does any-one have a suggestion ? > > > > > -- > Charles-Alexandre > SABOURDIN > - > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven: Getting a Code Line Count
You can also use the clover plugin... In addition to providing test code coverage it also gives LOC and NCLOC -Vincent > -Original Message- > From: O'Fallon, Paul (MAN-Corporate) [mailto:[EMAIL PROTECTED] > Sent: 19 November 2003 18:38 > To: Maven Users List > Subject: RE: Maven: Getting a Code Line Count > > There is maven plugin for JavaNCSS: > http://maven-plugins.sourceforge.net/maven-javancss-plugin/index.html > > - Paul > > > -Original Message- > > From: Brian Burridge [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 19, 2003 12:02 PM > > To: Maven Users List > > Subject: Maven: Getting a Code Line Count > > > > Is there any plugins, or any way in Maven, to get a count of > > all the lines of code? (the actual lines of code as opposed > > to whitespace). > > > > Brian > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Finding artifact dependencies
How do I found out what the dependencies for a given artifact are? Example: I can place a dependency on struts-1.1 in project.xml, which will be fine for compilation, but to deploy an app using this I need a whole bunch of stuff that struts depends on, and I can't see any thing under struts on ibiblio that tells me what jars and versions I need. It seems the only way to find this out is to download struts from apache look at what's inside and fill in a bunch of dependencies. Would it not be sensible to have every artifact in ibiblio define its dependencies (within ibiblio) and have maven resolve the lot - else its just a big collection of versioned jars - So when the next version of struts is out I have to make sure I update every dependency in project.xml again. Is this the case? Cheers Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDBC 2.0 Jar
Hello, I'm trying to build middlegen and I get the following: | Attempting to download jdbc-2.0.jar. | WARNING: Failed to download jdbc-2.0.jar. | The build cannot continue because of the following unsatisfied dependency: | | jdbc-2.0.jar (try downloading from http://java.sun.com/products/jdbc/) I assume this is the JDBC 2.0 Optional extensions? I made a folder in the repository in called jdbc and put the jdbc2_0-stdext.jar in the jars folder. I still get the same message. What am I missing? Thanks, Derick - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to use Hibernate in Maven?
XDoclet does have a hibernate javadoc tag library to easily make the Hibernate O/R mapping files. > -Original Message- > From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 2:59 AM > To: Maven Users List; Eric Chow > Subject: Re: how to use Hibernate in Maven? > > > > --- Eric Chow <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Thank you for your reply. > > I am now can use Hibernate in Maven now. > > Another question, how can I generate > > "hibernate.cfg.xml" with Maven ??? > > Does xdoclet generates this? ( never used it to do > that ) If yes - just activate subtask. > > I use property bases configuration + DAO class... > Handmade :) > > regards, > > = > [ Konstantin Pribluda ( ko5tik ) ] > Zu Verstärkung meines Teams suche ich ab Sofort einen > Softwareentwickler[In] für die Festanstellung. > Arbeitsort: Mainz > Skills: Programieren, Kentnisse in OpenSource-Bereich > [ http://www.pribluda.de ] > > __ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion changelog
Hmmm, it seems that subversion 0.33.0 changed the format of the data created by running svn log... from http://svn.collab.net/repos/svn/trunk/CHANGES the following line: * 'svn log' output headers now say "r | " instead of "rev : " Could this be the problem? I checked the sources for the maven changelog plugin and the regular exception seems to expect "rev " and not "r"... Now this would seem trivial to change in the java source code for the plugin, unfortunately I have no idea about how to actually create my own version of the changelog plugin nor how to tell maven how to use a different version of the plugin... surely this is documented somewhere? Regards /Mikael Lundgren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven: Getting a Code Line Count
There is maven plugin for JavaNCSS: http://maven-plugins.sourceforge.net/maven-javancss-plugin/index.html - Paul > -Original Message- > From: Brian Burridge [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 12:02 PM > To: Maven Users List > Subject: Maven: Getting a Code Line Count > > Is there any plugins, or any way in Maven, to get a count of > all the lines of code? (the actual lines of code as opposed > to whitespace). > > Brian > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven: Getting a Code Line Count
Is there any plugins, or any way in Maven, to get a count of all the lines of code? (the actual lines of code as opposed to whitespace). Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PMD not recognizing property settings when added as a report in project.xml
I have added 'maven.pmd.enable=false' to my project.properties (just to test picking up the properties) and have added the pmd plugin as a report in project.xml. However pmd still runs. But, when I run 'maven pmd' then it does look at the property I set, and does not run (and I can toggle it back and forth via that property). Brian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Translate Maven in French
Hi / Salut, You should translate all jsl files. Emmanuel - Original Message - From: "Charles-Alexandre Sabourdin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 4:31 PM Subject: Translate Maven in French > Hi, > I am willing to translate the maven report into french but I not know how to > do so, does any-one have a suggestion ? > > > > > -- > Charles-Alexandre > SABOURDIN > - > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating another checkstyle target
I wish I knew - I've been struggling with the same problem. Many of the plugins only seem to process the src directory unfortunately - e.g. javadoc & checkstyle. It's not a very satisfactory solution, but I've created a separate POM which simply declares my test code to be the source code. I know it's a bit clumsy, but you could factor out the common bits of the two POMs into a POM which you extend. This would at least cut down on some of the work in maintaining two POMs. John Taylor - Original Message - From: "Kevin Pearcey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 10:23 AM Subject: Creating another checkstyle target > How do I create an additional checkstyle target? > > Currently it does not appear that checkstyle checks any of my test code > classes, I've pointed this out before but no one seems to care about the > quality of test code, just that the tests pass. In our projects we want to > produce all the usual checkstyle reports including coverage of the test > code, however we suspect that this will want a separate checkstyle > configuration as the rules will be slightly less strict. > > Is this simple to achieve? > > Cheers > > Kevin Pearcey > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: external entity problem
Thanks.. it worked when I used the value: file:../suites-master/builder-depend.xml Shawn D. -Original Message- From: Paul Libbrecht [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 19, 2003 9:19 AM To: Maven Users List Subject: Re: external entity problem You might be hitting the same problem as I had: the InputSource is not appropriately set with the setSystemId hence the parser expects that the file being parsed is in the local directory or that it is an absolute URL... Also try with file://../suites maybe but I don't think it should be the case. Paul On Mercredi, nove 19, 2003, at 15:15 Europe/Paris, Dahlen Jr, Shawn M wrote: > Hello - > > I'm having an issue with an external entity declared in one of my > maven projects. The external > entity is relative to the current project, yet it seems that the URI > is expanded and it believes my > drive letter is a host that cannot be found. Below is the reference: > > "../suites-master/builder-depend.xml"> > ]> > > Is there an issue with the xml parser? What is the best solution to > overcome this probem? > I noticed that an individual posted a message about this issue but he > received no replies, and > I can't find any additional info. Any help would be appreciated. > Below is the error when I run maven: > > java.net.UnknownHostException: i > at java.net.InetAddress.getAllByName0(InetAddress.java:566) > at java.net.InetAddress.getAllByName0(InetAddress.java:535) > at java.net.InetAddress.getByName(InetAddress.java:444) > at java.net.Socket.(Socket.java:95) > at sun.net.NetworkClient.doConnect(NetworkClient.java:45) > at sun.net.NetworkClient.openServer(NetworkClient.java:33) > at sun.net.ftp.FtpClient.openServer(FtpClient.java:262) > at sun.net.ftp.FtpClient.(FtpClient.java:376) > at > sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja > va:72) > at > sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec > tion.java:91) > at java.net.URL.openStream(URL.java:793) > at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > Source) > at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityRefer > ence(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent > Dispatcher.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un > known Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown > Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > at > org.apache.commons.digester.Digester.parse(Digester.java:1527) > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:199) > at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) > at > org.apache.maven.MavenSession.initializeRootProject(MavenSession.java > :324) > at > org.apache.maven.MavenSession.initialize(MavenSession.java:234) > at org.apache.maven.cli.App.doMain(App.java:514) > at org.apache.maven.cli.App.main(App.java:1088) > at java.lang.reflect.Method.invoke(Native Method) > at com.werken.forehead.Forehead.run(Forehead.java:543) > at com.werken.forehead.Forehead.main(Forehead.java:573) > > Thanks, > > Shawn Dahlen > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Translate Maven in French
Hi, I am willing to translate the maven report into french but I not know how to do so, does any-one have a suggestion ? -- Charles-Alexandre SABOURDIN - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion changelog
[EMAIL PROTECTED] wrote: Heiko Kundlacz <[EMAIL PROTECTED]> wrote on 19/11/2003 07:12:28 AM: As I know Subversion isn't support. If you want to use subversion you should write your own plugin based on: http://jsvn.alternatecomputing.com/ They provide an ant task you can implement. I tried out the checkout command and it works. Heiko Mikael Lundgren wrote: FWIW, SubVersion is supported by the scm reporting plugins. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Is Subversion fully supported by the scm now? Heiko -- -- Heiko Kundlacz | MailTo: [EMAIL PROTECTED] Qnamic AG| Tel: +41 62 209 7056 Fabrikstr. 10| Natel:+41 78 861 4006 4614 Haegendorf | Fax: +41 62 209 7044 Switzerland | Homepage: http://www.qnamic.com -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: external entity problem
You might be hitting the same problem as I had: the InputSource is not appropriately set with the setSystemId hence the parser expects that the file being parsed is in the local directory or that it is an absolute URL... Also try with file://../suites maybe but I don't think it should be the case. Paul On Mercredi, nove 19, 2003, at 15:15 Europe/Paris, Dahlen Jr, Shawn M wrote: Hello - I'm having an issue with an external entity declared in one of my maven projects. The external entity is relative to the current project, yet it seems that the URI is expanded and it believes my drive letter is a host that cannot be found. Below is the reference: ]> Is there an issue with the xml parser? What is the best solution to overcome this probem? I noticed that an individual posted a message about this issue but he received no replies, and I can't find any additional info. Any help would be appreciated. Below is the error when I run maven: java.net.UnknownHostException: i at java.net.InetAddress.getAllByName0(InetAddress.java:566) at java.net.InetAddress.getAllByName0(InetAddress.java:535) at java.net.InetAddress.getByName(InetAddress.java:444) at java.net.Socket.(Socket.java:95) at sun.net.NetworkClient.doConnect(NetworkClient.java:45) at sun.net.NetworkClient.openServer(NetworkClient.java:33) at sun.net.ftp.FtpClient.openServer(FtpClient.java:262) at sun.net.ftp.FtpClient.(FtpClient.java:376) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja va:72) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec tion.java:91) at java.net.URL.openStream(URL.java:793) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityRefer ence(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1527) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:199) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) Thanks, Shawn Dahlen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
external entity problem
Hello - I'm having an issue with an external entity declared in one of my maven projects. The external entity is relative to the current project, yet it seems that the URI is expanded and it believes my drive letter is a host that cannot be found. Below is the reference: ]> Is there an issue with the xml parser? What is the best solution to overcome this probem? I noticed that an individual posted a message about this issue but he received no replies, and I can't find any additional info. Any help would be appreciated. Below is the error when I run maven: java.net.UnknownHostException: i at java.net.InetAddress.getAllByName0(InetAddress.java:566) at java.net.InetAddress.getAllByName0(InetAddress.java:535) at java.net.InetAddress.getByName(InetAddress.java:444) at java.net.Socket.(Socket.java:95) at sun.net.NetworkClient.doConnect(NetworkClient.java:45) at sun.net.NetworkClient.openServer(NetworkClient.java:33) at sun.net.ftp.FtpClient.openServer(FtpClient.java:262) at sun.net.ftp.FtpClient.(FtpClient.java:376) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.ja va:72) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnec tion.java:91) at java.net.URL.openStream(URL.java:793) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEntityRefer ence(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1527) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:199) at org.apache.maven.MavenUtils.getProject(MavenUtils.java:160) at org.apache.maven.MavenSession.initializeRootProject(MavenSession.java :324) at org.apache.maven.MavenSession.initialize(MavenSession.java:234) at org.apache.maven.cli.App.doMain(App.java:514) at org.apache.maven.cli.App.main(App.java:1088) at java.lang.reflect.Method.invoke(Native Method) at com.werken.forehead.Forehead.run(Forehead.java:543) at com.werken.forehead.Forehead.main(Forehead.java:573) Thanks, Shawn Dahlen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: too many files open; goal maven-jxr-plugin:report
Ok, apparently, we don't close the stream after parsing files. I don't have time for the moment for look at it. Perhaps you can try to write a patch for JavaFileImpl in the jxr plugin that close the stream. Emmanuel - Original Message - From: "Robert McKinnon" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 2:53 PM Subject: RE: too many files open; goal maven-jxr-plugin:report > java.io.FileNotFoundException: > /export/home/mckinnon/cvs/brm/src/com/alabanza/brm/products/SellRelationship > TypeRemote.java (Too many open files) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.(FileInputStream.java:106) > at java.io.FileInputStream.(FileInputStream.java:66) > at java.io.FileReader.(FileReader.java:41) > at > org.apache.maven.jxr.pacman.JavaFileImpl.getTokenizer(JavaFileImpl.java:160) > at org.apache.maven.jxr.pacman.JavaFileImpl.parse(JavaFileImpl.java:96) > at org.apache.maven.jxr.pacman.JavaFileImpl.(JavaFileImpl.java:85) > at org.apache.maven.jxr.pacman.FileManager.getFile(FileManager.java:93) > at > org.apache.maven.jxr.pacman.PackageManager.parse(PackageManager.java:133) > at > org.apache.maven.jxr.pacman.PackageManager.process(PackageManager.java:171) > at org.apache.maven.jxr.JxrBean.xref(JxrBean.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230) > at > org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145) > at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) > at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) > at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) > at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) > at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) > at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) > at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) > at com.werken.werkz.Goal.fire(Goal.java:639) > at com.werken.werkz.Goal.attain(Goal.java:575) > at > org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) > at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) > at org.apache.maven.cli.App.doMain(App.java:543) > at org.apache.maven.cli.App.main(App.java:1109) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at com.werken.forehead.Forehead.run(Forehead.java:551) > at com.werken.forehead.Forehead.main(Forehead.java:581) > > > -Original Message- > > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 19, 2003 8:40 AM > > To: Maven Users List > > Subject: Re: too many files open; goal maven-jxr-plugin:report > > > > > > Could you send us the stack trace? > > > > Emmanuel > > > > - Original Message - > > From: "Robert McKinnon" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, November 19, 2003 2:31 PM > > Subject: too many files open; goal maven-jxr-plugin:report > > > > > > > All, > > > > > > I am in the middle of a large project, so far the project has roughly > > 2,500 > > > source java files. When I run the maven goal > > "maven-jxr-plugin:report" I > > > get the following error after several hundred files have been processed: > > > "java.io.FileNotFoundException" .../.java (Too many > > open files). > > > > > > I was wondering if anybody has come across this same error and > > if so what > > is > > > the workaround? or maybe this is a legitimate bug? > > > > > > OS: Solaris > > > Hardware: Sparc > > > > > > > > > Thanks, > > > > > > Bob > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: too many files open; goal maven-jxr-plugin:report
I get this too. (project with over 4,100 files). After an investigation, (truss on solaris and such), we found that many plugins (or it could be the JVM's fault) don't free up their file handles, and we exhaust our ulimit of 1024 open FD. JXR opens a ton of files. So does other plugins. We solved our issue by moving the jxr plugin to the top of the list. It seems to be ok, but only if we let it run first. /* Joakim Erdfelt - Cingular Wireless */ > -Original Message- > From: Robert McKinnon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 8:31 AM > To: [EMAIL PROTECTED] > Subject: too many files open; goal maven-jxr-plugin:report > > I am in the middle of a large project, so far the project has > roughly 2,500 > source java files. When I run the maven goal > "maven-jxr-plugin:report" I > get the following error after several hundred files have been > processed: > "java.io.FileNotFoundException" .../.java (Too many > open files). > > I was wondering if anybody has come across this same error > and if so what is > the workaround? or maybe this is a legitimate bug? > > OS: Solaris > Hardware: Sparc
AW: String trim
Trimming is possible from every jelly tag. just set trim attribute to true: e.g. ${maven.bla.bli.blu} > -Ursprüngliche Nachricht- > Von: Jon Strayer [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 19. November 2003 14:45 > An: 'Maven Users List' > Betreff: String trim > > How do you trim a string in Jelly? > > I had a problem where the checkstyle plugin stoped being > able to find my checkstyle settings. I traced it down to > trailing spaces in the project.properties file. > > -- > > > > Hell hath no fury like a vested interest masquerading as a > moral principle. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: too many files open; goal maven-jxr-plugin:report
java.io.FileNotFoundException: /export/home/mckinnon/cvs/brm/src/com/alabanza/brm/products/SellRelationship TypeRemote.java (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at java.io.FileReader.(FileReader.java:41) at org.apache.maven.jxr.pacman.JavaFileImpl.getTokenizer(JavaFileImpl.java:160) at org.apache.maven.jxr.pacman.JavaFileImpl.parse(JavaFileImpl.java:96) at org.apache.maven.jxr.pacman.JavaFileImpl.(JavaFileImpl.java:85) at org.apache.maven.jxr.pacman.FileManager.getFile(FileManager.java:93) at org.apache.maven.jxr.pacman.PackageManager.parse(PackageManager.java:133) at org.apache.maven.jxr.pacman.PackageManager.process(PackageManager.java:171) at org.apache.maven.jxr.JxrBean.xref(JxrBean.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230) at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348) at org.apache.maven.cli.App.doMain(App.java:543) at org.apache.maven.cli.App.main(App.java:1109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 8:40 AM > To: Maven Users List > Subject: Re: too many files open; goal maven-jxr-plugin:report > > > Could you send us the stack trace? > > Emmanuel > > - Original Message - > From: "Robert McKinnon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 19, 2003 2:31 PM > Subject: too many files open; goal maven-jxr-plugin:report > > > > All, > > > > I am in the middle of a large project, so far the project has roughly > 2,500 > > source java files. When I run the maven goal > "maven-jxr-plugin:report" I > > get the following error after several hundred files have been processed: > > "java.io.FileNotFoundException" .../.java (Too many > open files). > > > > I was wondering if anybody has come across this same error and > if so what > is > > the workaround? or maybe this is a legitimate bug? > > > > OS: Solaris > > Hardware: Sparc > > > > > > Thanks, > > > > Bob > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
String trim
How do you trim a string in Jelly? I had a problem where the checkstyle plugin stoped being able to find my checkstyle settings. I traced it down to trailing spaces in the project.properties file. -- Hell hath no fury like a vested interest masquerading as a moral principle. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: too many files open; goal maven-jxr-plugin:report
Could you send us the stack trace? Emmanuel - Original Message - From: "Robert McKinnon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 2:31 PM Subject: too many files open; goal maven-jxr-plugin:report > All, > > I am in the middle of a large project, so far the project has roughly 2,500 > source java files. When I run the maven goal "maven-jxr-plugin:report" I > get the following error after several hundred files have been processed: > "java.io.FileNotFoundException" .../.java (Too many open files). > > I was wondering if anybody has come across this same error and if so what is > the workaround? or maybe this is a legitimate bug? > > OS: Solaris > Hardware: Sparc > > > Thanks, > > Bob > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
too many files open; goal maven-jxr-plugin:report
All, I am in the middle of a large project, so far the project has roughly 2,500 source java files. When I run the maven goal "maven-jxr-plugin:report" I get the following error after several hundred files have been processed: "java.io.FileNotFoundException" .../.java (Too many open files). I was wondering if anybody has come across this same error and if so what is the workaround? or maybe this is a legitimate bug? OS: Solaris Hardware: Sparc Thanks, Bob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [java:compile] RC1 and ${maven.compile.source}
Thx It works ;-) > -Ursprüngliche Nachricht- > Von: Barbier Gabriel [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 19. November 2003 13:17 > An: Maven Users List > Betreff: RE: [java:compile] RC1 and ${maven.compile.source} > > To avoid this problem you can use in file project.properties : > > maven.compile.source=1.4 > maven.compile.target=1.4 > maven.javadoc.source=1.4 > maven.test.source=1.4 > > gab. > > -Message d'origine- > De : Rademacher Tobias [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 19 novembre 2003 11:25 > À : '[EMAIL PROTECTED]' > Cc : Rothermel Wolfgang > Objet : [java:compile] RC1 and ${maven.compile.source} > > > Hi Folks, > > I'm upgraded to RC1 and have now problems compiling a project > which uses > assert keyword. > > Whe I set ${maven.compile.source} to 1.4 the problem should > be compilable as > in beta-9. Has the property name changed or is this a bug? > > Here the output I got: > > java:compile: > [echo] Compiling to C:\java\project\repos\wps-manwe/target/classes > [javac] Compiling 26 source files to > C:\java\project\repos\wps-manwe\target\ > classes > javac: source release 1.4 requires target release 1.4 > Usage: javac > where possible options include: > -gGenerate all debugging info > -g:none Generate no debugging info > -g:{lines,vars,source}Generate only some debugging info > -nowarn Generate no warnings > -verbose Output messages about what the > compiler is doing > -deprecation Output source locations where > deprecated APIs > are us > ed > -classpath Specify where to find user class files > -sourcepath Specify where to find input source files > -bootclasspath Override location of bootstrap class files > -extdirsOverride location of installed extensions > -d Specify where to place generated > class files > -encoding Specify character encoding used > by source files > -source Provide source compatibility with > specified > release > -target Generate class files for specific > VM version > -help Print a synopsis of standard options > > Whats wrong? > > Thx > Toby > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [java:compile] RC1 and ${maven.compile.source}
To avoid this problem you can use in file project.properties : maven.compile.source=1.4 maven.compile.target=1.4 maven.javadoc.source=1.4 maven.test.source=1.4 gab. -Message d'origine- De : Rademacher Tobias [mailto:[EMAIL PROTECTED] Envoyé : mercredi 19 novembre 2003 11:25 À : '[EMAIL PROTECTED]' Cc : Rothermel Wolfgang Objet : [java:compile] RC1 and ${maven.compile.source} Hi Folks, I'm upgraded to RC1 and have now problems compiling a project which uses assert keyword. Whe I set ${maven.compile.source} to 1.4 the problem should be compilable as in beta-9. Has the property name changed or is this a bug? Here the output I got: java:compile: [echo] Compiling to C:\java\project\repos\wps-manwe/target/classes [javac] Compiling 26 source files to C:\java\project\repos\wps-manwe\target\ classes javac: source release 1.4 requires target release 1.4 Usage: javac where possible options include: -gGenerate all debugging info -g:none Generate no debugging info -g:{lines,vars,source}Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are us ed -classpath Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirsOverride location of installed extensions -d Specify where to place generated class files -encoding Specify character encoding used by source files -source Provide source compatibility with specified release -target Generate class files for specific VM version -help Print a synopsis of standard options Whats wrong? Thx Toby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Unable to download the initial jar files
It uses http, as indicated by the full address it's trying to resolve: http://www.ibiblio.org/maven/ant/jars/ant-1.5.3-1.jar Since that does resolve to a jar file, either you were trying during the server outage mentioned elsewhere on this list, or you are correct in your assertion that you're not getting through the proxy. Try putting the proxy settings in your project.properties, and seeing if that helps. It may be that Maven is looking in the wrong place for your build.properties. I have settings like: maven.proxy.host=proxy1.foo.bar.com maven.proxy.port=3128 At the head of my project.properties, and that gets me through the firewall. Hope that helps. Nick > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 19 November 2003 01:49 > To: [EMAIL PROTECTED] > Subject: Unable to download the initial jar files > > > I am a new Maven user and I had downloaded the Maven 1.0 rc1 > for testing. > However, the moment I tried to compile my project, I hit the > problem of > unable to download those jar files which Maven needed. > > The following is the error message I got: > > 2003-11-19 09:43:25,069 INFO > org.apache.maven.verifier.DependencyVerifier > - Attempting to download ant-1.5.3-1.jar. > 2003-11-19 09:43:47,035 WARN > org.apache.maven.verifier.DependencyVerifier > - Error retrieving artifact from > [http://www.ibiblio.org/maven/ant/jars/ant-1.5.3-1.jar]: > java.lang.Exception: Can't get ant-1.5.3-1.jar to C:\Documents and > Settings\itaeh\.maven\repository\ant\jars\ant-1.5.3-1.jar > 2003-11-19 09:43:47,035 WARN > org.apache.maven.verifier.DependencyVerifier > - WARNING: Failed to download ant-1.5.3-1.jar. > ... > > I am working behind a corporate fire wall but I had > configured the proxy > settings in the build.properties file as described in the userguide. > However, that still doesn't work. I am not sure what means > does Maven use > to download these jar files (is it Http or Ftp?). Is there a way to > resolve this problem? > > > Thanks & regards, > Eng Hoe > App Dev-DCS > SGX-IT Division > > DID: (65) 62368963 > FAX: (65) 64388840 > email: [EMAIL PROTECTED] > > Confidentiality Caution > === > Privileged/Confidential Information may be contained in this > message. If > you are not the addressee indicated in this message (or > responsible for > delivery of the message to such person), you may not copy or > deliver this > message to anyone. In such case, you should destroy this > message and kindly > notify the sender by reply email. Opinions, conclusions and other > information in this message that is not of an official nature shall be > deemed as neither given nor endorsed by SGX unless indicated by an > authorised representative independent of this message. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to use Hibernate in Maven?
I think someone just sent a ant task to the hibernate dev mailing list for doing just that.. The Hibernate Maven plugin needs attention, so if you are really fired up about it, adding in those integrations to it would be nice. Eric > -Original Message- > From: Eric Chow [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 19, 2003 11:28 AM > To: Maven Users List > Subject: Re: how to use Hibernate in Maven? > > > Hi, > > Thank you for your reply. > I am now can use Hibernate in Maven now. > Another question, how can I generate "hibernate.cfg.xml" with > Maven ??? > > Eric > > > - Original Message - > From: "Konstantin Priblouda" <[EMAIL PROTECTED]> > To: "Maven Users List" <[EMAIL PROTECTED]>; "Eric Chow" > <[EMAIL PROTECTED]> > Sent: Wednesday, November 19, 2003 5:12 PM > Subject: Re: how to use Hibernate in Maven? > > > > > > --- Eric Chow <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > Is there any example to use maven to generate > > > Hibernate related files ??? > > > > > > > Hibernate wiki? > > http://www.hibernate.org/134.html > > > > regards, > > > > = > > [ Konstantin Pribluda ( ko5tik ) ] > > Zu Verstärkung meines Teams suche ich ab Sofort einen > > Softwareentwickler[In] für die Festanstellung. > > Arbeitsort: Mainz > > Skills: Programieren, Kentnisse in OpenSource-Bereich > > [ http://www.pribluda.de ] > > > > __ > > Do you Yahoo!? > > Protect your identity with Yahoo! Mail AddressGuard > > http://antispam.yahoo.com/whatsnewfree > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Muliproject example
http://xingu.sf.net or http://jakarta.apache.org/turbine/fulcrum > -Original Message- > From: Lester Ward [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 18, 2003 8:59 PM > To: Maven User Mailing List (E-mail) > Subject: Muliproject example > > > Can anyone provide me with a non-trivial example of using of > multiproject:install that actually works? By "non-trivial", I > mean one where > one subproject requires another. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to use Hibernate in Maven?
--- Eric Chow <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for your reply. > I am now can use Hibernate in Maven now. > Another question, how can I generate > "hibernate.cfg.xml" with Maven ??? Does xdoclet generates this? ( never used it to do that ) If yes - just activate subtask. I use property bases configuration + DAO class... Handmade :) regards, = [ Konstantin Pribluda ( ko5tik ) ] Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich [ http://www.pribluda.de ] __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to use Hibernate in Maven?
Hi, Thank you for your reply. I am now can use Hibernate in Maven now. Another question, how can I generate "hibernate.cfg.xml" with Maven ??? Eric - Original Message - From: "Konstantin Priblouda" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]>; "Eric Chow" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 5:12 PM Subject: Re: how to use Hibernate in Maven? > > --- Eric Chow <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Is there any example to use maven to generate > > Hibernate related files ??? > > > > Hibernate wiki? > http://www.hibernate.org/134.html > > regards, > > = > [ Konstantin Pribluda ( ko5tik ) ] > Zu Verstärkung meines Teams suche ich ab Sofort einen > Softwareentwickler[In] für die Festanstellung. > Arbeitsort: Mainz > Skills: Programieren, Kentnisse in OpenSource-Bereich > [ http://www.pribluda.de ] > > __ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[java:compile] RC1 and ${maven.compile.source}
Hi Folks, I'm upgraded to RC1 and have now problems compiling a project which uses assert keyword. Whe I set ${maven.compile.source} to 1.4 the problem should be compilable as in beta-9. Has the property name changed or is this a bug? Here the output I got: java:compile: [echo] Compiling to C:\java\project\repos\wps-manwe/target/classes [javac] Compiling 26 source files to C:\java\project\repos\wps-manwe\target\ classes javac: source release 1.4 requires target release 1.4 Usage: javac where possible options include: -gGenerate all debugging info -g:none Generate no debugging info -g:{lines,vars,source}Generate only some debugging info -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are us ed -classpath Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirsOverride location of installed extensions -d Specify where to place generated class files -encoding Specify character encoding used by source files -source Provide source compatibility with specified release -target Generate class files for specific VM version -help Print a synopsis of standard options Whats wrong? Thx Toby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using local repository
Hmm, great... Accessing cvs via cvsgrab sucks simon -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 19. November 2003 11:09 To: Maven Users List Subject: Re: Using local repository In cvs :-) Emmanuel - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 11:01 AM Subject: RE: Using local repository And where can i get rc2? simon -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 19. November 2003 10:53 To: Maven Users List Subject: Re: Using local repository maven.repo.remote=file://[hostname]/path_to_remote_repo You must use maven rc2. In previous version, that doesn't work correctly. I fixed it in rc2 Emmanuel - Original Message - From: "Paul Libbrecht" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 10:08 AM Subject: Re: Using local repository > > On Mercredi, nove 19, 2003, at 09:36 Europe/Paris, <[EMAIL PROTECTED]> > wrote: > > > Et all, > > > > I would like to use a non http (filesystem on winnt share) local > > repository. E.g. in project.properties: > > maven.repo.remote=file:/hostname/share/some/where/maven > > > > But it doesnt' seem to work? > > > > > > Any clues? > > How about maven.repo.local ?? > You need to set this very very early, we do this in patching the script > launching and adding the properties: > > -Dmaven.home.local=[blabla]/maven/local-maven-home/ > -Dmaven.repo.remote="file:[blabla]/maven/private-repository,http:// > www.ibiblio.org/maven > > To any maven call. > The second property allows us to store commercial dependencies and > other things that aren't possible to upload to ibiblio (e.g. patched > libraries for which a patch isn't through). > > Paul > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using local repository
You can make it work with maven RC1 with this syntax : maven.repo.remote=file:/path_to_remote_repo (only one "/") RFC compliant URL for "maven.repo.remote" property has been corrected in RC2. Nico. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 19. November 2003 10:53 To: Maven Users List Subject: Re: Using local repository maven.repo.remote=file://[hostname]/path_to_remote_repo You must use maven rc2. In previous version, that doesn't work correctly. I fixed it in rc2 Emmanuel - Original Message - From: "Paul Libbrecht" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 10:08 AM Subject: Re: Using local repository > > On Mercredi, nove 19, 2003, at 09:36 Europe/Paris, <[EMAIL PROTECTED]> > wrote: > > > Et all, > > > > I would like to use a non http (filesystem on winnt share) local > > repository. E.g. in project.properties: > > maven.repo.remote=file:/hostname/share/some/where/maven > > > > But it doesnt' seem to work? > > > > > > Any clues? > > How about maven.repo.local ?? > You need to set this very very early, we do this in patching the script > launching and adding the properties: > > -Dmaven.home.local=[blabla]/maven/local-maven-home/ > -Dmaven.repo.remote="file:[blabla]/maven/private-repository,http:// > www.ibiblio.org/maven > > To any maven call. > The second property allows us to store commercial dependencies and > other things that aren't possible to upload to ibiblio (e.g. patched > libraries for which a patch isn't through). > > Paul > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using local repository
In cvs :-) Emmanuel - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 11:01 AM Subject: RE: Using local repository And where can i get rc2? simon -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 19. November 2003 10:53 To: Maven Users List Subject: Re: Using local repository maven.repo.remote=file://[hostname]/path_to_remote_repo You must use maven rc2. In previous version, that doesn't work correctly. I fixed it in rc2 Emmanuel - Original Message - From: "Paul Libbrecht" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 10:08 AM Subject: Re: Using local repository > > On Mercredi, nove 19, 2003, at 09:36 Europe/Paris, <[EMAIL PROTECTED]> > wrote: > > > Et all, > > > > I would like to use a non http (filesystem on winnt share) local > > repository. E.g. in project.properties: > > maven.repo.remote=file:/hostname/share/some/where/maven > > > > But it doesnt' seem to work? > > > > > > Any clues? > > How about maven.repo.local ?? > You need to set this very very early, we do this in patching the script > launching and adding the properties: > > -Dmaven.home.local=[blabla]/maven/local-maven-home/ > -Dmaven.repo.remote="file:[blabla]/maven/private-repository,http:// > www.ibiblio.org/maven > > To any maven call. > The second property allows us to store commercial dependencies and > other things that aren't possible to upload to ibiblio (e.g. patched > libraries for which a patch isn't through). > > Paul > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using local repository
And where can i get rc2? simon -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 19. November 2003 10:53 To: Maven Users List Subject: Re: Using local repository maven.repo.remote=file://[hostname]/path_to_remote_repo You must use maven rc2. In previous version, that doesn't work correctly. I fixed it in rc2 Emmanuel - Original Message - From: "Paul Libbrecht" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 10:08 AM Subject: Re: Using local repository > > On Mercredi, nove 19, 2003, at 09:36 Europe/Paris, <[EMAIL PROTECTED]> > wrote: > > > Et all, > > > > I would like to use a non http (filesystem on winnt share) local > > repository. E.g. in project.properties: > > maven.repo.remote=file:/hostname/share/some/where/maven > > > > But it doesnt' seem to work? > > > > > > Any clues? > > How about maven.repo.local ?? > You need to set this very very early, we do this in patching the script > launching and adding the properties: > > -Dmaven.home.local=[blabla]/maven/local-maven-home/ > -Dmaven.repo.remote="file:[blabla]/maven/private-repository,http:// > www.ibiblio.org/maven > > To any maven call. > The second property allows us to store commercial dependencies and > other things that aren't possible to upload to ibiblio (e.g. patched > libraries for which a patch isn't through). > > Paul > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using local repository
maven.repo.remote=file://[hostname]/path_to_remote_repo You must use maven rc2. In previous version, that doesn't work correctly. I fixed it in rc2 Emmanuel - Original Message - From: "Paul Libbrecht" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 19, 2003 10:08 AM Subject: Re: Using local repository > > On Mercredi, nove 19, 2003, at 09:36 Europe/Paris, <[EMAIL PROTECTED]> > wrote: > > > Et all, > > > > I would like to use a non http (filesystem on winnt share) local > > repository. E.g. in project.properties: > > maven.repo.remote=file:/hostname/share/some/where/maven > > > > But it doesnt' seem to work? > > > > > > Any clues? > > How about maven.repo.local ?? > You need to set this very very early, we do this in patching the script > launching and adding the properties: > > -Dmaven.home.local=[blabla]/maven/local-maven-home/ > -Dmaven.repo.remote="file:[blabla]/maven/private-repository,http:// > www.ibiblio.org/maven > > To any maven call. > The second property allows us to store commercial dependencies and > other things that aren't possible to upload to ibiblio (e.g. patched > libraries for which a patch isn't through). > > Paul > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using local repository
On Mercredi, nove 19, 2003, at 09:36 Europe/Paris, <[EMAIL PROTECTED]> wrote: Et all, I would like to use a non http (filesystem on winnt share) local repository. E.g. in project.properties: maven.repo.remote=file:/hostname/share/some/where/maven But it doesnt' seem to work? Any clues? How about maven.repo.local ?? You need to set this very very early, we do this in patching the script launching and adding the properties: -Dmaven.home.local=[blabla]/maven/local-maven-home/ -Dmaven.repo.remote="file:[blabla]/maven/private-repository,http:// www.ibiblio.org/maven To any maven call. The second property allows us to store commercial dependencies and other things that aren't possible to upload to ibiblio (e.g. patched libraries for which a patch isn't through). Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to use Hibernate in Maven?
--- Eric Chow <[EMAIL PROTECTED]> wrote: > Hello, > > Is there any example to use maven to generate > Hibernate related files ??? > Hibernate wiki? http://www.hibernate.org/134.html regards, = [ Konstantin Pribluda ( ko5tik ) ] Zu Verstärkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] für die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich [ http://www.pribluda.de ] __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion changelog
Thanks for the replies! My connection string is set to scm:svn:http://127.0.0.1/repos/leanon/leif/trunk I incorrectly copied the wrong line from my project.xml file, but I don't think this matters much. When i run svn log -v from the directory I get the expected log output which is defintitively NOT empty, here are the first few lines: = Start svn log -v output C:\ttt\leanon\leif\trunk>svn log -v r20 | mikael | 2003-11-18 15:06:15 +0100 (Tue, 18 Nov 2003) | 2 lines Changed paths: M /leanon/leif/trunk/project.xml Changed to Subversion URL, it "works" in the sense that Maven does not stop processing a maven site command, however no SCM related information is generated . r19 | mikael | 2003-11-18 15:04:34 +0100 (Tue, 18 Nov 2003) | 1 line Changed paths: A /leanon/leif/trunk/build.properties Needed for subversion support r5 | mikael | 2003-11-17 11:26:36 +0100 (Mon, 17 Nov 2003) | 1 line Changed paths: D /leanon/leif/trunk/offerter = Stop svn log -v output I did take a look at the sources for the changelog plugin but I could not see any obvious reasons for it not to work. It could be that the log format has changed and that the regular expression that is supposed to parse the log file is no longer current, however I'm not that good at reading regular expressions to be able to tell... I also checked the latest changes to the plugin but the subversion parts have not changed lately so a later version does not seem to be an answer. -- Mikael Lundgren, LeanOn AB, www.LeanOn.se Phone: +46 18 146405, Mobile: +46 703 400105 Kontroll på projekt och tid: www.teamplanet.net - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Any success with Dashboard plugin and Reactor?
The dashboard uses the following includes property to look for projects: maven.dashboard.includes=*/project.xml Thus, if you run the dashboard from /masterproject it won't work. By default all maven plugins using reactor assume the master project is at the top with subprojects nested. You can work around this by adding the following properties to your project.properties in /masterproject. maven.dashboard.includes=../*/project.xml maven.dashboard.excludes=../masterproject -Vincent > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 19 November 2003 00:34 > To: [EMAIL PROTECTED] > Subject: Any success with Dashboard plugin and Reactor? > > I was wondering if anybody had any success integrating Dashboard with a > custom Reactor. I have 4 projects with parallel directory structures: > > /masterproject > /projecta > /projectb > /projectc > > I have the dashboard plugin under reports in the masterproject POM and I > added the following goal to masterproject's maven.xml: > > > basedir="${basedir}/.." > > includes="projecta/project.xml,projectb/project.xml,projectc/project.xml " > banner="Generating site for" > goals="site:generate,dashboard:report-single" > ignoreFailures="false" > postProcessing="true"/> > > > > I followed the directions on the dashboard page > (http://maven.apache.org/reference/plugins/dashboard/index.html) and was > able to get Solution 1 working just fine. Solution 2 also worked. But I > don't want to have any POMs or maven.xml one directory up from my > projects. When I run the above goal, however, my Dashboard report comes > out empty. Any ideas as to why this doesn't work or am I just totally off > here? And should I consider not making all my project directories > parallel? Thanks. > > Yoway Buorn > Software Engineer > Imagery Systems Engineering > > GENERAL DYNAMICS > Advanced Information Systems > > "Make me a fire and I'm warm for a night. Set me on fire and I'm warm for > the rest of my life." -- Ancient Didactical Saying > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using local repository
Et all, I would like to use a non http (filesystem on winnt share) local repository. E.g. in project.properties: maven.repo.remote=file:/hostname/share/some/where/maven But it doesnt' seem to work? Any clues? Cheers, simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to use Hibernate in Maven?
Hello, Is there any example to use maven to generate Hibernate related files ??? Eric == If you know what you are doing, it is not called RESEARCH! == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]