Re: need all dependency at compile time

2006-10-12 Thread Gisbert Amm
The section 5.5.1. "Accessing Project Dependencies" of "Better builds with Maven" (http://www.mergere.com/m2book_download.jsp) probably explains what you need to do in your mojo: ... Injecting the project dependency set As described above, if the mojo works with a project's dependencies, it mu

Re: idea project jdk

2006-10-12 Thread Geoffrey De Smet
I had this issue when I migrated from intellij idea 4 to 5. Maven 2 is actually doing the best thing ... it can. 4 calls its jdk by default "java version1.5.0_08" and 5 calls it by default "1.5". So maven2 takes (if you don't override it with "...") "java version1.5.0_08" in 4 and "1.5" in 5.

[M2]Creating a companywide POM

2006-10-12 Thread Sebastian Krebs
Hello, I've got the following question. I want to create a companywide Parent-pom.xml with all of those parameters and settings I will need in each project. e.g.: ... How can I inherit from my CompanyPOM? Regards Sebastian Krebs ---

exclude integration tests from test phase in surefire-plugin ?

2006-10-12 Thread Jan-Olav Eide
I have a set of tests that I only want to run in the integration-test phase. These are all in in the .../integration/.. package I have the following in my pom, but the plugin still insists on running the integration tests in the test phase. What is wrong with this configuration ? mav

Re: [M2]Creating a companywide POM

2006-10-12 Thread Borut Bolčina
Put Maven distribution somewhere on a network drive so all developers can get it from there instead from maven site. Then modify settings.xml in conf directory something like: alwaysActiveProfile central your-company-maven-proxy

RE: [M2]Creating a companywide POM

2006-10-12 Thread Jörg Schaible
Hi Sebastian, Sebastian Krebs wrote on Thursday, October 12, 2006 9:22 AM: > Hello, > > I've got the following question. > I want to create a companywide Parent-pom.xml with all of those > parameters and settings I will need in each project. > > e.g.: > > > ... > > > > Ho

Re: Maven 1.1 RC1 SNAPSHOT needs testers

2006-10-12 Thread Gisbert Amm
Arnaud HERITIER wrote: Thanks James for your feedback. We'll add a note about plugin dependencies in projects. Nobody else is interested by maven 1.1 ? Should we continue to try to release a final version 1.1 ? Everybody moved to maven 2 or your existing maven 1.x satisfy you ? We are indeed

RE: [M2]Creating a companywide POM

2006-10-12 Thread Yves Van Steen
Hey, This is very simple. Just create a top or company pom where you declare the packaging to pom as value. The pom value means you just add the pom to your repository and don't create a jar, ejb or ear. In your project pom you declare the parent element. Project Pom com.company

RE: supported databases ?

2006-10-12 Thread Mohni, Daniel
ractTable.java:287) at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(R DBMSManager.java:3006) ... 54 more this was tested with daily build of today (20061012) - Daniel

JPOX and Maven2

2006-10-12 Thread Aleksei Valikov
Hi folks, Does anyone use JPOX with Maven2? Which enhancer plugin do you use? Bye. /lexi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Running Maven 2.0.4 from behing a firewall

2006-10-12 Thread Peter_S
Hi! I'm working on a project where one of the requirements is to update a project to use Maven 2 instead of Maven 1. In the process of doing this I'm trying to learn how to use Maven, as it is new to me. This has become a bit of a problem because I have to deal with a corporate firewall. After r

Re: JPOX and Maven2

2006-10-12 Thread Stéphane Bouchet
As I can see (1) , the last maven plugin is using jpox 1.1.1 . Stéphane. (1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html * Aleksei Valikov a écrit : Hi folks, Does anyone use JPOX with Maven2? Which enhancer plugin do you use? Bye. /lexi --

Re: JPOX and Maven2

2006-10-12 Thread Aleksei Valikov
Hi. As I can see (1) , the last maven plugin is using jpox 1.1.1 . Stéphane. (1) *http://mojo.codehaus.org/jpox-maven-plugin/dependencies.html Thanks, I've also found it. I was a bit discouraged by "JPOX supports Maven1, Maven2 is not supported" statement on the JPOX site. I've now the "h

[M1.1 Oct Snapshot] cannot generate jar/site

2006-10-12 Thread Benoit Xhenseval
Hi *, I've downloaded the october 9 snapshot and installed in on top of the August one. I get this error when I do nearly anything (jar, site, etc) BUILD FAILED File.. file:/C:/project/objectlabkit/maven.xml Element... attainGoal Line.. 50 Column 39 The build cannot continue because

Optional Repositories...

2006-10-12 Thread pankaj verma
Hi, Do i have a option in maven2 version to optional repositores for downloading the jar. Actually i have a bunch of jars in my own repository of local machine however take the case that maven dont find the required jar at that place then i want maven to download it from the URL given through mir

Problem using central Maven repository

2006-10-12 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am now bewildered by what is going on here. The maven-scm-plugin is clearly defined in the ibiblio repository. I am not overriding anything, and yet I get this error when I try to build the pom. May someone please tell me what is happening? maven

"mvn site" strips my domain name (sometimes) from image url's

2006-10-12 Thread Samuel Jones
In my site.xml file, the banner tags have images in them. If the image is located at apache.org or google.com (for example), all is well. The url passes to the generated documents intact, as a fully-qualified url. But if the image is at my company's domain, maven is stripping out the domain, le

[M2] execute first in phase

2006-10-12 Thread aXXa
How do I tell Maven that I need to run a specific task first i a goal? An example... I need to run an ANT task during the site phase, but it needs to be executed first, before the "normal" site tasks, but my ANT task allways seem to run last in the phase. Thanks -Martin maven-antr

Re: [M2] execute first in phase

2006-10-12 Thread Dan Tran
try pre-site https://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml On 10/12/06, aXXa <[EMAIL PROTECTED]> wrote: How do I tell Maven that I need to run a specific task first i a goal? An example... I need to run an ANT task durin

Re: Problem using central Maven repository

2006-10-12 Thread Dan Tran
You are using maven1 plugin. the maven-scm-plugin for maven 2 is some where else try org.apache.maven.plugins maven-scm-plugin 1.0-beta-2 -D On 10/11/06, Morgovsky, Alexander (US - Glen Mills) <[EMAIL PROTECTED]> wrote: I am now bewildered by what is going on here. The maven-scm-plugin is

Re: Optional Repositories...

2006-10-12 Thread Dan Tran
setup maven-proxy and have your repo as first on the list. -D On 10/11/06, pankaj verma <[EMAIL PROTECTED]> wrote: Hi, Do i have a option in maven2 version to optional repositores for downloading the jar. Actually i have a bunch of jars in my own repository of local machine however take the

Re: creating different packages for different customers

2006-10-12 Thread Andrew Williams
Aha, then I think the earlier suggestions may have been correct - you want to keep all the common work in 1 war artifact (NOT a parent pom, a separate child module) and depend on that in the client specific wars - this will then merge the common into the client specific work creating your compl

Setting property in profiles not evaluated for POM validation?

2006-10-12 Thread Christoph
Hi, I face a strange problem concerning POM validation and setting properties in profiles.xml... My project C depends on module B, which itself is a child of module A. Module A defines a system scope dependency like this: db2 db2 8.2 sys

Re: Executin a plugin goal from another plugin

2006-10-12 Thread Mikko
Hello, Couple of things still open here 1) Is there a way to query the executed project form the MavenEmbedder? Or can I get it with the @executedProject tag? 2) If the plugin executed by the MavenEmbedder produced an artifact, can it be resolved somehow from somewhere. br, Mikko --- www.codeboi

