How to add a dependency - newbie to maven

2008-01-09 Thread rakeshsugirtharaj
Hi folks!, I m doing a project that uses SWT for gui. How do i add the dependent jars to maven? Any help will be appeciated. Thanks in advance -- View this message in context: http://www.nabble.com/How-to-add-a-dependency---newbie-to-maven-tp14729321s177p14729321.html Sent fr

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread Guillaume Lederrey
On 09/01/2008, simon <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-01-09 at 14:23 +0100, Guillaume Lederrey wrote: > > Thanks a lot for all the feedback ! > > > > I am still not completely convinced ... see below. > > > > On 09/01/2008, Beelen, M. - SPLXL <[EMAIL PROTECTED]> wrote: > > > Ïn my opitio

Re: Exploded SAR with in an EAR

2008-01-09 Thread Haim Ashkenazi
On Jan 10, 2008 7:57 AM, amit kumar <[EMAIL PROTECTED]> wrote: > I am packaging an EAR with a SAR in it. How do exploded EAR with an exploded > SAR. > The ear plugin by default is creating an exploded EAR but SAR within that is > still packaged. > > Any ideas? yes. take a look at the profile below.

Exploded SAR with in an EAR

2008-01-09 Thread amit kumar
I am packaging an EAR with a SAR in it. How do exploded EAR with an exploded SAR. The ear plugin by default is creating an exploded EAR but SAR within that is still packaged. Any ideas? Regards, Amit On Jan 7, 2008 5:48 PM, amit kumar <[EMAIL PROTECTED]> wrote: > Thanks a ton stuart. Its w

Re: commons-logging-1.0.4

2008-01-09 Thread amit kumar
Thanks Olivier/wayne, you are right. 1.0.4 was the left over. Regards, Amit On Jan 10, 2008 8:02 AM, Wayne Fay <[EMAIL PROTECTED]> wrote: > Have you run mvn clean lately? It might be leftover from a previous > build, as suggested by Olivier. > > Wayne > > On 1/9/08, Olivier Dehon <[EMAIL PROTECT

how to add additional path to the compiler ?

2008-01-09 Thread garyng
I followed this http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html but it seems that it is being ignored/eaten. What I want is to include the "src/main/webapp/WEB-INF/lib" to the compiler classpath as there are libraries not managed in maven. I believe

[ANN] jasperreports-maven-plugin 1.0-beta-1 released

2008-01-09 Thread Dan Tran
The Mojo team are pleased to announce the the first beta release of the JasperReports Maven plugin The site is at: http://mojo.codehaus.org/jasperreports-maven-plugin Enjoy! -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: JUnit test compilation problems

2008-01-09 Thread nbertram
Just add a plugin configuration for the maven-compiler-plugin to your project pom. The example below shows such a configuration. Sorry its not nicely color coded. 4.0.0 bla.examples bla Bla 1.1 src/main src/test

Re: commons-logging-1.0.4

2008-01-09 Thread Wayne Fay
Have you run mvn clean lately? It might be leftover from a previous build, as suggested by Olivier. Wayne On 1/9/08, Olivier Dehon <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-01-09 at 11:26 +0530, amit kumar wrote: > > Hi, > > I am building a WAR package, and every time I see > > commons-logging-

tasks if or unless does not work properly

2008-01-09 Thread Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at Cisco)
Hi, Any idea when this issue will be fixed or anyone have any workaround for this ? http://jira.codehaus.org/browse/MANTRUN-75 the below does not work from the example at http://maven.apache.org/plugins/maven-an

JUnit test compilation problems

2008-01-09 Thread supareno
hello guys, a little problem with maven and JUnit test. i use JUnit 4.1 and a jdk 1.6.0_03 under linux (ubuntu) my JAVA_HOME is correctly set and MAVEN_HOME too ! i wrote test classes with static import, annotations and generics. when i run maven in a terminal mvn test-compile i've got the fo

