Re: Continue Build and Site Generation on Junit failure

2006-11-07 Thread jp4
I am interested in what you did. We use CC as well. Any info you can provide would be greatly appreciated. This is very important as we have a huge codebase and would like to identify all errors every night (NOT JUST THE FIRST ONE!) Thanks, jp4 Jon SlinnHawkins wrote: TestFailureIgnore

Can I submit Eclipse jars to the central repository?

2006-11-07 Thread Adam Lally
Hi, I've installed several Eclipse jars into my local repository, and I'd like to get them into a shared repository somewhere. Is it allowed/appropriate for me to submit these for the ibiblio repository by following the directions at

Re: mvn site running test cases twice

2006-11-07 Thread Arnaud Bailly
jp4 [EMAIL PROTECTED] writes: This seems like a big issue since our nightly builds usually run all of our unit and container test cases. If we have to run the tests twice, it will almost double the build time which is already several hours. Is there any way to instrument without invoking

Re: mvn site running test cases twice

2006-11-07 Thread Craig McClanahan
On 11/7/06, jp4 [EMAIL PROTECTED] wrote: This seems like a big issue since our nightly builds usually run all of our unit and container test cases. If we have to run the tests twice, it will almost double the build time which is already several hours. The Shale build also includes

Re: How do people include version info into the build?

2006-11-07 Thread Greg_Vaughn
Christian Goetze [EMAIL PROTECTED] wrote on 11/07/2006 01:57:33 PM: With this, I mean how do people ensure that the version number used in the build is available at runtime? Do people generate a property file with the version number and include it in the jar? Anyone have a nice little

Re: mvn site running test cases twice

2006-11-07 Thread Matt Campbell
From what i read on the maven site plugin, it forks the different report plugins into separate lifecycles. So since both of the plugins require the test cases to be compiled, both lifecycles are going to have to compile them in there own lifecycles. Not sure as I havent done much research on

Re: How do people include version info into the build?

2006-11-07 Thread jc7442
Common solution is to add a manifest. Have a look to the maven-jar-plugin documentation Christian Goetze-2 wrote: With this, I mean how do people ensure that the version number used in the build is available at runtime? Do people generate a property file with the version number and

Re: [archiva] disabling the checksum policy

2006-11-07 Thread Arnaud HERITIER
Did you vote for these issues ? ;-) Emmanuel planned them for the beta 1. These patchs will be reviewed (in theory) the next week. Arnaud On 11/6/06, Raphaël Piéroni [EMAIL PROTECTED] wrote: I just tried Arnaud's war too. It works fine (at least for the needs i have). Many thanks Arnaud.

Unable to lookup ....pssForceAdminUserInterceptor ... plexus misconfiguration

2006-11-07 Thread John J. Franey
Hi, I followed the getting started page, but perhaps I missed something. Please give me a pointer at what I can look at. I really haven't any background in plexus and don't know where to look first. bin/plexus.sh starts a process and dumps log to standard out. When I visit localhost:8080, I

Re: M2 + jetty-plugin + sitemesh

2006-11-07 Thread Brett Porter
That looks right. The only difference is I have servlet-api 2.4, but that shouldn't matter. Perhaps one of the other dependencies pulls in a servlet API with a different ID? I know there have been some floating around. Run mvn with the -X flag and look for a servlet dependency that is not yours.

Override default-values

2006-11-07 Thread Marco Hunsicker
Hello all, Creating a plugin, I would like to use the default compile source roots for source lookup, but let the user override the default values at wish. I've added the following in my Mojo: /** * The source directories containing the sources to be formatted. * *

Re: maven2+subclipse+svn+m2eclipse plugin