Re: JPOX and Maven2

2006-10-12 Thread Stephen More
What do you need to put in your pom.xml to allow for Automated Enhancement ? -Thanks Steve More On 10/12/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote: Hi. > As I can see (1) , the last maven plugin is using jpox 1.1.1 . > > Stéphane. > > (1) *http://mojo.codehaus.org/jpox-maven-plugin/depende

Re: JPOX and Maven2

2006-10-12 Thread Jason van Zyl
You can look at Continuum for an example: http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/ pom.xml Thanks, Jason. On 12 Oct 06, at 3:42 AM 12 Oct 06, Aleksei Valikov wrote: Hi folks, Does anyone use JPOX with Maven2? Which enhancer plugin do you use? Bye. /lexi --

Re: Executin a plugin goal from another plugin

2006-10-12 Thread Jason van Zyl
On 19 Sep 06, at 2:20 AM 19 Sep 06, Mikko wrote: Hi, Is there a way to run another plugin goal from my own plugin by using the @execute goal="" tag in my plugin. I would like to be able to run the assembly:assembly goal from my plugin. When I use @execute goal="assembly:assembly", the buil

Re: JPOX and Maven2

2006-10-12 Thread Aleksei Valikov
Hi. What do you need to put in your pom.xml to allow for Automated Enhancement ? I've attached my pom.xml. The whole example could be found here: https://hyperjaxb3.dev.java.net/source/browse/hyperjaxb3/jdo/sample-hotel/ Bye. /lexi http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www