Re: commons-logging-1.0.4

2008-01-09 Thread Olivier Dehon
On Wed, 2008-01-09 at 11:26 +0530, amit kumar wrote: > Hi, > I am building a WAR package, and every time I see > commons-logging-1.0.4being put in the WEB-INF\lib folder. Although > this is not described in my > pom.xml(I have commons-logging-1.1 as my dependency in the pom.xml) Still I > am getti

Re: Maven bypassing declarations?

2008-01-09 Thread Nick Stolwijk
Because the default repository "central" is always a repository. This one can only be overridden by a mirror section in your settings.xml. Hth, Nick Stolwijk Brewster, Richard wrote: We have set up Artifactory at our company and the only references in refer to Artifactory. Yet Maven seems t

Re: Maven bypassing declarations?

2008-01-09 Thread Wendy Smoak
On Jan 9, 2008 3:58 PM, Brewster, Richard <[EMAIL PROTECTED]> wrote: > We have set up Artifactory at our company and the only references in > refer to Artifactory. Yet Maven seems to go around > Artificatory for some artifacts. When building up a clean, empty local > repository, some artifacts a

Re: Maven bypassing declarations?

2008-01-09 Thread Wayne Fay
Have you checked mvn help:effective-pom and help:effective-settings? http://maven.apache.org/plugins/maven-help-plugin/usage.html Wayne On 1/9/08, Brewster, Richard <[EMAIL PROTECTED]> wrote: > We have set up Artifactory at our company and the only references in > refer to Artifactory. Yet Mave

Maven bypassing declarations?

2008-01-09 Thread Brewster, Richard
We have set up Artifactory at our company and the only references in refer to Artifactory. Yet Maven seems to go around Artificatory for some artifacts. When building up a clean, empty local repository, some artifacts are found that are not cached in Artifactory. How can this be happening? Some

Re: Dependency version range not working. "The artifact has no valid ranges" is given when it certainly looks like it has a valid range.

2008-01-09 Thread Michael McCallum
For some reason the over constrained exception is hidden try mvn dependency:resolve -X and look for the OverConstrainedException which means you have two non overlapping ranges for the same artifact in the resolution tree On Thu, 10 Jan 2008 08:14:05 Chris Andersen wrote: > New user to maven. L

Maven Multimodule Site plugins

2008-01-09 Thread Morgovsky, Alexander (US - Glen Mills)
Hello. Could someone please tell me if there are any multimodule site reporting plugs which produce multimodule reports? I have tried many plugins like javaNCSS but all the resulting sites return all 0's. This message (including any attachments) contains confidential information intended for

Re: [archiva 1] changing the Identifier name of a REPO?

2008-01-09 Thread Mick Knutson
I do not see anything to do with repositories in the /home/dapadmin/apache- tomcat-5.5.25/conf/Catalina/localhost/archiva.xml Only DB and war information. On Jan 9, 2008 12:28 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Jan 9, 2008 12:30 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I do

Re: Error by running "Create a project" in "Maven in 5 Minutes"

2008-01-09 Thread Wayne Fay
The "problem" email header is this one: In-Reply-To: <19a9f6be0801080130k142ce7f6l1f235113191d03bf> When you reply to an email, your email client (or yahoo.de website) inserts that header into the new email. Even when you change the subject and delete the old email content, that header is stil

remote repositories verse proxy connectors...??

2008-01-09 Thread Mick Knutson
I am trying to crate a project mirror where my team only accesses our repository. But I am now having issues getting " http://snapshots.repository.codehaus.org/"; resources like dashboard-plugin. Here is my proxy connector setting: Proxy Connector Codehaus-Maven-Snapshot Codehaus-Maven-Snapshot

Re: Error by running "Create a project" in "Maven in 5 Minutes"

2008-01-09 Thread Dennis Lundberg
Can you please refrain from replying to an old message when you have a completely new question. This is most annoying for people using a mail-client that can show mail threads. If you have a new question just send a completely new message to users@maven.apache.org Thank you. Thomas Chang wrot