2006-11-07 Thread Max Cooper
Each of your maven modules will be a separate Eclipse project. Eclipse does not support hierarchical project structures (#), so if you want to be able to edit the parent pom in Eclipse, you will need to move it into a module also. Here's my recommendation, based on how my project team uses

Re: Looking for a simple maven assembly example

2006-11-07 Thread Christian Goetze
Dirk Starke wrote: Hello Christian, I am just starting to use Maven 2, also had some problems to figure this out, and perhaps I can help you. In my little project I created two files in the src/main/assembly directory of my project. Thanks, but it only ends up with the one jar in the

Re Looking for a simple maven assembly example

2006-11-07 Thread Christian Goetze
Thanks, but it only ends up with the one jar in the project. How do I get it to include all jars needed to run, as expressed in the dependencies? -- cg Oops, sorry, the other nice person who answered has the clue... Thanks again! -- cg

Mailing is not working

2006-11-07 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. I set up my mailing like this, but I am not receiving any emails. May someone please help me with this? Thanks in advance. [EMAIL PROTECTED] like [EMAIL PROTECTED] y=name like Bob configuration from-mailboxx/from-mailbox from-namey/from-name timestamp-formatEEE, d

Re: Looking for a simple maven assembly example

2006-11-07 Thread Edwin Punzalan
Please see: http://people.apache.org/~epunzalan/maven-assembly-plugin/ Christian Goetze wrote: I've read the better builds with maven book, I've looked at http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still not sure I understand how this is supposed to work. I just want

How to reference the tools.jar of the jdk lib folder

2006-11-07 Thread Dudu
I need to use the tools.jar of the lib folder. Inside the oringinal jdk location... How can I add this dependency. I looked for it on the maven repository and the sun maven repository too, but without sucess. Thanks all

Re: How to customize pre-archive directory?

2006-11-07 Thread Max Cooper
The war plugin will create an exploded (pre-archived) version of the webapp in the directory you configure using the webappDirectory property. However, it sounds like you might be trying to build the exploded webapp in your warSourceDirectory, which you have configured to be src/webapp. If

Re: Mailing is not working

2006-11-07 Thread Barrie Treloar
On 11/8/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Hi. I set up my mailing like this, but I am not receiving any emails. May someone please help me with this? Thanks in advance. Have you checked the logs? They should provide you with the reasons why mail is not

Re: How to reference the tools.jar of the jdk lib folder

2006-11-07 Thread Wendy Smoak
On 11/7/06, Dudu [EMAIL PROTECTED] wrote: I need to use the tools.jar of the lib folder. Inside the oringinal jdk location... How can I add this dependency. I looked for it on the maven repository and the sun maven repository too, but without sucess. It's not in the public repositories due to

Re: How to customize pre-archive directory?

2006-11-07 Thread jiangshachina
Hello Max, Thanks! I was confused by the two parameters. Now, I use following format scripts, configuration webappDirectorytarget/${artifactId}/webappDirectory warSourceDirectorysrc/webapp/warSourceDirectory outputDirectorytarget/outputDirectory /configuration I have to

Adding additional GPG signature file to deployment upload

2006-11-07 Thread Marc Prud'hommeaux
I've set up a plugin to sign my release file using gpg (using the maven-antrun-plugin plugin), so that I generate a signature file: artifact-VERSION-incubating.zip.asc for the assembly-generated file artifact-VERSION-incubating.zip. When I run mvn deploy, though, only the

Re: Adding additional GPG signature file to deployment upload

2006-11-07 Thread Brett Porter
You need to make it an 'attached' artifact. I'm not sure if antrun has the hooks to do that - writing an Ant plugin should though, and a Java plugin does. Did you want to share the code for this? We've been planning to build this into Maven itself but this would be a good interim step. - Brett

Java Source and Resource

2006-11-07 Thread jiangshachina
Hello, With Maven standard directory structure, resources relative to Java source codes are located at src/resources. Now I'm using Hibernate. Generally, a Hibernate xml file directly adheres to its domain Java class. For example, src |--java |--myapp |--demo

Performing tasks before a goal

2006-11-07 Thread Paul Barry
Is there a way to perform a task before a goal executes? Specifically what I'm looking to do is load data into my test database before all my tests run. I'm using Spring's AbstractTransactionalDataSourceSpringContextTests, which rolls back all changes after each test, so that I don't have to

Re: Adding additional GPG signature file to deployment upload

2006-11-07 Thread Marc Prud'hommeaux
Brett- On Nov 7, 2006, at 6:01 PM, Brett Porter wrote: You need to make it an 'attached' artifact. I'm not sure if antrun has the hooks to do that - writing an Ant plugin should though, and a Java plugin does. OK, I'll look into doing this. Do you happen to know if it is possible to access

Re: How to reference the tools.jar of the jdk lib folder

2006-11-07 Thread jiangshachina
Hi, See also: http://maven.apache.org/general.html#tools-jar-dependency System scope isn't recommended by Maven. Using repository is standard way. a cup of Java, cheers! Sha Jiang Wendy Smoak-3 wrote: On 11/7/06, Dudu [EMAIL PROTECTED] wrote: I need to use the tools.jar of the lib

Re: Adding additional GPG signature file to deployment upload

2006-11-07 Thread Brett Porter
On 08/11/06, Marc Prud'hommeaux [EMAIL PROTECTED] wrote: Do you happen to know if it is possible to access the MavenProject instance globally (e.g., via a static method or a System property)? If so, I could probably embed a beanshell script within the antrun plugin to add the artifacts to the

Plugin's page link is ambiguous

2006-11-07 Thread Tony Truong
The plugin's page is under the hyperlink alias By Category. Shouldn't sorting by category be more of a drop down box instead. Can the alias be renamed back to plugins? -- View this message in context: http://www.nabble.com/Plugin%27s-page-link-is-ambiguous-tf2592965s177.html#a7231855 Sent from

Re: Java Source and Resource

2006-11-07 Thread Wendy Smoak
On 11/7/06, jiangshachina [EMAIL PROTECTED] wrote: With Maven standard directory structure, resources relative to Java source codes are located at src/resources. Now I'm using Hibernate. Generally, a Hibernate xml file directly adheres to its domain Java class. ... Some developers may not like

maven and testng

2006-11-07 Thread Roger Keays
For those people who have struggled using maven with testng, I've blogged about how to get it working without using surefire: http://www.ninthavenue.com.au/blog/maven_and_testng I hope this helps someone. -- Ninth Avenue Software p: +61 7 3137 1351

naming groupId and artifactId?

2006-11-07 Thread jiangshachina
Hello, As far as I know, artifactId doesn't include '.' and indicates the project work. Then how about groupId? As package naming spec, we use the format: org.apache.realProject.innerPackage... We can regard org.apache as groupId, realProject as artifactId. But at Maven central repository,

Re: naming groupId and artifactId?

2006-11-07 Thread Wendy Smoak
On 11/7/06, jiangshachina [EMAIL PROTECTED] wrote: But at Maven central repository, http://www.ibiblio.org/maven2/ I don't find any accurate regular. For example, Apache Commons projects aren't grouped as org.apache, or org.apache.commons, or apache.commons, even not commons. Each Commons

Re: Java Source and Resource

2006-11-07 Thread jiangshachina
Hi, Now, I use resource directorysrc/main/java/directory excludes exclude**/*.java/exclude /excludes /resource I make Mavne to regard src/main/java as resources dir, too. But have to exclude Java source files. a cup of Java, cheers! Sha Jiang Wendy

Re: naming groupId and artifactId?

2006-11-07 Thread Gregory Kick
I know that this doesn't directly address the question, but I had been working with the JAXB/Codemodel group on some decent naming standards for artifactId/groupId combinations as they relate to projects and sub-projects. Since the whole naming thing came up, I though that I'd post my little

Re: Performing tasks before a goal

2006-11-07 Thread Wayne Fay
Assuming you're using Maven2... Have you looked at the complete list of phases? http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Sounds to me like you might want to use @process-test-resources. Wayne On 11/7/06, Paul Barry [EMAIL PROTECTED] wrote: Is there a way

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

2006-11-07 Thread Wayne Fay
Ideally the Eclipse group themselves would create poms and contribute bundles. However, if they aren't doing it, you could certainly put something together, upload it, and if there are no problems etc I imagine it would be accepted and uploaded. It is not absolutely required that the creator of

XSLT patch for project.xml?

2006-11-07 Thread Tony Truong
Hi, Just for interest - has anyone made an XSLT patch for project.xml - pom.xml? Regards, Tony -- View this message in context: http://www.nabble.com/XSLT-patch-for-project.xml--tf2593509s177.html#a7233347 Sent from the Maven - Users mailing list archive at Nabble.com.

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

2006-11-07 Thread Carlos Sanchez
I've created a test repo at http://repo1.maven.org/eclipse/ with a lot of them. We are looking for feedback On 11/7/06, Wayne Fay [EMAIL PROTECTED] wrote: Ideally the Eclipse group themselves would create poms and contribute bundles. However, if they aren't doing it, you could certainly put

Re: unable to find resource 'VM_global_library.vm'

2006-11-07 Thread dawn.angelito
Hi, I think the problem here is not the missing Velocity resource. You can just ignore this. You may have tried creating a new project inside an existing Maven project which causes the build to fail. Try to do this again, this time in a fresh folder/directory. Hope this helps. Dawn Franz

Re: unable to find resource 'VM_global_library.vm'

2006-11-07 Thread Dion Gillard
Franz, that second point sounds plain wrong. mvn shouldn't display those sorts of messages from the velocity library it is using. On 11/7/06, Franz Fehringer [EMAIL PROTECTED] wrote: As i stumbled over this some time ago i was told on this list, that this is only a warning and not a real

Re: naming groupId and artifactId?

2006-11-07 Thread jiangshachina
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 repository site, the way can not browser all of artifacts quickly. a cup of Java, cheers!

EAR: build executed twice.

2006-11-07 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: [archiva] disabling the checksum policy

2006-11-07 Thread Raphaël Piéroni
Yep already votes... Raphaël 2006/11/7, Arnaud HERITIER [EMAIL PROTECTED]: Did you vote for these issues ? ;-) Emmanuel planned them for the beta 1. These patchs will be reviewed (in theory) the next week. Arnaud On 11/6/06, Raphaël Piéroni [EMAIL PROTECTED] wrote: I just tried Arnaud's

Re: Override default-values

2006-11-07 Thread Raphaël Piéroni
Hi Marco, IIRC the ${project.compileSourceRoots} property contains a list of paths (maybe even a list of File which are directories) And it seems you used the source tag to inject a java file instead of a directory Hope this helps and is revelant. Regards, Raphaël 2006/11/7, Marco

<    1   2