Re: JPOX and Maven2

2006-10-12 Thread Aleksei Valikov
Hi. You can look at Continuum for an example: http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/pom.xml Thanks, I've also found that plugin. Works pretty neat. Bye. /lexi - To unsubscribe, e-mail: [EM

Re: Executin a plugin goal from another plugin

2006-10-12 Thread Mikko
Hi, What I'm getting at is that I have a multimodule build and that I would like to use the assembly plugin to assemble it and once I have the whole binary in one jar file I need to preverify it and sometimes obfuscate it (yes, MIDP development). Maybe I'm going about this the wring way, so any

Re: Setting property in profiles not evaluated for POM validation?

2006-10-12 Thread Rémy Sanlaville
Hi Christoph, I also have the same trouble. I think it's a bug. Any idea ?? Since yesterday, I tried to use the system scope like this sun.j2ee j2ee 1.4 system ${j2ee1.4.home}/lib/j2ee.jar [WARNING] POM for 'com.test:resource:pom:1.0-SNAPSHOT:compile'

Re: [M2]Creating a companywide POM

2006-10-12 Thread Jason van Zyl
On 12 Oct 06, at 2:21 AM 12 Oct 06, Sebastian Krebs wrote: Hello, I've got the following question. I want to create a companywide Parent-pom.xml with all of those parameters and settings I will need in each project. e.g.: ... How can I inherit from my CompanyPOM?

Re: JPOX and Maven2

2006-10-12 Thread Stephen More
Thanks. It seems that when I make changes to package.jdo in the src directory, it is not being copied over to the target directory. Is there a way I can force it to copy over ? -Steve More On 10/12/06, Jason van Zyl <[EMAIL PROTECTED]> wrote: You can look at Continuum for an example: http:

Re: JPOX and Maven2

2006-10-12 Thread Aleksei Valikov
Hi. It seems that when I make changes to package.jdo in the src directory, it is not being copied over to the target directory. Is there a way I can force it to copy over ? Is package.jdo placed in src/main/java or src/main/resources? Should be placed in latter. Bye. /lexi -

Re: JPOX and Maven2

2006-10-12 Thread Aleksei Valikov
Hi. It is currently placed in src/main/resources. It will get copied over only once. If I make a change, then I am forcing it by running mvn clean, then a mvn test. I would prefer to just edit package.jdo then mvn test. Sorry, can't reproduce. In my case mvn test copies the new package.jdo.

Re: [M2] How do I run J2EE compilers?

2006-10-12 Thread kurron
Thanks for the tip. That has helped me a lot. I noticed that the value of the project.artifact property looks something like this: artifact: org.kurron.maven2:ear-one-WLS:ear:1.0-SNAPSHOT. I don't suppose there is convenient mechanism for obtaining the full path to the EAR, such as: /home/me/.

Re: JPOX and Maven2

2006-10-12 Thread Stephen More
It is currently placed in src/main/resources. It will get copied over only once. If I make a change, then I am forcing it by running mvn clean, then a mvn test. I would prefer to just edit package.jdo then mvn test. -Steve More On 10/12/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote: Hi. >

Re: Ant Mojo: How to use echoproperties (optional task)

2006-10-12 Thread Jason van Zyl
On 11 Oct 06, at 2:26 AM 11 Oct 06, Gisbert Amm wrote: I'm trying to make a reusable plugin as described in section 5.4.2 of "Better builds with Maven" and on http://maven.apache.org/guides/ plugin/guide-ant-plugin-development.html (both docs do slightly differ and it seems that the website