maven-release-plugin / release:prepare goal in batch mode with customized values

2008-01-09 Thread Julien CARSIQUE
Hello, I would like to automate more my releasing process. How can I feed release:prepare goal with the needed values ? I know "--batch-mode" but it uses the default inputs for the versions and tag information. Is it using the -Darguments="version_tag new_version" ? Thanks, Julien -- Julien

Re: [archiva 1] changing the Identifier name of a REPO?

2008-01-09 Thread Steven Cummings
Just an FYI: I couldn't seem to find any path from http://maven.apache.org/archiva to that page, so that me be the source of the confusion. On Jan 9, 2008 2:28 PM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Jan 9, 2008 12:30 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I do not want to have t

Best practices on versioning and releasing distro/installer

2008-01-09 Thread Kalle Korhonen
I'm facing a similar issue in a couple Maven projects where I'm creating a a distribution package (e.g. tar.gz) or an installer (e.g rpm, Windows installer) for a binary (jar, exe). I have a separate module for the packager that has a dependency to the binary, and a parent pom for these. Say, for e

Release plug-in fails to add/remove release-pom.xml in CVS

2008-01-09 Thread PARINI, MARY KAY [AG/1000]
I'm trying to use the release plug-in on a very simple multi-module project but the plug-in seems to be having problems adding/removing the release-pom.xml file for parent to CVS. My project structure looks like this (minus the source files)... sample/ pom.xml sample-shared/

Re: Error by running "Create a project" in "Maven in 5 Minutes"

2008-01-09 Thread Thomas Chang
You are right. :-) Wayne Fay <[EMAIL PROTECTED]> schrieb: Show us the command line you typed. It seems you might have mistyped something. Wayne On 1/9/08, Thomas Chang wrote: > Hi all, > > I try to create a project according to the "Maven in 5 Minutes" under > http://maven.apache.org/guides

Re: [archiva 1] changing the Identifier name of a REPO?

2008-01-09 Thread Wendy Smoak
On Jan 9, 2008 12:30 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > I do not want to have to delete, and re-create the REPO just to change the > name from 'internal' to something more descriptive like 'myproject.internal'. > How can I do this as when I edit the repo I did not see this option. Pleas

Re: in POM.XML how to set groupID , artifactID with my corosponding directory structure

2008-01-09 Thread Wayne Fay
You can choose whatever groupId and artifactId you wish for your own project pom.xml file. Having said that, your file structure does not match Maven's required structure, so you will either need to customize the pom.xml or adjust your project layout (my suggestion). Maven likes projects to look

Re: Error by running "Create a project" in "Maven in 5 Minutes"

2008-01-09 Thread Wayne Fay
Show us the command line you typed. It seems you might have mistyped something. Wayne On 1/9/08, Thomas Chang <[EMAIL PROTECTED]> wrote: > Hi all, > > I try to create a project according to the "Maven in 5 Minutes" under > http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

Releasing a Project with Modules

2008-01-09 Thread Thomas Tardy
Hello, I'm trying to use the release plugin to release a project with several modules. I managed to get it working that the versions of the parent project and the modules is being updated. I'm dealing with the issue that only the parent project is being uploaded to my SCM. Is it possible to upload

Re: specify webapp log

2008-01-09 Thread sgargan
This should help you out http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat rgds, ste Zemian Deng-2 wrote: > > Hi, when I deploy archiva.war file, I get these two error telling that I > must have /logs created. Where can I specify to different location? > > java.io.FileNotFoundExc

Sorry email test

2008-01-09 Thread Claudio Ranieri
Sorry email test

Error by running "Create a project" in "Maven in 5 Minutes"

2008-01-09 Thread Thomas Chang
Hi all, I try to create a project according to the "Maven in 5 Minutes" under http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html. The mirror in my "setting.xml" is the remote repository in the server machine. I got error as follow. But when I run using the central mirror,

