Two organizationUrls

2008-05-12 Thread DCVer
How to specify 2 organizationUrls in pom.xml file? If I separate them with space sign, comma or anything like that Maven doesn't interpret organizationUrls as urls, but as plain text (while executing 'mvn site' command). Can it be solved somehow? -- View this message in context:

Re: mvn install site performs test phase 2 times?

2008-04-17 Thread DCVer
my iPod On 16 Apr 2008, at 10:41, DCVer [EMAIL PROTECTED] wrote: Hi, I use CruiseControl for continous integration. There are many projects, which builds are configured as mvn clean install site. The problem is, that both 'install' and 'site' commands perform tests and some of my

Re: maven-buildnumber-plugin / revision number last changed rev number

2008-04-17 Thread DCVer
Well... should I modify this source code? Build then some jar? Or import the existing one jar and override the getRevision() method? Or can it be configurable from pom.xml file in plugins section? Dirk Olmes-4 wrote: DCVer wrote: Thanks, nice to know that, but I still cannot find any useful

mvn install site performs test phase 2 times?

2008-04-16 Thread DCVer
Hi, I use CruiseControl for continous integration. There are many projects, which builds are configured as mvn clean install site. The problem is, that both 'install' and 'site' commands perform tests and some of my tests take about 20-30mins! This is waste of time (of course, both test phases

Re: maven-buildnumber-plugin / revision number last changed rev number

2008-04-16 Thread DCVer
Thanks, nice to know that, but I still cannot find any useful information, don't kow how to configure scm to receive Last Changed Rev number... Dirk Olmes-4 wrote: DCVer wrote: You presented link to buildnumber-maven-plugin. I used maven-buildnumber-plugin - this is quite different plugin i

RE: maven-buildnumber-plugin / revision number last changed rev number

2008-04-15 Thread DCVer
] the buildnumber-plugin uses the scm-api and implementations of Maven. Hth, Nick S. [1] http://mojo.codehaus.org/buildnumber-maven-plugin/dependencies.html -Original Message- From: DCVer [mailto:[EMAIL PROTECTED] Sent: Thu 4/10/2008 13:23 To: users@maven.apache.org Subject: Re

Re: maven-buildnumber-plugin / revision number last changed rev number

2008-04-10 Thread DCVer
scm framework? You mean scm tag in pom.xml? I have no idea how can I configure this using scm tag. Dirk Olmes-4 wrote: DCVer wrote: Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of the local working copy. But I noticed, that it isn't configured in a way I

maven-buildnumber-plugin / revision number last changed rev number

2008-04-09 Thread DCVer
Hi all. I use maven-buildnumber-plugin to retrieve svn revision number of the local working copy. But I noticed, that it isn't configured in a way I would like to. E.g. when I have tags directory in svn repository containing few subdirectories (let's say 1.0 1.1 and 1.2). 1.0 was tagged at

docbkx and XInclude

2008-03-26 Thread DCVer
Hi folks, I want to write large DocBook files and therefore I would like to divide them into many files. I've fould quite nice method for that - XInclude. The problem appears while generating PDF or HTML files from DocBook. The xi:include is ignored and the separate DocBook file isn't imported

Re: Attaching HTML pages to Maven panels using mvn site

2008-02-07 Thread DCVer
Still haven't found any hint :( Has anyone some idea? DCVer wrote: Hello all! I am using docbkx-maven-plugin do create HTML pages from DocBook files and attach created HTML pages to site (using mvn site command - I define links to those pages using site.xml file). The only problem

RE: Snapshots aren't updated!