Re: Ant Mojo: How to use echoproperties (optional task)

2006-10-12 Thread Gisbert Amm
Jason van Zyl wrote: On 11 Oct 06, at 2:26 AM 11 Oct 06, Gisbert Amm wrote: I'm trying to make a reusable plugin as described in section 5.4.2 of "Better builds with Maven" and on http://maven.apache.org/guides/ plugin/guide-ant-plugin-development.html (both docs do slightly differ and it s

"company pom" problem

2006-10-12 Thread shevit
Hi, We are facing a problem with multi module maven2 projetcs with a super-POM defined at the company level. It's ok to store modules in subdirectories of the project. But the organisation POM is shared between multiple projects, it cannot be placed at the parent directory level of each of them.

RE: "company pom" problem

2006-10-12 Thread graham
The answer is... yes! Simply remove the relative path information. For example: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> com.biomedc

[M2] FindBugs Plugin: How to generate XML file?

2006-10-12 Thread Gisbert Amm
Does anybody know how I can persuade the Maven2 FindBugs Plugin to let Findbugs generate an XML file containing its results into the target directory in addition to the HTML report in target/site? The Maven1 Findbugs Plugin automagically generates a file named findbugs-raw-report.xml into the

[M1.1 Oct Snapshot] cannot generate jar/site

2006-10-12 Thread arnaud . heritier
Hi Benoit, As I said in my previous mail [1] you have to add another repository where you'll find the snapshot : maven.repo.remote= http://repo1.maven.org/maven,http://people.apache.org/repo/m1-snapshot-repository/ Cheers Arnaud [1] http://www.nabble.com/Maven-1.1-RC1-SNAPSHOT-needs-

Re: [M2] Plugin for XMLBeans 2.2.x

2006-10-12 Thread Ralf Quebbemann
Yes it is: http://mojo.codehaus.org/xmlbeans-maven-plugin/ Take care Ralf [EMAIL PROTECTED] wrote: Hi Y'All Is there a XMLBean 2 plug-in available for Maven 2.0 that generates the schema JAR from the XSD files? -- Peter Pilgrim UBS Investment Bank, PTS Portal / IT FIRC OPS LDN, 10

Maven XSLT Plugin Question

2006-10-12 Thread stoddarn
I have an application that using XML to define the features added to each release version. I wrote an XSLT to convert this XML into the changes plugin XML format. This allows me to have the same information in the application and the generated site, but the XSLT execution is a manual step. I hav

[M2] Deploy into Remote Repository

2006-10-12 Thread Sebastian Krebs
Hello, I want to achieve the following: I have a remote repository on our local server and I want to say M2 that it has to deploy projects artefacts into this remote repository. But without configure this directly in each pom.xml, because we have multiple projects and for each the r

Using modules in profiles

2006-10-12 Thread Nir Feldman
I would like to define the following: . a b profile1 a The expected behavior is: When running the pr

Multiple Repository Handling (and ibiblio fallback)

2006-10-12 Thread Yves Van Steen
Hello, I’m looking for some help on repository handling. In our company we have 2 internal repository servers (both running maven-proxy). They are also used for Ibiblio mirroring. And they both contain 2 directories (one for snapshots and one for releases). This setup is complete and works l

Assembly: includes/excludes and dependencySet

2006-10-12 Thread Michael Schneider
Hi! I am trying to build a directory "test/lib" which only contains those dependencies belonging to scope "test". Currently the only dep with this property is the "junit.jar". So I am trying the following in my assembly descriptor: test/lib test *junit*

[m2] release-plugin - ignore snapshot versions

2006-10-12 Thread David J. M. Karlsen
Is there any way to let the releaseplugin to ignore the fact that I'm using snapshot versions of plugins. It's very nice that it checks, but I could still use the plugin to change poms, do svn tagging and so on. David -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http:/

Re: idea project jdk

2006-10-12 Thread Paul Barry
Fair enough, but the message does say: jdkName is not set, using [java version1.5.0_08] as default. Even when it uses "1.5", which is confusing. How does maven know which version of idea I am using? On 10/12/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote: I had this issue when I migrated from

RE: [M2] Deploy into Remote Repository