in POM.XML how to set groupID , artifactID with my corosponding directory structure

2008-01-09 Thread abdul halim
Hello, My java project directory structure is as follows Test2 Service Src Com Ek3 Test Addition.java Could anyone please tell m

how to set groupid and artifactid in POM.xml from won directory structure

2008-01-09 Thread abdul halim
Hello, I am a new user of maven. could you please let me know what will be groupid and artifactid if I want to write pom.xml to create war file. My java project directory structure is as following test2 service src com

Re: Why do maven lifecycles fork?

2008-01-09 Thread Steinar Bang
> Steinar Bang <[EMAIL PROTECTED]>: > So... if I move it to eg. generate-sources, I may get rid of the > problem? I'll try, and post back the results. Moving the dependency:copy config from generate-sources to generate-resources, and doing the antrun:run patch in process-resources did the tr

[archiva 1] changing the Identifier name of a REPO?

2008-01-09 Thread Mick Knutson
I do not want to have to delete, and re-create the REPO just to change the name from 'internal' to something more descriptive like 'myproject.internal'. How can I do this as when I edit the repo I did not see this option. -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.

Dependency version range not working. "The artifact has no valid ranges" is given when it certainly looks like it has a valid range.

2008-01-09 Thread Chris Andersen
New user to maven. Loving it so far. But I've encountered a real hair puller. I have a controller project that uses maven to manage its dependencies. One of its dependencies is on a library (dba.library) that is also built using maven. The library has two release branches (current versions are

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread simon
On Wed, 2008-01-09 at 14:23 +0100, Guillaume Lederrey wrote: > Thanks a lot for all the feedback ! > > I am still not completely convinced ... see below. > > On 09/01/2008, Beelen, M. - SPLXL <[EMAIL PROTECTED]> wrote: > > Ïn my opition the cycle you mention where the snake bites it's tail" can

Re: Why do maven lifecycles fork?

2008-01-09 Thread Steinar Bang
First an update: removing this from both the SuperPOM and the Project parent POM, caused my forked lifecycle message to go away. I tried doing like this page does http://maven.apache.org/plugins/maven-source-plugin/usage.html ie. changing the original org.apache.maven.plugins m

Assembly jar-with-dependencies

2008-01-09 Thread Davide Angelocola
Hi, I've troubles in assembling an artifact that uses two jars with a META-INF/services/foo. There is a way to merge these files into a single file? Thanks in advance. -- Best Regards, -- Davide Angelocola - To unsubscribe,

Re: error on maven-clean-plugin

2008-01-09 Thread simon
On Wed, 2008-01-09 at 11:35 +0100, François Xavier Gendrin wrote: > Hi, > > I updated some plugin and crash, an error. Error says to specify: > '-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom > configuration file, but I didn't find how to configure it with pom file ... > S

Re: maven-changes-plugin / Problem

2008-01-09 Thread Dennis Lundberg
Try to use the reportSets configuration found in this example: http://maven.apache.org/plugins/maven-changes-plugin/examples/alternate-changes-xml-location.html That should make the plugin create *only* the changes-report. Karl Heinz Marbaise wrote: Hello, i'm using maven with the maven-chang

Re: error on maven-clean-plugin

2008-01-09 Thread Dennis Lundberg
If you post your pom configuration for maven-clean-plugin, we might be able to help you. Better yet, include the whole element from your pom. François Xavier Gendrin wrote: Hi, I updated some plugin and crash, an error. Error says to specify: '-Dproject.reporting.outputDirectory=VALUE', but

Re: [archiva 1] issue finding transitive dependancies

2008-01-09 Thread nicolas de loof
setting archiva as a mirror for any repository you don't need to declare anything as repository/pluginReposiotry (until you use snapshots). Can you manually request archiva for maven-compiler-plugin and its metadatas ? 2008/1/9, Mick Knutson <[EMAIL PROTECTED]>: > > I have set up Archiva as my p

