Re: Mailing is not working

2006-11-08 Thread aquinault
Hi, You must set up the username, password and sslMode because it seems commented into your file. You must set your email inside pom.xml (maven2 project) or inside continuum (shell project) as notifiers. Voila. Anthony quinault / Sogeti Morgovsky, Alexander (US - Glen Mills) wrote: Hi. I

Independent perforce ant projects triggering builds of each other

2006-11-08 Thread Jason Foster
I'm not sure how to explain this exactly but it appears as though whenever we have more than one ant project using perforce for scm (which is the only type of project we setup and/or need), builds are triggered on all projects even though only one or none of them changed. If there is only one

How to implement maintenance product version policy?

2006-11-08 Thread David
Dear members, We a product we have to distribute over serveral customers, at the begening possible all customers will have the same product version, but in the future it could be possible we have to maintain different product version or variants at the same time. Is there any way to use Maven

[OT] cargo / codehaus mailing lists

2006-11-08 Thread Nathan Coast
Hi, anyone know how to subscribe to the codehaus cargo mailing list? I have some maven / cargo questions but the link in the docs to the mailing list is broken :( http://xircles.codehaus.org/projects/cargo/lists cheers Nathan

[Surefire plugin] console output of tests

2006-11-08 Thread Wim Deblauwe
Hi, we are currently converting from M1 to M2, and we see that the output of our tests is not redirected to a file anymore. I found several questions for this on this mailinglist[1], but no answers so far. Could somebody please answer this? regards, Wim [1]

Re: [M2] additive module dependencies

2006-11-08 Thread Nathan Coast
Hi Arnaud, apologies for not being clearer in my first email, I'll try to explain better now. I have a parent pom which contains some dependencies and two child projects included via modules. parent pom.xml modules module../child1/module module../child2/module

Re: Why don't Overriding the default destination directory of a web resource?

2006-11-08 Thread jiangshachina
then run mvn package, the files under directory src/config will be copied into WAR root. src/config isn't standard directory, why Maven can recognize it? Maven see the directory as what? The problem disappeared, but I still don't find accurate reason of the problem. May be relative to Eclipse,

Re: [OT] cargo / codehaus mailing lists

2006-11-08 Thread Arnaud HERITIER
It seems to work only if you are logged Arnaud Nathan Coast wrote: Hi, anyone know how to subscribe to the codehaus cargo mailing list? I have some maven / cargo questions but the link in the docs to the mailing list is broken :( http://xircles.codehaus.org/projects/cargo/lists

Re: [OT] cargo / codehaus mailing lists

2006-11-08 Thread Geoffrey De Smet
I do it through the newsserver news.gmane.org Arnaud HERITIER wrote, On 2006-11-08 10:06 AM: It seems to work only if you are logged Arnaud Nathan Coast wrote: Hi, anyone know how to subscribe to the codehaus cargo mailing list? I have some maven / cargo questions but the link in the

Re: [OT] cargo / codehaus mailing lists

2006-11-08 Thread Nathan Coast
aha! thanks Arnaud. I followed the manage email link (kinda obvious), entered my email and the error page went away. cheers Nathan Arnaud HERITIER wrote: It seems to work only if you are logged Arnaud Nathan Coast wrote: Hi, anyone know how to subscribe to the codehaus cargo mailing

[Surefire report plugin] Report plugin adds xmlapi jar to projectArtifacts

2006-11-08 Thread Wim Deblauwe
Hi, The surefire-report plugin seems to add the xml-apis:xml-apis=xml-apis:xml-apis:jar:1.0.b2:compile to the projectArtifactMap. Running mvn -X surefire-report:report gives this: (f) projectArtifactMap = {abbot:abbot=abbot:abbot:jar:1.0.0rc2:test, log4j:log4j=log4j:log4j:jar:1.2.8:compile,

Re: Can I submit Eclipse jars to the central repository?

2006-11-08 Thread Tom Huybrechts
Hi Carlos, Great initiative, I see you even have the dependencies set up! I have two remarks: - no sources - shouldn't be too hard to add - some of the dependencies are not osgi bundles. e.g. org.eclipse.jdt.junit4.runtime has a dependency to org.junit4. This might be useful at compile time,

PMD-ing jsp files with Maven

2006-11-08 Thread Juan Ignacio Sánchez Lara
Hello, How can I tell PMD Maven plugin to check not only java files but also jsps? This is my PMD configuration at pom.xml: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId configuration

RE: [OT] cargo / codehaus mailing lists

2006-11-08 Thread Vincent Massol
Hi Nathan, I'm not sure if there's any other way than using xircles now... :-( I've reported the error (http://jira.codehaus.org/browse/HAUS-1373) and it's already been fixed by speedy Ben! :-) Try it now it should work. Thanks -Vincent -Original Message- From: Nathan Coast

JDK 1.5 Problem

2006-11-08 Thread David Lund
JDK Problem : Im using Ubuntu Dapper Drake v6.06. I have an existing project that I'm trying to convert to maven2 from ant. However, I'm having JDK issues, basically its compiling in JDK 1.3 rather than 1.5, see error below: LinkGroup.java:[16,25] generics are not supported in -source 1.3

Re: JDK 1.5 Problem

2006-11-08 Thread Wim Deblauwe
See http://maven.apache.org/plugins/maven-compiler-plugin/howto.html 2006/11/8, David Lund [EMAIL PROTECTED]: JDK Problem : Im using Ubuntu Dapper Drake v6.06. I have an existing project that I'm trying to convert to maven2 from ant. However, I'm having JDK issues, basically its compiling in

how to combine minijar with webstart ?

2006-11-08 Thread Valerio Schiavoni
hello everyone, i successfully used the webstart plugin to produce a jnlp file and bundle it (and required jars) within my webapp. works like a charm. the problem is: imported jars are way too big: the whole application requires the clients to download 2.4Mb, which is not acceptable. To verify

Re: JDK 1.5 Problem

2006-11-08 Thread Subhash Chandran
Specify the source and target version of JDK thus in ur pom: project ... ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: Properties/Variables in pom?

2006-11-08 Thread Gareth Tilley
Hi All, Gunther Popp-2 wrote: - All (platform-specific) Environment variables (Just add the prefix env. For example ${env.M2_HOME} returns the Maven2 installation path). Has anyone actually been able to get this working? All of the filtering works fine for me, but the environment

Re: Why don't Overriding the default destination directory of a web resource?

2006-11-08 Thread jiangshachina
Hello, I have tried maven-assembly-plugin, but it seems that the plugin cannot help me. maven-assembly-plugin would create a new product(specified by format parameter). How can I achieve the goal, however the requirement is strang? src |--myresource |--resource |--resource.txt

RE: Transitive dependecies

2006-11-08 Thread Sebastien Brunot
Yes. I would like to have something like excludes excludeALLexclude /excludes. Sebastien -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 6:22 PM To: Maven Users List Subject: Re: Transitive dependecies Yes, I agree with that... and

Mirror of Maven

2006-11-08 Thread Jose M. Sanchez
Hello. I'm one of the mirror's managers at CICA (Spain) We are interested in mirroring Maven, please, could you explain us how can become in a official mirror? Also, we would like to know the disk space necessary for the mirror. Thanks in advance. -- José Manuel Sánchez Bretones

weblogic-maven-plugin:using properties file

2006-11-08 Thread Dmystery
How can i use a properties file in weblogic-maven-plugin. I've to deploy an ear on different enviroments and the adminServerHostName,adminServerPort etc will hold values based on the environment. At the pom level i can access the appropriate properties file using profiles, but the same properties

How to upload 3rd party source jars to external repository

2006-11-08 Thread Mikkel Jensen
How can I upload 3rd party source jars to an external repository? Using the webdav plugin I am able to upload standard bytecode jars like this: mvn deploy:deploy-file -DgroupId=group-id -DartifactId=artifact-id -Dversion=version

Ang: [Surefire plugin] console output of tests

2006-11-08 Thread Martin Börlin
have you tried this? build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration !--reportFormatplain/reportFormat-- useFiletrue/useFile !-- if true output if written to a file--

Re: [Surefire plugin] console output of tests

2006-11-08 Thread Wim Deblauwe
I did not explicitly put useFile to true, but according to the documentation this is the default. Also when I run with -X I saw that useFile was true, so this will not help. regards, Wim 2006/11/8, Martin Börlin [EMAIL PROTECTED]: have you tried this? build plugins plugin

RE: mvn site running test cases twice

2006-11-08 Thread Orford, Ian
That's exactly the reason - surefire runs the tests and cobertura runs the tests. I guess the question is, could these two plugins collaborate and just run the reports once? Ian -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 04 November 2006 23:54 To: Maven

Re: Mailing is not working

2006-11-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
I was not able to find anything in the logs. I was looking at the continuum.log file to be exact. I saw nothing about the mail failing. Is there any pattern which I should be looking out for? Thanks. This message (including any attachments) contains confidential information intended for a

Re: JDK 1.5 Problem

2006-11-08 Thread David Whitehurst
David: You stated that you're moving from maven2 to ant. You need to be sure that the proper version of java is set on your path. If you type $java -version and it's not what you expect, then the Ubuntu java symbolic link is probably in place and an old version is installed somewhere. Do a

[M2] Maven Plugin Phases

2006-11-08 Thread Matt Campbell
I'm having some trouble understanding how to get my plugin I created to execute specific plugins that it depends on. When my plugin executes I need it to run compile and ear on the project. My plugin than takes the ear, deploys it to a server, and runs a few scripts. Is there a way I can tell

Re: JDK 1.5 Problem

2006-11-08 Thread Valerio Schiavoni
On 11/8/06, David Whitehurst [EMAIL PROTECTED] wrote: You stated that you're moving from maven2 to ant. actually it was: to convert to maven2 from ant. cheers, valerio -- http://valerioschiavoni.blogspot.com http://jroller.com/page/vschiavoni

Re: [M2] Maven Plugin Phases

2006-11-08 Thread Matt Campbell
The Maven Faq says this: The way to 'call goals' in maven 2 is using plugin. I think what you should do is write a plugin that comprises of other plugins (goals) that you wish to call with their respective phase. So when you call this plugin (say during compile phase), it in turn will call your

Re: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

2006-11-08 Thread Arne Saeten
Hi, I have the same problem. Any solutions out there? Thanks, Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to upload 3rd party source jars to external repository

2006-11-08 Thread Wayne Fay
Give this a try... Use that same command, but add -Dclassifier=sources or -Dclassifier=javadoc as appropriate. I'm reasonably certain that will work. Wayne On 11/8/06, Mikkel Jensen [EMAIL PROTECTED] wrote: How can I upload 3rd party source jars to an external repository? Using the webdav

Re: Can I submit Eclipse jars to the central repository?

2006-11-08 Thread Adam Lally
I've created a test repo at http://repo1.maven.org/eclipse/ with a lot of them. We are looking for feedback Excellent! Having this shared repository of eclipse artifacts will really help our project. However, I'm getting one very strange error that I don't understand at all. Can you try out

Re: changes-maven-plugin - announcement-mail

2006-11-08 Thread Christian Mouttet
Hi Fredy, did you find a solution for your problem? I'm facing the same troubles and I don't want to use the very first Developer as default for sending the announcement mail. I think that the from should be filled with the username and email address of the user that is executing the

Re: Can I submit Eclipse jars to the central repository?

2006-11-08 Thread Carlos Sanchez
On 11/8/06, Tom Huybrechts [EMAIL PROTECTED] wrote: Hi Carlos, Great initiative, I see you even have the dependencies set up! I have two remarks: - no sources - shouldn't be too hard to add - some of the dependencies are not osgi bundles. e.g. org.eclipse.jdt.junit4.runtime has a dependency

Re: Ant-based Mojo and Classpath

2006-11-08 Thread JC Walmetz
Hi, I have the same problem. Did someone find a solution ? Wilfred Springer wrote: Hi all, I'm trying to implement a plugin based on the mechanism described here (http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html) and I can't figure out how to add a libraries to

RE: Ant-based Mojo and Classpath

2006-11-08 Thread Wilfred Springer
I am now doing this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution idgenerate-docbook/id goals goalrun/goal /goals

Re: [Surefire plugin] console output of tests

2006-11-08 Thread Edwin Punzalan
Please see surefire documentation, especially http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile Default value is true so its not using the console... try setting it to false. Hope that helps, ^_^ Wim Deblauwe wrote: Hi, we are currently converting from M1

Re: [Surefire plugin] console output of tests

2006-11-08 Thread Edwin Punzalan
Please ignore what I said below, clearly it shows that I need to go to sleep asap. ^_^ What is it that you want to do? Output your System.out and System.err into the generated file also ? (similar to one of your posted link) Edwin Punzalan wrote: Please see surefire documentation,

Re: Help with multiple Repositories

2006-11-08 Thread leahpar
hello I just want to be sure of the meaning of the answer: Browse can use to access artifacts found in the managed repositories. isn't it? 2) Can I use the above URL to gain access to artifacts from all managed repositories or do I need to access them in some other way There is a tab

Re: How to upload 3rd party source jars to external repository

2006-11-08 Thread Mikkel Jensen
Thanks a bunch, that did the trick! - Mikkel On 11/8/06, Wayne Fay [EMAIL PROTECTED] wrote: Give this a try... Use that same command, but add -Dclassifier=sources or -Dclassifier=javadoc as appropriate. I'm reasonably certain that will work. Wayne On 11/8/06, Mikkel Jensen [EMAIL PROTECTED]

Plugin websites published

2006-11-08 Thread Wendy Smoak
I'm pleased to announce that most of the Maven Plugin websites have been updated to the latest available documentation. [1] This means you may find documentation on features that are not available in the latest released version of the plugin. Such features should be marked since x.x.x but it's

Calling parameters

2006-11-08 Thread David Whitehurst
What am I doing wrong? I've created additional goals for a plugin for Maven and when I call the goal, I don't get the property. Is my syntax wrong? e.g. mvn myplugin:mygoal -Dmypropertyfile=properties.xml Is this correct syntax? David

Re: Mirror of Maven

2006-11-08 Thread Carlos Sanchez
The central repository requires around 10 GB and growing, and it's updated every 4 hours. You can mirror the central repository using rsync with rsync -v -t -l -r ftp.ibiblio.org::maven2 /your/local/path Let us know what the url is and we'll add you to the list of mirrors. Thanks On 11/8/06,

dependency plugin

2006-11-08 Thread Sebastien Brunot
Hi all, is it possible to parameterize the dependency plugin unpack goal so that it uses a pom dependencies section as input instead of an artifactItems list ? Thanks for your help, Sebastien

Re: [vote] Re: maven-war-plugin 2.0.2

2006-11-08 Thread Mark Reynolds
A new maven-war-plugin-2.0.2-SNAPSHOT would do as a stopgap! Last one was in August. Who can punch out a new snapshot? On 10/24/06, Marcel Schutte [EMAIL PROTECTED] wrote: I would definitely like to see more plugin releases. Second best would be an overview of what priorities the maven 2

Re: [M2] wagon-scm Unsupported protocol

2006-11-08 Thread Nate
If anyone is using the wagon-scm plugin, can you help me by posting the sections of your pom.xml that apply to this plugin? Thanks for the help, -Nate Here are the extensions I'm using for in my build: extensions extension groupIdorg.apache.maven.wagon/groupId

RE: Configuration of Username and password for subversion

2006-11-08 Thread Krishnaiah, Shankar
Hope this helps. In our system we have configured subversion access via http using Apache. The config for svn in httpd.conf[Apache] looks as Also define access to the D:\svn directory which is where svn repository resides. Directory D:\svn AllowOverride None Options All Order

RE: Mailing is not working

2006-11-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Does username, password, and sslMode relate to mailing? Also, how do I set the email you mentioned inside continuum using the shell projects? Are there any examples for this? -Original Message- From: aquinault [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 3:18 AM To:

How can I set project.version externally?

2006-11-08 Thread Christian Goetze
So I have a project with modules, and every module has its pom.xml file with a reference to the parent, which must include the parent version. All of these version numbers should be the same. I tried writing: parent groupIdcom.sensage/groupId artifactIdsensage/artifactId

how to debug bundled dependencies?

2006-11-08 Thread Nathan Coast
Hi, I recently posted about a dependency problem I am experiencing, http://www.mail-archive.com/users@maven.apache.org/msg55340.html I am a bit lost as to how to go about debugging this. I tried the -X flag but ended up with 10,000 lines of debug. I think I need to investigate the

Re: how to debug bundled dependencies?

2006-11-08 Thread Wayne Fay
Sounds like you are simply running into the issue of I'm getting duplicate dependencies -- one set in my WAR, and one set in my EAR -- how can I configure things to get only one set. Is that what you've got? If not, please provide more info. Parent - child etc is not sufficient, we need to know

Re: dependency plugin

2006-11-08 Thread Dan Tran
The main purpose of artifactItems is so that we dont need to use dependencies elements. perhaps, you need http://maven.apache.org/plugins/maven-dependency-plugin/unpack-dependencies-mojo.html -D On 11/8/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Hi all, is it possible to parameterize

RE: [m2] XMLBeans Plugin

2006-11-08 Thread Peter . Pilgrim
-Original Message- From: Pilgrim, Peter ==== -Original Message- ==== -Original Message- From: Pilgrim, Peter Sent: 01 November 2006 17:46 To: 'Maven Users List' Subject: [m2] XMLBeans Plugin Maven 2 XMLBean Plugin

Re: how to debug bundled dependencies?

2006-11-08 Thread Nathan Coast
Hi Wayne, thanks for the help. I'm not getting duplicate dependencies but getting different dependencies included in the war file depending upon how I initiate the build of that war file. initiated from the war project itself: childmvn install - all ok, correct deps. initiated from the

Newbie help needed with Eclipse project

2006-11-08 Thread Rick Debay
I'm trying to set up a project from scratch using Maven 2 and Eclipse 3.2. I'm starting by working with the Quick Start to understand how a project with multiple modules should be structured to accommodate both systems. I understand that while Eclipse 3.2 now supports sub-projects, the Maven

filtering html resources from settings.xml parameters?

2006-11-08 Thread Mick Knutson
I have a series of selenium HTML tests that I want to filter the Context Root out from a application.contextRootNPIWeb/application.contextRoot setting. How should I do this? I put this in my selenium pom.xml: !---- !--

Re: naming groupId and artifactId?

2006-11-08 Thread Dennis Lundberg
Check out this site: http://mvnrepository.com/ -- Dennis Lundberg jiangshachina wrote: Hello, I think Maven official should give a tree list, which lists all of artifacts by groupId+artifactId+version. Then users can search artifacts convinently Although we can search artifacts from central

SV: Ant-based Mojo and Classpath

2006-11-08 Thread Hermod Opstvedt
Hi You can use the was-plugin-anttasks in the codehaus sandbox. I wrote an ant task that will get the dependencies from your project and transform them into a classpath list in Ant. If you want to look at how it is used, look at the was5-maven-plugin. Hermod -Opprinnelig melding- Fra:

scm clearcase help

2006-11-08 Thread Ye, Yingyang \(Contractor\)
Hello, We have the project configured but we don't know how to configure the scm plugin for clearcase; this is the line:connectionscm:clearcase:group_IPV_dev:.\clearcase\IPV.txt/connectionThe connection is not working; do we need to change the viewstore location? we tried changing the

RE: weblogic-maven-plugin:using properties file

2006-11-08 Thread Scott Ryan
You just need to configure the plugin in your different profiles. You can have a different set of configurations in each profile definition. Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -Original Message- From: Dmystery

Re: how to debug bundled dependencies?

2006-11-08 Thread Wayne Fay
Unfortunately it sounds like you're going to need to grok that 10k mvn -X debug command to find out why those extra dependencies are getting pulled in. Wayne On 11/8/06, Nathan Coast [EMAIL PROTECTED] wrote: Hi Wayne, thanks for the help. I'm not getting duplicate dependencies but getting

Re: filtering html resources from settings.xml parameters?

2006-11-08 Thread Arnaud Bailly
Mick Knutson [EMAIL PROTECTED] writes: resources resource directory${basedir}/src/main/resources/directory filteringfalse/filtering /resource resource directory${basedir}/src/main/webapp/npi/directory

Dependent modules not getting built

2006-11-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. If a submodule changes, Continuum does not rebuild all the other components which are dependent on it. Is this by design, or is this is a bug? Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is

Re: How Do I Deploys The Sources To The Repository

2006-11-08 Thread Adam Hardy
[EMAIL PROTECTED] wrote: Yves Van Steen [EMAIL PROTECTED] wrote on 11/07/2006 09:58:46 AM: I can generate a jar containing the source files of a project. But how do I configure it to deploy the source jar to the repo? I need this because I would like to use the download sources setting of the

Re: Dependent modules not getting built

2006-11-08 Thread Emmanuel Venisse
This feature will be implemented in the next version. Emmanuel Morgovsky, Alexander (US - Glen Mills) a écrit : Hi. If a submodule changes, Continuum does not rebuild all the other components which are dependent on it. Is this by design, or is this is a bug? Thanks. This message

Build statistics

2006-11-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. I need to accumulate, over time, build statistics like % of builds which were successful, % of unit tests that passed, times the build took to complete, etc. I am using Maven 2 and Continuum. Does anyone know of any such reporting plugins? If not, does anyone have any pointers for me as to

RE: Dependent modules not getting built

2006-11-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thanks. May I ask when the next version is planned to be released? -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 08, 2006 3:59 PM To: continuum-users@maven.apache.org Subject: Re: Dependent modules not getting built This feature will be

Re: Build statistics

2006-11-08 Thread Mick Knutson
QALab, but there are still a couple of issues for maven2 that need to be addressed. Hopefully soon. But it is a pretty cool tool. On 11/8/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Hi. I need to accumulate, over time, build statistics like % of builds which were

[m2] eclipse:eclipse and checkstyle nature

2006-11-08 Thread Barrie Treloar
I found one post here http://www.nabble.com/forum/ViewPost.jtp?post=2165470framed=yskin=177 which discussed creating the buildcommand, projectnature and additional .checkstyle file needed for configuring checkstyle in eclipse but this has yet made it back to the community. I can configure the

Re: filtering html resources from settings.xml parameters?

2006-11-08 Thread Mick Knutson
That works great. But I have an added question now: I have evasive and non-evasive tests I want to run depending upon the Profile used. How can I exclude a directory under webapp-filtered to accomplish this...??? configuration webResources

Re: How Do I Deploys The Sources To The Repository

2006-11-08 Thread Greg_Vaughn
Adam Hardy [EMAIL PROTECTED] wrote on 11/08/2006 02:32:34 PM: [EMAIL PROTECTED] wrote: Yves Van Steen [EMAIL PROTECTED] wrote on 11/07/2006 09:58:46 AM: I can generate a jar containing the source files of a project. But how do I configure it to deploy the source jar to the repo? I

Re: filtering html resources from settings.xml parameters?

2006-11-08 Thread Arnaud Bailly
Mick Knutson [EMAIL PROTECTED] writes: That works great. But I have an added question now: I have evasive and non-evasive tests I want to run depending upon the Profile used. Configure your war in profile section of the pom ? -- OQube software engineering \ génie logiciel Arnaud Bailly,

Junit and sites in Continuum

2006-11-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
It is possible to have buttons to display the JUnit test results and access the built project sites from the Continuum user interface? How are others integrating their JUnit tests and site generation in their CI builds? Thanks. This message (including any attachments) contains confidential

Re: JDK 1.5 Problem

2006-11-08 Thread Ravi
Also, Have you configured your maven-compiler plugin in your POM to use Java5 plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.0/version configuration

Re: JDK 1.5 Problem

2006-11-08 Thread Wendy Smoak
On 11/8/06, Wim Deblauwe [EMAIL PROTECTED] wrote: See http://maven.apache.org/plugins/maven-compiler-plugin/howto.html In the new plugin docs, that page was replaced by: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html -- Wendy

Re: JDK 1.5 Problem

2006-11-08 Thread Max Cooper
Run 'java -version' and 'which java' and see what you get. Here's what I get on my Ubuntu 6.06 box with Java 1.5 installed, configured, and working properly (my project requires JDK 1.5, and we have the pom.xml stuff configured as well): $ java -version java version 1.5.0_06 Java(TM) 2

Re: naming groupId and artifactId?

2006-11-08 Thread jiangshachina
Oh Dennis, http://mvnrepository.com/ The site is very helpful. Thanks very much! a cup of Java, cheers! Sha Jiang dennisl-2 wrote: Check out this site: http://mvnrepository.com/ -- Dennis Lundberg jiangshachina wrote: Hello, I think Maven official should give a tree list,

Re: Calling parameters

2006-11-08 Thread Eric Redmond
You do not set a goal's parameters via the -D notation, you set properties that way. You can, however, set a goal's paramters to a property via: /** * @parameter expression=${mypropertyfile} */ private File mypropertyfile; Which will allow your propertyfile to be set on the command-line in the

Re: Too many jars added to lib?

2006-11-08 Thread jiangshachina
Automatically importing dependencies of dependencies is a great feature. But users have to know the dependency hierarchy, or we cannot exclude the artifacts exactly. And I'm puzzled that why can exclude some dependencies of dependencies? If a jar(artifact) is a dependency of our project's direct

Re: Why don't Overriding the default destination directory of a web resource?

2006-11-08 Thread jiangshachina
Or I have to use Ant scripts with maven-ant-plugin? That's not my want :( a cup of Java, cheers! Sha Jiang jiangshachina wrote: Hello, I have tried maven-assembly-plugin, but it seems that the plugin cannot help me. maven-assembly-plugin would create a new product(specified by format

Re: no classes, but lib?

2006-11-08 Thread jiangshachina
Hello, Now, my requirement is following, I want to transform WAR |--WEB-INF |--classes |--packages to WAR |--WEB-INF |--lib |--artifact.jar I'm trying maven-assembly-plugin. I'm puzzled that when to execute the assembling action? What's the strategy? My

Re: no classes, but lib?

2006-11-08 Thread Wendy Smoak
On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote: Hello, Now, my requirement is following, I want to transform WAR |--WEB-INF |--classes |--packages to WAR |--WEB-INF |--lib |--artifact.jar I'm trying maven-assembly-plugin. There is a configuration option

Re: no classes, but lib?

2006-11-08 Thread jiangshachina
Hi Wendy, There is a configuration option to do this in the war plugin itself. See 'archiveClasses' here: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html That really is a pretty setting. But my requirement may be complex. The approach shown above only archive all of classes

Re: Too many jars added to lib?

2006-11-08 Thread Wayne Fay
There are numerous reasons for why you might want to exclude some dependencies of dependencies... Here are a few: 1. New version of artifact is available which is not automatically being found and used instead of the old version, resulting in 2 copies of the artifact with different versions

Re: no classes, but lib?

2006-11-08 Thread Wayne Fay
In this case, I think you really should break your project (Java files) up into multiple modules and then include each one in the larger WAR file as a dependency. Then you can classify the classes and archive them into different jar files very easily. Wayne On 11/8/06, jiangshachina [EMAIL

EAR: goal executed twice

2006-11-08 Thread Dmystery
My pom.xml has a packaging of ear and i'm using it to generate an ear, create webservices using antrun plugin, and compile the ear using weblogic:appc. project parent parent pom info--- /parent modelVersion4.0.0/modelVersion artifactIdapp-web/artifactId packagingear/packaging nameApp

RE: weblogic-maven-plugin:using properties file

2006-11-08 Thread Dmystery
I did somthing like - profile iddeploy/id activation property namedeploy/name valuetrue/value /property /activation build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdweblogic-maven-plugin/artifactId

Assembling files

2006-11-08 Thread Arnaud Bailly
Hello, Is there a way to replace variables representing files by the content of the file during filtering ? I am looking for something like a filemerge-maven-plugin... thx -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com

Re: no classes, but lib?

2006-11-08 Thread jiangshachina
Yes, I think so ^_^ a cup of Java, cheers! Sha Jiang Wayne Fay wrote: In this case, I think you really should break your project (Java files) up into multiple modules and then include each one in the larger WAR file as a dependency. Then you can classify the classes and archive them into

[M2] move resource files

2006-11-08 Thread aXXa
All, In vain I have tried to configure the maven-resources-plugin to move only ONE file from the resources directory ([project-root]/src/main/resources), but I always end up in moving all files and subdirectories or no files at all. Can some one please tell me what I'm doing wrong? Below is my

Re: [Surefire plugin] console output of tests

2006-11-08 Thread Wim Deblauwe
Yes. Basically I want at least the same functionality i had with Maven 1. regards, Wim 2006/11/8, Edwin Punzalan [EMAIL PROTECTED]: Please ignore what I said below, clearly it shows that I need to go to sleep asap. ^_^ What is it that you want to do? Output your System.out and System.err

Re: Too many jars added to lib?

2006-11-08 Thread jiangshachina
Dear Wayne, I have encountered some of the reasons you gave. But the reason why I release the topic is very simple :D I just think so many jar files are put at WEB-INF/lib would confused somebody. He/She would be puzzled why some many jars were used. And some of the files aren't associate with

Aspectj compilation?

2006-11-08 Thread Wim Deblauwe
Hi, Looking at http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html, it mentions an plexus-compiler-aspectj. Is this a replacement for the aspectj plugin? regards, Wim

Re: Configuration of Username and password for subversion

2006-11-08 Thread Martin Testrot
Hallo Jesse, hallo Shankar, many thanks for your fast replys. Right now our subversion doesn't work with the apache module (has to be configured by our admins). So I can't add POMs via a http link or verify username and password via apache. I will try your suggestions as soon as the apache

Re: Too many jars added to lib?

2006-11-08 Thread jiangshachina
Hello, I have an idea, can I install jar files to local repository, and don't use the artifacts at central repository? I just use different groupId, but artifactId and version aren't changed. Namely, before start a project, I install the dependencies firstly. Because I exactly know which jar is

Depend on other files?

2006-11-08 Thread jiangshachina
Hi, I have known that a project can depend on artifacts. The artifact can be pom or jar, and ear project can depend on war or ejb. Now, how about other files(e.g. xml)? Assumely, I have two Web application projects, the one wants to use some configuration files of the other one. How can I achieve

Re: [m2] eclipse:eclipse and checkstyle nature

2006-11-08 Thread Rolf Strijdhorst
what do you need the .checkstyle file for. I mean eclipse finds it on its own. as soon as you include de builder and the nature. Rolf On 11/8/06, Barrie Treloar [EMAIL PROTECTED] wrote: I found one post here http://www.nabble.com/forum/ViewPost.jtp?post=2165470framed=yskin=177 which discussed

  1   2   >