2006-10-12 Thread Yves Van Steen
Hey, This is an example of a pom with the settings to download to a repo server and from a repo server. For the deploying process just do "mvn deploy". It then builds this project and places it in the local repo and then deploys it to the remote repo. It uses scp (ssh based). http://maven.apac

Re: Running Maven 2.0.4 from behing a firewall

2006-10-12 Thread Wayne Fay
Try mvn -X for additional debugging information. And if you really want to access that buffer, try piping the output to a file and then email/ftp the file somewhere. Wayne On 10/12/06, Peter_S <[EMAIL PROTECTED]> wrote: Hi! I'm working on a project where one of the requirements is to update

RE: [M2] Deploy into Remote Repository

2006-10-12 Thread Yves Van Steen
I forgot something. If you want to declare it globally you can use a top project pom (like I did) or a company pom which your project pom inherits from using the parent tag in the pom.xml. I you have multiple people using one pc. Then you need to configure the server section in the settings.xml fi

[m2] Surefire-Plugin: how to get aggregated XML?

2006-10-12 Thread Gisbert Amm
Hi, in Maven1 the Junit Plugin wrote the test data aggregated into a file named TESTS-TestSuites.xml. How can I achieve this with the Maven2 Surefire plugin? -Gisbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: Maven XSLT Plugin Question

2006-10-12 Thread Siegfried Goeschl
HI Nate, https://svn.codehaus.org/mojo/trunk/mojo/xslt-maven-plugin worked for me Cheers, Siegfried Goeschl Nate wrote: I am not able to download this plugin source from specified SVN URL in the source repository link. Am I doing something wrong? Thanks, -Nate http://mojo.codehaus.org/x

Re: [M2] FindBugs Plugin: How to generate XML file?

2006-10-12 Thread Dan Tran
sounds like a bug, please file a JIRA On 10/12/06, Gisbert Amm <[EMAIL PROTECTED]> wrote: Does anybody know how I can persuade the Maven2 FindBugs Plugin to let Findbugs generate an XML file containing its results into the target directory in addition to the HTML report in target/site? The Mav

RE: Using modules in profiles

2006-10-12 Thread Zeltner Martin
Hello Nir Modules which are not defined inside a profile are "always active". Modules defined inside a profile will be added to the ones defined outside a profile. To achive your needs you define at best two profiles. The first one contains modules a and b and is activated by default, the second p

SCM URL field not sticky/not updating on web interface

2006-10-12 Thread Michael Kearney
Hello All, I'm having trouble with trying to update the SCM URL field on the Update Continuum Project webpage. I enter my new SCM information, trying to correct an earlier error. I then press the submit button and then force a build. The build works but when I go back to the Project Info webpag

RE: [M2] Classifier removed during packaging

2006-10-12 Thread Andreas Guther
Dan, What makes you think this is a bug? The classifier behavior seems to be hardly documented; at least I am not able to find any documentation. I am switching back and forth if this behavior is intentionally or not. I started to look into the maven-war-plugin sources but so far could not spot

[M2] XSLT Plugin

2006-10-12 Thread Nate
Hello, http://mojo.codehaus.org/xslt-maven-plugin/index.html What is the status of the maven2 XSLT Plugin? The source repository links are invalid. Is there a different location of the source code? Also, what is the difference between the following servers? http://people.apache.org/maven-sn

Re: [M2] Classifier removed during packaging

2006-10-12 Thread Dan Tran
from user perspective, some thing in maven changes the artifact file name which is unexpected. maven-dependency-plugin does a lots of artfacts manipulations, unless the user tells it so, the file name remains the same. -D On 10/12/06, Andreas Guther <[EMAIL PROTECTED]> wrote: Dan, What ma

mvn2 release:prepare not creating tag in svn

2006-10-12 Thread Attila Mezei-Horvati
I have a project as: Project/pom.xml Project/code/pom.xml --> type: jar Project/code2/pom.xml --> type: jar (depends on code.jar) Project/webapp/pom.xml --> type: war (depends on code.jar and code2.jar) If I run the commands: mvn release:prepare -DdryRun=true mvn release:prepare they run correc

Re: [M2] XSLT Plugin