maven-changes-plugin / Problem

2008-01-09 Thread Karl Heinz Marbaise
Hello, i'm using maven with the maven-changes plugin to create a changes report...so far so good Here is my configuration for the plugin: org.apache.maven.plugins maven-changes-plugin %URL%/ticket/%ISSUE% ${basedir}/changes.xml During the site generation i g

RE: Re: Why do maven lifecycles fork?

2008-01-09 Thread Brian E. Fox
According to the site: http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html source:jar This plugin bundles all the sources into a jar archive. Mojo Attributes: * Requires a Maven 2.0 project to execute. * Since version: 2.0 * Automatically executes within the lifecycle

Re: Why do maven lifecycles fork?

2008-01-09 Thread Steinar Bang
> "Brian E. Fox" <[EMAIL PROTECTED]>: > Any plugin that declares @execute [phase] will cause the build to > fork. The dependency plugin does not, but one of your other plugins > must. I know that javadoc did, assembly does (depending on which > goal), enforcer:enforce-once does. Take a look a

[archiva 1] issue finding transitive dependancies

2008-01-09 Thread Mick Knutson
I have set up Archiva as my project mirror. I want my team to ONLY use my mirror. Do I have to declare EVERYTHING in my pom now? *Here are my settings:* dap.internal http://rc-sun66e.ut.dentegra.lab:8080/archiva/repository/internal/ * *

Re: Releasing multi-module project that uses svn:externals

2008-01-09 Thread Doug Knesek
Hi Rahul, Did you ever figure this out? - Doug Rahul Thakur wrote: > > Hi, > > I am attempting to release a multi-module project which is set up > something like this in an SVN repo: > > Parent (pom-only) > | > | _ _Core (linked via svn:externals to a different SVN location) > | > |_ _ W

Re: Continuum: what does default mean?

2008-01-09 Thread Olivier Lamy
Hi, You mean when adding a project in the Build Definition list box ? If yes it's the default build definition for the project type (maven1, maven2, ant). If you are adding a m2 project : Default == default maven2 template. Sure it's a little verbose here because we repeat the same things. -- Oli

Continuum: what does default mean?

2008-01-09 Thread Simon Kitching
Hi, On a continuum site, what does the "default" setting mean for a project? Thanks, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Why do maven lifecycles fork?

2008-01-09 Thread Brian E. Fox
Any plugin that declares @execute [phase] will cause the build to fork. The dependency plugin does not, but one of your other plugins must. I know that javadoc did, assembly does (depending on which goal), enforcer:enforce-once does. Take a look at the various plugins you have bound and see which o

Re: import file from other modules

2008-01-09 Thread François Xavier Gendrin
François Xavier Gendrin a écrit : Matthew Tordoff a écrit : > Hi Francois, > > To retrieve any files you first of all need to install them into the Maven repository in some way, and to install them into the Maven repository so they are accessible by other modules which can then retrieve them.

RE: does ignoreSnapshots on release plugin work ?

2008-01-09 Thread nicklist
The code of the release plugin is: /** * Whether to allow timestamped SNAPSHOT dependencies. Default is to fail when finding any SNAPSHOT. * * @parameter expression="${ignoreSnapshots}" default-value="false" */ private boolean allowTimestampedSnapshots; So I don't th

Re: does ignoreSnapshots on release plugin work ?

2008-01-09 Thread nicolas de loof
Sorry, I made a stupid typo on command line. 2008/1/9, nicolas de loof <[EMAIL PROTECTED]>: > > I'm trying the release plugin 2.0-beta-8-SNAPSHOT with > -DignoreSnapshots=true, but still can't release when my project has > dependencies on snapshots. > > Is this really supported ? >

does ignoreSnapshots on release plugin work ?