2008-02-01 Thread DCVer
the metadata would be correct. Hth, Nick Stolwijk -Original Message- From: DCVer [mailto:[EMAIL PROTECTED] Sent: Mon 1/28/2008 1:03 PM To: users@maven.apache.org Subject: Re: Snapshots aren't updated! But I install the jar from the remote server and the jar is installed

Re: Snapshots aren't updated!

2008-01-28 Thread DCVer
local repo and not the remote ones. You should use the deploy plugin if you want. Jeff On Jan 26, 2008 6:11 PM, DCVer [EMAIL PROTECTED] wrote: Hi, Why Maven doesn't update snapshot dependencies, although all of my repositories have defined update policy to always? I try adding -U while

Snapshots aren't updated!

2008-01-26 Thread DCVer
Hi, Why Maven doesn't update snapshot dependencies, although all of my repositories have defined update policy to always? I try adding -U while building, but it looks, like only Maven plugins are updated - snapshots not. I have added new class to one of the dependency jar, installed the jar

Attaching HTML pages to Maven panels using mvn site

2008-01-25 Thread DCVer
Hello all! I am using docbkx-maven-plugin do create HTML pages from DocBook files and attach created HTML pages to site (using mvn site command - I define links to those pages using site.xml file). The only problem is, that all maven pages are plugged to nice panels (top panel and left-side

Re: Strange dataBase error

2007-10-17 Thread DCVer
and then use that for testing. Also, perhaps you should unzip a Jar that works and a Jar that doesn't work, and run a diff/compare tool against the 2 directories. There might be some differences that you weren't expecting. Wayne On 10/16/07, DCVer [EMAIL PROTECTED] wrote: Hi all, I have really

Strange dataBase error

2007-10-16 Thread DCVer
Hi all, I have really strange error, which I try to solve for weeks. We have tested our software (mvn test or mvn install) on many machines, but if we deploy it on the server some of the tests fail. In fact all test, which fail need to communicate with the data base. Although we have configured

Re: buildNumber plugin error

2007-08-29 Thread DCVer
changed :/ DCVer wrote: I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber

buildNumber plugin error

2007-08-21 Thread DCVer
I added the maven buildnumber plugin to a project and it worked quite fine. But 2 developers say, that they receive such an error, while building the project (mvn install): [...] [INFO] [buildnumber:create {execution: default}] [INFO] Storing buildNumber: null [INFO]

Making resources separate dependencies

2007-08-20 Thread DCVer
Hi all, I have a question: One of my projects needs a wsdl file resource from another project, but doesn't need anything else from this project. Is there a method to create some dependency (jar?) containing only that resource? Now I specify needed resources by pointing relative path to resource

Re: Buildnumber plugin and svn

2007-08-16 Thread DCVer
, DCVer [EMAIL PROTECTED] wrote: Nobody knows? ... DCVer wrote: I use the maven buildnumber plugin and it works fine on my local pc. But on the Continuum server (checked out from the same svn repository) i receive an error (in fact Continuum/Maven2 generates it): [INFO

Re: Buildnumber plugin and svn

2007-08-15 Thread DCVer
Nobody knows? ... DCVer wrote: I use the maven buildnumber plugin and it works fine on my local pc. But on the Continuum server (checked out from the same svn repository) i receive an error (in fact Continuum/Maven2 generates it): [INFO] [buildnumber:create {execution: default

Re: Retrieving subversion revision number

2007-08-14 Thread DCVer
/maven-buildnumber-plugin/index.html DCVer wrote: Hi all, I would like to get the revision number of my project on svn repository using maven2 (or some other tool) and put this number e.g. in some property file. How could this be done

Re: Retrieving subversion revision number

2007-08-14 Thread DCVer
Ok it works fine now, thanks. I've put the plugin configurations in pluginManagement - not in pure plugins section. That's why it failed before. Dirk Olmes-4 wrote: The problem has changed a bit. I would like to get the revision number of the working copy checked out from the svn repository

Buildnumber plugin and svn

2007-08-14 Thread DCVer
I use the maven buildnumber plugin and it works fine on my local pc. But on the Continuum server (checked out from the same svn repository) i receive an error (in fact Continuum/Maven2 generates it): [INFO] [buildnumber:create {execution: default}] Provider message: The svn command failed.

updating snapshots

2007-08-08 Thread DCVer
Hello, I have such a problem: I want to force maven to update the snapshot jar to download it again to the local repository. The problem is i have no access to the local repository (don't have priviledges), so i can't delete the old snapshot jar. The option -U isn't working (i use mvn install

Re: Retrieving subversion revision number

2007-08-07 Thread DCVer
-buildnumber-plugin/index.html DCVer wrote: Hi all, I would like to get the revision number of my project on svn repository using maven2 (or some other tool) and put this number e.g. in some property file. How could this be done

RE: Retrieving subversion revision number

2007-08-07 Thread DCVer
Hmm, now I see that the revision number is null.. Looks like maven is ignoring the scm tag.. Jörg Schaible wrote: DCVer wrote on Tuesday, August 07, 2007 8:57 AM: Thanks for all replies, but when I use this plugin I receive the version of my my project (e.g. 1.0-SNAPSHOT), but I would

Re: Retrieving subversion revision number

2007-08-07 Thread DCVer
} - ${buildNumber} The pom.version is replaced bij mij project version and the buildNumber is replaced bij my SVN revision at the moment. It does use the SVN executable, so you need SVN installed (and not only a GUI like Subclipse or Tortoise). Hth, Nick Stolwijk DCVer wrote: Hmm, now I

Retrieving subversion revision number

2007-08-06 Thread DCVer
Hi all, I would like to get the revision number of my project on svn repository using maven2 (or some other tool) and put this number e.g. in some property file. How could this be done? -- View this message in context:

Re: Multi-level project directories hierarchy

2007-08-01 Thread DCVer
Still noone? %-| DCVer wrote: Hi all I am thinking about such a problem: I add a multi-level project to Continuum by choosing path to main (root) project pom.xml file on the svn. Continuum automatically adds all subprojects of the main project. I would like to build any

Multi-level project directories hierarchy

2007-07-19 Thread DCVer
Hi all I am thinking about such a problem: I add a multi-level project to Continuum by choosing path to main (root) project pom.xml file on the svn. Continuum automatically adds all subprojects of the main project. I would like to build any of the subproject individually, but Continuum

adding the classpath to jar file

2007-06-26 Thread DCVer
Hi, I'm creating a jar using mvn package. The files, which are included in this jar are using another jar (e.g. log4j-1.2.14.jar), which are stored in maven repository. My part of pom.xml file responsible for dependencies looks like: dependency groupIdlog4j/groupId

Re: adding the classpath to jar file

2007-06-26 Thread DCVer
Bals-2 wrote: You have to provide log4j via the classpath on your own. Maven does include log4j in your generated jar automatically. But Maven can generate the classpath for you http://maven.apache.org/plugins/maven-dependency-plugin/usage.html -dependency:build-classpath 2007/6/26, DCVer

Re: adding the classpath to jar file

2007-06-26 Thread DCVer
cannot define the classpath of jar inside the jar like the main class. So maven cannot set the classpath for you. Moreover Maven cannot know where the jar is executed, so it cannot guarantee that the referenced jars in the classpath are present. 2007/6/26, DCVer [EMAIL PROTECTED