2006-10-12 Thread Dan Tran
On 10/12/06, Nate <[EMAIL PROTECTED]> wrote: Hello, http://mojo.codehaus.org/xslt-maven-plugin/index.html The site for xslt plugin is old. svn url is http://svn.codehaus.org/mojo/trunk/mojo/xslt-maven-plugin This plugin 1.0 already released. Dont use the snapshot unless it has fixes you n

Classloader issue with ant optional tasks in a hierarchical structure

2006-10-12 Thread Zarar Siddiqi
Hi, I have a classloading issue with ant optional tasks which I've imported via ant-nodeps-1.6.5.jar. I have a multi-module maven project with modules at three levels: 1 a i ii b i ii 2 ... ... I'm using the maven-antrun-plugin in module 1.a.i in the following manner.

[M2] Insert project version into Javadoc?

2006-10-12 Thread Roland Bali
Hi everyone, Is it possible to insert contents of the version tag from the POM into the Javadoc @version-tag? Kind regards, Roland

Re: [M2] Insert project version into Javadoc?

2006-10-12 Thread Wayne Fay
A few ideas that might be worth investigating... 1. maven-antrun-plugin and replaceregexp task 2. maven-resources-plugin (not yet released) Wayne On 10/12/06, Roland Bali <[EMAIL PROTECTED]> wrote: Hi everyone, Is it possible to insert contents of the version tag from the POM into the Javadoc

Re: Maven 1.1 RC1 SNAPSHOT needs testers

2006-10-12 Thread Arnaud HERITIER
Thanks Gisbert. Do not hesitate to ask us some help. If there's some backward incompatibilities, we'll try to fix them. Arnaud On 10/12/06, Gisbert Amm <[EMAIL PROTECTED]> wrote: Arnaud HERITIER wrote: > Thanks James for your feedback. > We'll add a note about plugin dependencies in projects

Re: supported databases ?

2006-10-12 Thread Arnaud HERITIER
at org.jpox.store.rdbms.RDBMSManager$ClassAdder.addClassTablesAndValidate(R DBMSManager.java:3006) ... 54 more this was tested with daily build of today (20061012) - Daniel

mvn release number in command line

2006-10-12 Thread Attila Mezei-Horvati
Hi all, Sorry for all the spam generated by me. :) I was wondering if I can specify the version number for batch-mode in command line or some properties. I think in batch mode it will be automatic and I can not control it, but would like to make sure. I couldn't find any info on it on the net

RE: [M2] Classifier removed during packaging

2006-10-12 Thread Andreas Guther
Filed under http://jira.codehaus.org/browse/MPWAR-67 -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED] Sent: Thursday, October 12, 2006 9:50 AM To: Maven Users List Subject: Re: [M2] Classifier removed during packaging from user perspective, some thing in maven changes the ar

mvn2: specified profile ignored

2006-10-12 Thread Attila Mezei-Horvati
I have a multi-module project: main/pom.xml main/profile.xml main/code1/pom.xml main/code2/pom.xml main/webapp/pom.xml As you can see, I have a profile.xml in the main folder. I have about 5 profiles defined in it such as: skipunittest true

Re: mvn2: specified profile ignored

2006-10-12 Thread John Casey
You can use: mvn help:active-profiles to see what profiles are injected for which projects. If you feel this is not working according to the profiles you've specified explicitly (and you're not using anywhere), then please file a MNG issue: http://jira.codehaus.org/browse/MNG and attach a samp

[m2] finalName not working

2006-10-12 Thread Yann Albou
Hi, I try to use the finalName in my parent pom as following: ${artifactId} (without the version number) If I run maven from the parent pom everything works fine: all my artifacts are generated without the version number. and also the classpath entry of the manifest.mf file is correctly set.

Re: mvn release number in command line

2006-10-12 Thread Dan Tran
that is correct. you can not specify version on command line with batch mode. Why not trusting release:prepare to do that job for you? -D On 10/12/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote: Hi all, Sorry for all the spam generated by me. :) I was wondering if I can specify the ve

Has anyone made a jwsdp-1.6 repository?

2006-10-12 Thread Christian Goetze
Before I start on ther path of rolling my own, I was wondering if anyone already did this -- cg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: System scope and transitive dependencies