2008-01-09 Thread nicolas de loof
I'm trying the release plugin 2.0-beta-8-SNAPSHOT with -DignoreSnapshots=true, but still can't release when my project has dependencies on snapshots. Is this really supported ?

RE: Ordering of compilation

2008-01-09 Thread nicklist
In your plugin you have to start working with the maven api. To get the compile time dependencies as class path elements (like the compiler plugin) you would use project.getCompileClasspathElements(). To get the test compile as class path elements it would be project.getTestClasspathElements().

Re: Difference between and

2008-01-09 Thread amit kumar
I have used 2.0.2 and even 2.1-alpha-1. CVS files don't get excluded unless until i use webResources additionally to again point to the webroot directory and then excluding it. what works fine for me is ${basedir)/webRoot ${basedir)/webRoot **/CVS **/*.b

Re: Difference between and

2008-01-09 Thread Stephane Nicoll
you don't need to exclude CVS files unless you're running the very old v2.0. Use v2.0.2 Stéphane On Jan 9, 2008 12:23 PM, amit kumar <[EMAIL PROTECTED]> wrote: > Hi, > when I use for my webroot directory the exclusion of > files doesn't work( I want to exclude CVS files. But it works fine > with

RE: Ordering of compilation

2008-01-09 Thread Matthew Tordoff
Hi Nick, I have switched to your approach and do as follows: Module 1: build first java package Module 2: translate SQLJ and build second java package (with module 1 listed as a dependency within the pom) However, whatever I seem to do, my SQLJ plugin doesn't seem to be able to find the module1.

Why do maven lifecycles fork?

2008-01-09 Thread Steinar Bang
Platform: maven-2.0.8, maven-dependency-plugin 2.0-alpha-4, maven-antrun-plugin 1.1, maven-jar-plugin 2.1 Why does maven lifecycles fork? Ie. what makes them fork? I have a setup where I use dependency:copy to pull in some files from the maven repository, and put them under target/clas

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread Guillaume Lederrey
Thanks a lot for all the feedback ! I am still not completely convinced ... see below. On 09/01/2008, Beelen, M. - SPLXL <[EMAIL PROTECTED]> wrote: > Ïn my opition the cycle you mention where the snake bites it's tail" can only > be a real problem is you actually do have circular dependencies, w

RE: A question about using Mirrors for Repositories

2008-01-09 Thread Thomas Chang
Hi, I've installed the Archiba both in office and at home. When I run at home, everything is OK. When I do the same in office, I still have problem by downloading the "http://sap-dev:8080/archiva/repository/internal/org/apache/maven/archetype/maven-archetype/1.0-alpha-7/maven-archetype-1.0

RE: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread Beelen, M. - SPLXL
Hi, First of all I agree with Nick and the path you have chosen already. So using your framework isn't a problem anymore. Ïn my opition the cycle you mention where the snake bites it's tail" can only be a real problem is you actually do have circular dependencies, which often isn't the case. I

RE: Ordering of compilation

2008-01-09 Thread nicklist
As an afterthought, I would still recommend two modules: module 1: compile and process-classes (which is a phase, to bind your sqlj plugin to) module 2: dependency on module 1 and compile This is much easier to understand for other developers and inline with the maven thought. Hth, Nick Stolw

RE: A question about using Mirrors for Repositories

2008-01-09 Thread Thomas Chang
Hi, I've installed the Archiba both in office and at home. When I run at home, everything is OK. When I do the same in office, I still have problem by downloading the "http://sap-dev:8080/archiva/repository/internal/org/apache/maven/archetype/maven-archetype/1.0-alpha-7/maven-archetype-1.0

RE: Ordering of compilation

2008-01-09 Thread nicklist
The target/classes directory is in the classpath (check with mvn -X clean compile). Did you generate classes or java files? If you generated classes they should be in target/classes, if you generated java files, you'll need the maven-build-helper-plugin [1]. Hth, Nick Stolwijk [1] http://mojo

How can I specify different configurations for one plugin with multiple goals?

2008-01-09 Thread torsten . reinhard
Hi, I´m using the "maven-depgraph-plugin" to generate dependency-visualization graphics, which I want to include in the generated website. This plugin has 2 goals and I need a different configuration for each goal 1) for "depgraph" goal no groupFilter is necessary, I want to see all the depend

RE: Ordering of compilation

2008-01-09 Thread Matthew Tordoff
Hi Nick, Thanks for your response. I actually decided to follow your second option of configuring a second execution of the compiler plugin. The only problem is that when the build gets to the main compilation it doesn't appear to have the target folder on the classpath and thus can't find the cod

Re: Difference between and

2008-01-09 Thread amit kumar
Hi, when I use for my webroot directory the exclusion of files doesn't work( I want to exclude CVS files. But it works fine with tag. What is the work around for or some other tag available? regards, Amit On 1/5/08, Stephane Nicoll <[EMAIL PROTECTED]> wrote: > webappDirectory is for the main

Re: Bad checksums in repo1.maven.org

2008-01-09 Thread Max Bowsher
Dennis Lundberg wrote: There is a JIRA project for reporting repository errors: http://jira.codehaus.org/browse/MEV Wherein this is already reported: http://jira.codehaus.org/browse/MEV-530 Any chance it could be fixed? (And if someone's doing that one, maven-2.0.7.pom, MEV-536 too) Thanks,

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread Guillaume Lederrey
On 09/01/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have to investigate the migration to Maven in our organisation. We > > have a pretty large software base : about 100 projects each generating > > 3 to 6 artifacts. A part of these modules are a framework used by most > > other projec

error on maven-clean-plugin

2008-01-09 Thread François Xavier Gendrin
Hi, I updated some plugin and crash, an error. Error says to specify: '-Dproject.reporting.outputDirectory=VALUE', but I prefer to use pom configuration file, but I didn't find how to configure it with pom file ... Some one could help ? [INFO]

RE: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread nicklist
> I have to investigate the migration to Maven in our organisation. We > have a pretty large software base : about 100 projects each generating > 3 to 6 artifacts. A part of these modules are a framework used by most > other projects. On this basis I would start with three parent poms. - On for th

RE: Ordering of compilation

2008-01-09 Thread nicklist
> I am looking at building the initial java code in a separate module, > then importing it and unpacking it as a dependency and then continuing > with the build as previously designed, packing everything up in a single > JAR at the end. I would go for this way. Even not unpacking the dependency, b

Re: Dependency versions in large multi-projects multi-modules environment

2008-01-09 Thread Guillaume Lederrey
I'm trying to go down the path of option #1 below : * a super pom which define all dependencies, we can leave it in SNAPSHOT state for the dev cycle * all libraries reference this parent pom. The libraries can go through a couple of version increments during the dev cycle. Now I have a problem at

Ordering of compilation

2008-01-09 Thread Matthew Tordoff
Hi all, I have the need to impose a specific ordering of compilation of some source code I have. I need to achieve the following: 1 - compile some Java 2 - translate SQLJ (dependent on above compilation) 3 - compile some further Java (dependent on translated SQLJ) To translate the SQLJ I have

Re: can a plugin execute another one ?

2008-01-09 Thread Stephen Connolly
I know that a plugin can fork a maven execution if it needs to... can't remember how On Jan 9, 2008 9:34 AM, nicolas de loof <[EMAIL PROTECTED]> wrote: > Hello, > > I need some custom packaging that requires to post-process the > tar.gzgenerated by the assembly plugin. > > How can I force the exe

can a plugin execute another one ?

2008-01-09 Thread nicolas de loof
Hello, I need some custom packaging that requires to post-process the tar.gzgenerated by the assembly plugin. How can I force the execution of the assembly plugin from another plugin ? The @execute goal="" only applies on goals from the same plugin, and assembly is not attached to a phase. Nico.