2006-10-12 Thread Manuel Ledesma
There cases where jars needs to be taken from there installation directory otherwise, It won't work. That's the case for weblogic.jar, which will load jars are need it base of its own path. Simon Kitching-2 wrote: > > On Thu, 2006-03-23 at 04:28 -0800, Richard Sladek wrote: >> Thanks for your o

Re: mvn2: specified profile ignored

2006-10-12 Thread Attila Mezei-Horvati
John, thanks for the fast reply. I checked with a simple project (just created a new one) and I could reproduce the issue. So I filed a case as you suggested. The case id is: MNG-2605 . thanks, Attila - To unsubscribe, e-m

Re: mvn release number in command line

2006-10-12 Thread Attila Mezei-Horvati
Dan, We have two cases of releases. For QA, we number the build as App-MAJOR.TESTBUILDNUMBER, such as App-4.3001, App-4.3002 . At release time we have a PRODBUILDNUMBER, such as App-4.5001, App-4.5002 (these are release candidates). My coworkers want a "one-click" build, so I was hoping I can

Re: mvn release number in command line

2006-10-12 Thread Dan Tran
voice your requirement thru this unimplemented yet feature enhancement http://jira.codehaus.org/browse/MRELEASE-100 -D On 10/12/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote: Dan, We have two cases of releases. For QA, we number the build as App-MAJOR.TESTBUILDNUMBER, such as App-4.3001

Re: System scope and transitive dependencies

2006-10-12 Thread Max Cooper
I would expand that a bit to say that there are three types of repos that I think are common for teams using maven: * the public repos like ibiblio * a repo that your team maintains for your project or organization (often using the "local repo" part of a "maven-proxy" or "proximity" instance)

How do people search for jars and poms?

2006-10-12 Thread Christian Goetze
If this is a stupid question, I apologise in advance... Given a dependency to a specific set of classes, how do people locate the jar that provides it, together with the artifact and group ids? I haven't yet found a better way than to search through ibiblio, hoping to find something there - bu

Re: System scope and transitive dependencies

2006-10-12 Thread Manuel Ledesma
Thanks for the advide, I already create a similar layout (application repo, vendor repo and public). Back to the case of weblogic, It needs to be taken from its installation directoy and I'm having hard time writing puglins for it. The workaround that I found it's using the Ant java task to fork a

Re: Has anyone made a jwsdp-1.6 repository?

2006-10-12 Thread Aleksei Valikov
> Before I start on ther path of rolling my own, I was wondering if anyone > already did this Take a look at maven-repository.dev.java.net maven2-repository.dev.java.net We've got a number of jwsdp jars deployed ther. Not all but you're free to add more. -- Der GMX SmartSurfer hilft bis

Re: How do people search for jars and poms?

2006-10-12 Thread Jason Chan
I am using: MVN Registry http://www.mvnregistry.com/ On 10/13/06, Christian Goetze <[EMAIL PROTECTED]> wrote: If this is a stupid question, I apologise in advance... Given a dependency to a specific set of classes, how do people locate the jar that provides it, together with the artifact and

Re: [m2] Compiling JSPs

2006-10-12 Thread zarar
What about the case where the web.xml and any .tld files are generated (via XDoclet). In that case the web.xml wouldn't be in the src/main/webapps folder but somewhere in target/gen. The jsp plugin expects a nice little directory structure where the web.xml, JSP's and .tld are rooted under the

Re: System scope and transitive dependencies

2006-10-12 Thread Wayne Fay
We are suggesting that you install the weblogic jar(s) into your vendor repo. And stop using system scope... Wayne On 10/12/06, Manuel Ledesma <[EMAIL PROTECTED]> wrote: Thanks for the advide, I already create a similar layout (application repo, vendor repo and public). Back to the case of web

properties in plugins vs. pom

2006-10-12 Thread pjungwir
Hello, I'm developing a plugin in maven 2.0.4. My plugin has a property annotated like this: /** * @parameter default-value="${artifactId}.exe" */ private File outfile; When I use the plugin, outfile is set to "/home/pjungwir/src/encc/null.exe." But suppose I use this javadoc instead: /**

Re: properties in plugins vs. pom