RE: Jar files dependency

2008-01-09 Thread Beelen, M. - SPLXL
Hello Angelo, To find the proper dependency information for certain libraries you can use: http://mvnrepository.com/ If you want to use libraries, which are not available in public libraries, you need to install those jars in to your local repository, so that you can declare them as normal depend

UPDATE: Number of reported tests is incorrect (regression?)

2008-01-09 Thread HHansen
A little more info. I forgot to mention that the problem seems to be that surefire ignores some of our test suites when counting the total number of processed tests. We have 11 seperate test suites (not 9 as mentioned before) and 4 of these test suites are not included in the list of test resu

Re: how to skip snapshot verification in release plugin ?

2008-01-09 Thread Jochen Wiedmann
On Jan 9, 2008 10:02 AM, nicolas de loof <[EMAIL PROTECTED]> wrote: > Can I tell the release plugin to ignore this one during release checks ? I do not know, whether you can. But the recommended way is to take the current snapshot, define your own version number (for example 20080109)

Surefire-plugin 2.3.1 xml-apis classpath issue

2008-01-09 Thread Ivan Garcia
Hi there, Was there any change in surefire-plugin from version 3.2 to 3.2.1 that changes the way xml apis are loaded for tests? With version 3.2, I can add xercesIml in scope:test and use XSD validation. After getting the upgrade to version 2.3.1 I'm getting this error: nested exception is jav

how to skip snapshot verification in release plugin ?

2008-01-09 Thread nicolas de loof
Hello, My POM is configured with a snapshot version of the eclipse plugin (as some fix are required in my env). I'd like to release my project. This plugin is NOT required to be stable to make the build reproductible. Running mvn release:prepare force me to use a non-snapshot version of the plugi

RE: How to avoid transitive Dependencies getting packaged

2008-01-09 Thread nicklist
If you want the jar file of module A working at runtime, how is that possible without the transitive libraries? Could you change the module to include those dependencies only at compile time? Then they won't be transitive at runtime. With regards, Nick Stolwijk -Original Message- From

Re: import file from other modules

2008-01-09 Thread François Xavier Gendrin
Matthew Tordoff a écrit : Hi Francois, To retrieve any files you first of all need to install them into the Maven repository in some way, and to install them into the Maven repository so they are accessible by other modules which can then retrieve them. The basic steps are: Package/Assemble,

RE: How to avoid transitive Dependencies getting packaged

2008-01-09 Thread nicklist
Amit, Could you send me the output of mvn clean install -X (pipe it to a file) privately. I can have a look at it and reply here hopefully the solution. With regards, Nick Stolwijk -Original Message- From: amit kumar [mailto:[EMAIL PROTECTED] Sent: Wed 1/9/2008 9:23 AM To: Maven Users

Re: How to avoid transitive Dependencies getting packaged

2008-01-09 Thread amit kumar
Yes Vishal thats very true, in fact even i am looking for a similar solution. On Jan 9, 2008 2:01 PM, Vishal Pahwa <[EMAIL PROTECTED]> wrote: > > Amit > > Thats pretty much fine but the problem is we have got plenty of > dependencies and stopping them to get inside lib directory with this > metho

RE: How to avoid transitive Dependencies getting packaged

2008-01-09 Thread Vishal Pahwa
Amit Thats pretty much fine but the problem is we have got plenty of dependencies and stopping them to get inside lib directory with this method is a bit cumbersome thats why i was lookin for some other efficient way if exists. Regards Vishal. -Original Message- From: amit kumar [mail

Re: How to avoid transitive Dependencies getting packaged

2008-01-09 Thread amit kumar
Vishal: you can use A A in exclusion you can specify the dependencies of A. As per my knowledge there would be one exclusion tag for each dependency. This is the only method I know by now. Nick: I am using Maven 2.0.7. And surprisingly I have used mvn site also to track the dependencies,