2006-10-12 Thread Dan Tran
inconsistency i guess, I suggest to always start with ${project} -D On 10/12/06, pjungwir <[EMAIL PROTECTED]> wrote: Hello, I'm developing a plugin in maven 2.0.4. My plugin has a property annotated like this: /** * @parameter default-value="${artifactId}.exe" */ private File outfile;

Confused about Maven 2 Eclipse plugin

2006-10-12 Thread Los Morales
I'm currently using Eclipse 3.2 and Maven 2 plugin version 0.0.9. When I enable Maven 2 and right-click on my main project, there are only 2 options for me in the popup menu: 1) Update Source Folders and 2) Add Dependency... Where are the lifecycle phases or custom goals? Seems like the Net

Re: properties in plugins vs. pom

2006-10-12 Thread pjungwir
dan tran wrote: > > inconsistency i guess, I suggest to always start with ${project} > I'm surprised at the implication: different code handles variable replacement here vs. there. Inconsistencies like this can be maddening. Could I file this as a jira? Maybe I'll even supply a patch. :-)

Re: System scope and transitive dependencies

2006-10-12 Thread Manuel Ledesma
I did it, but Weblogic jar does not work that way, It looks for other jars in there WL_HOME/server/lib directory, reason why? it needs to be taken from there. Wayne Fay wrote: We are suggesting that you install the weblogic jar(s) into your vendor repo. And stop using system scope... Wayne O

Re: Confused about Maven 2 Eclipse plugin

2006-10-12 Thread Manuel Ledesma
Look at external tools. You can launch lifecycle and goals from there. Los Morales wrote: I'm currently using Eclipse 3.2 and Maven 2 plugin version 0.0.9. When I enable Maven 2 and right-click on my main project, there are only 2 options for me in the popup menu: 1) Update Source Folders and

Re: properties in plugins vs. pom

2006-10-12 Thread Dan Tran
I am wrong ;-) when you are in pom.xml, ${someVar} means a reference of a variable under root of the pom However, maven also aware of other key vars such as ${project}, ${settetings} etc. Therefore ${project.artifactId} and ${artifactId} are the same thing ${basedir} ${project.basedir}

Re: properties in plugins vs. pom

2006-10-12 Thread pjungwir
dan tran wrote: > > when you are in pom.xml, ${someVar} means a reference of a variable under > root of the pom > Ah, so within the pom, the "project." prefix is optional. It looks like it is also optional when filtering resource files. But not when annotating plugins. That's still a little an

Re: Confused about Maven 2 Eclipse plugin

2006-10-12 Thread Los Morales
Hi, Thanks for the tip. Now I tried the lifecycle clean, compile and package on my base project, but it doesn't recurse down to my sub projects. For example, I have this setup: -->Main Project ---> Project 1 ---> pom.xml ---> Project 2 ---> pom.xml ---> pom.xml Now

Maven plugin to generate Java source, SQL schema, and O/R mapping files from XSD?

2006-10-12 Thread Tim Moloney
Forgive me if this is a naive question but I've search the web and haven't found an obvious answer. I'd like to find a tool that generates Java source files, SQL schema files, and O/R mapping files from the same XSD file. The input XSD file (over which I have no control) defines the format of

Re: System scope and transitive dependencies

2006-10-12 Thread Wayne Fay
Have you tried adding ALL of those jars to your vendor repo, and adding each one as a dependency in your pom? If they're all available on the CLASSPATH while executing the plugin, I don't know why it would need to access WL_HOME at all. I'm not currently a Weblogic user, so I'm not sure what it e

Re: Maven plugin to generate Java source, SQL schema, and O/R mapping files from XSD?

2006-10-12 Thread Wayne Fay
I'm not aware of such a tool; perhaps take a look at XDoclet or Hibernate, they have a variety of tools available in this domain, maybe you'll find something that will work... Also, you might be able to use some XSLT to convert your input XSD into a "Hydrate model XSD" and then use the Hydrate so

mvn -N install not working for daytrader

2006-10-12 Thread Satish Gupta
I am just starting to learn Maven. I am trying to follow the instrucations in "Better Builds with Maven" but get the following message right off the bat: It requires a project with an existing pom.xml , but the build is not using one. I am using maven2.0.4 on Windows XP. I'd appreciate any help

  1   2   >