Continuum Dependency Changes

2007-08-13 Thread Morgovsky, Alexander \(US - Glen Mills\)
When a dependency change is detected in the 1.1 latest version, does Continuum both look at the local repository and remote repository for changes? Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is

Re: Continuum Dependency Changes

2007-08-13 Thread Emmanuel Venisse
No, it look only at dependencies that are continuum projects too Emmanuel Morgovsky, Alexander (US - Glen Mills) a écrit : When a dependency change is detected in the 1.1 latest version, does Continuum both look at the local repository and remote repository for changes? Thank you. This

Where to change a template?

2007-08-13 Thread Oscar Picasso
Hi, I am trying to change the View.vm template to hide the arguments if the user has no editProject rights. It works fine if I change path-to-continuum\apps\continuum\webapp\templates\screens\View.vm. However when I restart continuum the modified template is replaced with the original one. I

Comparing Apache Continuum to CruiseControl, Pulse?

2007-08-13 Thread Huang, Yan
Hello, Has anyone had some info regarding Apache Continuum vs. widely popular CruiseControl and commercial tool Pulse? Does Continuum support parallel and distributed build? Thanks Yan

RE: WSDL2Code Axis2 javax/wsdl/WSDLException NoClassDefFoundError

2007-08-13 Thread Jörg Schaible
It's the *plugin* that needs this dep, not your artifact ... ;-) Sebastien Arbogast wrote on Sunday, August 12, 2007 2:13 PM: I have exactly the same problem. I've tried many versions of the wsdl4j dependency, but I still get that exception. PeteTh wrote: I'm trying to use

Re: WSDL2Code Axis2 javax/wsdl/WSDLException NoClassDefFoundError

2007-08-13 Thread Sebastien ARBOGAST
Stupid question on my side. It's just that it's the first time I have to specify a dependency for a plugin. Now it works... well, actually it doesn't work, but for another reason. Thanks Jörg 2007/8/13, Sebastien ARBOGAST [EMAIL PROTECTED]: Does this mean there is a bug in the plugin's own POM?

Re: WSDL2Code Axis2 javax/wsdl/WSDLException NoClassDefFoundError

2007-08-13 Thread Sebastien ARBOGAST
Does this mean there is a bug in the plugin's own POM? Can I do something to fix it locally? 2007/8/13, Jörg Schaible [EMAIL PROTECTED]: It's the *plugin* that needs this dep, not your artifact ... ;-) Sebastien Arbogast wrote on Sunday, August 12, 2007 2:13 PM: I have exactly the same

Re: How to activate profile for certain packaging?

2007-08-13 Thread Gisbert Amm
John Casey schrieb: Unfortunately, Maven 2.0.x doesn't support that particular type of profile activation. We're working on a feature in the trunk (2.1-SNAPSHOT, currently) that would allow you to bring in custom profile activators via build extensions, however. A custom activator could give

TestCase and resources in src/main/webapp

2007-08-13 Thread mljv
Hi, i have placed some message files in src/main/webapp/WEB-INF/messages/ in order to use Springs ReloadableResourceBundleMessageSource No i want to use this property files in a test class: protected void setUp ( ) throws Exception { messageSource = new

Re: JBoss Embedded Container + Maven + howto?

2007-08-13 Thread Rolf Strijdhorst
Its a surefire testng bug. It is indeed a very anoying one en apparently there is some working on I don't know what the bug id is. however what you can do is use maven-antrun-plugin although I don't know how to fail a complete build when the tests fail but at least you can figure out what the

Re: maven-clean-plugin: does inheritedtrue/inherited work for you?

2007-08-13 Thread Max Bowsher
Barrie Treloar wrote: On 8/10/07, Max Bowsher [EMAIL PROTECTED] wrote: Try configuration combine.children=append - not tested, but I think that'll do what you want. Is this an undocumented feature as it is not listed in the http://maven.apache.org/ref/current/maven-model/maven.html It's

Re: 'optionaltrue/optional' not inherited from parent POM

2007-08-13 Thread Zarick Lau
On 8/13/07, Wayne Fay [EMAIL PROTECTED] wrote: As far as I'm concerned, optional doesn't make any sense in dependencyManagement. So I think what you're seeing is the correct behavior. Does it mean that, depMgmt is only concerned about 'version' resolve? As I can use 'scope' also in depMgmt,

dependency between tests in different projects

2007-08-13 Thread Martin Monsorno
Hi, I have a multi-project build. In module 1 I have some helper classes for my junit tests, which e.g. helps creating test data. In module 2 I want to use this classes, too. Module 2 has a dependency to module 1, but I need to define a dependency between module 2's test classes and module 1's

Re: dependency between tests in different projects

2007-08-13 Thread Michael Meyer
http://maven.apache.org/guides/mini/guide-attached-tests.html Cheers, michael Martin Monsorno wrote: Hi, I have a multi-project build. In module 1 I have some helper classes for my junit tests, which e.g. helps creating test data. In module 2 I want to use this classes, too. Module 2 has a

RE: TestCase and resources in src/main/webapp

2007-08-13 Thread Lalor, Brian
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, August 12, 2007 3:05 PM To: users@maven.apache.org Subject: TestCase and resources in src/main/webapp this doesn't work as src/main/webapp/ is not on the classpath. Is there a way to tell maven

Re: JBoss Embedded Container + Maven + howto?

2007-08-13 Thread r_sudh
Thanks. Do you know where I can follow the progress on the surefire-tesstng bug. I tried the ant-run plugin. None of my tests are getting executed. Here's the maven output: [INFO] antrun:run {execution: testng51} [INFO] Executing tasks [testng] org.xml.sax.SAXParseException: Document root

Build date variable i.e. ${builtOn} ${date} ${timestamp} ?

2007-08-13 Thread Giovanni Azua
Hi all, I need accessing a variable that would give me the timestamp of the current build, is there any? I have tried with all those above and none work (Maven 2.0.7). Any pointers to documentation of all available variables would be nice ... regards, Giovanni

Re: TestCase and resources in src/main/webapp

2007-08-13 Thread Haroon Rafique
On Yesterday at 9:05pm, =[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [..snip..] this doesn't work as src/main/webapp/ is not on the classpath. Is there a way to tell maven to have src/main/webapp on its classpath? Or what else is best practice to test resources in src/main/webapp? kind

Multi project reports ...

2007-08-13 Thread Giovanni Azua
Hi all, I have a pom (packaging type) project that has many subprojects (inheritance) it is nice because each subproject can separately manage their dependencies etc. In the parent project I include the major reporting plugin settings etc. The problem is that since the parent project does not

Re: Generate Version class

2007-08-13 Thread Andrew Williams
You could configure the filtering to filter your java code as well as standard resources, though I don't know if that is what you want. Andy On 22 Jul 2007, at 22:56, Francois Fernandes wrote: Hi list, for some time now I've been looking for a easy way to generate a simple class

[maven-ant-tasks] Authentication from settings.xml without using POM?

2007-08-13 Thread Benjamin Bentmann
Hi, We have an SSH-secured internal repository from which an Ant build script should download some files using the maven-ant-tasks:2.0.7. First, I tried to specify everything inline the Ant script, i.e. without using a POM, using multiple dependency elements and a remoteRepository element. I

Re: TestCase and resources in src/main/webapp

2007-08-13 Thread Doug Douglass
Instead of trying to configure surefire, just add a test resource to your projects build. We use the follow pom snippet inherited by all our war projects: build [..snip..] testResources testResource directorysrc/main/webapp/directory /testResource testResource

Re: embedded jetty in maven test phase classpath problem.

2007-08-13 Thread Andrew Williams
On 1 Aug 2006, at 17:14, Meghan Pike wrote: [snip] Does anybody know if this is the case and how I can fix it? I though maybe I could compile the jsp's to _jsp.java files in the pre-test phase, but I wasn't sure about how to go about this. You could try using the maven-jspc-plugin

Maven and macker plugin working??[UPDATES]

2007-08-13 Thread copernic Jeremy
Hi all, just to let you know some updates on my maven-macker-plugin issue: I was not able to use the maven-macker-plugin available on repo1 http://repo1.maven.org/maven2/maven-plugins/maven-macker-plugin/ In fact I found a link explaining how to use Macker with Maven 2 through the

Formatting of generated pom.xml

2007-08-13 Thread Beelen, M. - SPLXL
Hello all, After using maven2 for quite some while now, I started development of my first own archetype today. I'm quite pleased about the progress I've been able to make! There is one issue I'm not quite satisfied about yet, so I hope someone can give me some pointers about how to solve this.

detecting build failure

2007-08-13 Thread brad hadfield
Build failures are not detected by Continuum. I'm using continuum version 1.1 beta 1 with maven 2.0.7. I tried using the fixed maven batch file indicated in the FAQ but it fails due to a class Path error. This is what the end of the mvn.bat file looks like: @REM Start MAVEN2 :runm2

assembly-plugin: exlude a file from dependent jar

2007-08-13 Thread aldana
hi all, in one of my projects i am having bouncycastle as a dependency. for distribution i am using the assembly plugin. problem is that files BCKEY.DSA and BCKEY.SF give me an SecurityException: no manifest section for signature file entry so that is why i need to exclude these files from my

Re: detecting build failure

2007-08-13 Thread Emmanuel Venisse
The faq is for old continuum we'll update it in few days. The problem is in mvn.bat distributed with maven 2.0.7. A fixed version is available there: http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/bin/mvn.bat Emmanuel brad hadfield a écrit : Build

Re: TestCase and resources in src/main/webapp

2007-08-13 Thread mljv
Am Montag, 13. August 2007 17:19 schrieb Doug Douglass: Instead of trying to configure surefire, just add a test resource to your projects build. We use the follow pom snippet inherited by all our war projects: build [..snip..] testResources testResource

Re: Build date variable i.e. ${builtOn} ${date} ${timestamp} ?

2007-08-13 Thread Wayne Fay
Juri just posted code to a plugin he wrote a couple days ago -- check the archives. His plugin can provide a date variable/property that you can use in your build. from Artamonov, Juri @fusionone.com to Maven Users List @maven.apache.org date Aug 8, 2007 2:50 AM subject RE: Auto

maven plugin alternative to assembly plugin

2007-08-13 Thread aldana
hi, does anybody know an alternative to assembly plugin which is mainly putting all stuff into a single jar. would prefer a layout where libraries are organized as following: -mainJar.jar -lib/ -dependentJar1 -dependentJar2 -... the main task would be to set up Manifest.MF from

Re: JBoss Embedded Container + Maven + howto?

2007-08-13 Thread Wayne Fay
That problem seems to be originating here: [testng] java.io.FileNotFoundException: http://www.jboss.org/aop/dtd/jboss-aop_1_0.dtd It seems like you're using a validating XML parser, and since that DTD file does not exist (at that url), its failing. Wayne On 8/13/07, r_sudh [EMAIL PROTECTED]

Sharing resources among submodules

2007-08-13 Thread Alberto Siless
Hi everyone! I'm new to maven so I have a lot of questions, here is the first one: I ve a project with two submodules WEB and CORE. I want to run sql scripts to drop/create the db schema before integration-test for both modules. Until now I had the create.sql and drop.sql in core module's

Re: [m2] taglist question

2007-08-13 Thread Mick Knutson
I added: module name=GenericIllegalRegexp property name=format value=\s+$/ property name=message value=Line has trailing spaces./ /module module name=GenericIllegalRegexp !-- . matches any character, so we need to

Re: maven plugin alternative to assembly plugin

2007-08-13 Thread Dirk Olmes
hi, does anybody know an alternative to assembly plugin which is mainly putting all stuff into a single jar. would prefer a layout where libraries are organized as following: -mainJar.jar -lib/ -dependentJar1 -dependentJar2 -... the main task would be to set up Manifest.MF from

Re: [m2] urgent issue with modules and sub-modules for initial builds

2007-08-13 Thread Tomislav Stojcevich
Do you have the maven-enforcer-plugin in your pluginManagement section? I removed it from mine and forced the version in the usage instead of in the management section and my build worked. - To unsubscribe, e-mail: [EMAIL

Re: [m2] urgent issue with modules and sub-modules for initial builds

2007-08-13 Thread Tomislav Stojcevich
Actually, using version in the usage also causes the problem. But removing the version tag of the plugin works. I'm submitting bug report. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [m2] urgent issue with modules and sub-modules for initial builds

2007-08-13 Thread Tomislav Stojcevich
The real solution is reverting to the enforcer 1.0-alpha-2 release. I was using 1.0-alpha-3 which for some reason isn't listed as the current release. The JIRA for the bug in question is http://jira.codehaus.org/browse/MENFORCER-14

The plugin archetype does not exist

2007-08-13 Thread Amene Mahboobi
Hi, It is my first time using the maven, and here I am stocked with the first goal, creating new project, I am using windows xp and I am behind firewall so I created a settings.xml and put in my user.home/m2/settings.xml I am sure that this file is read by maven, because if I make a

Question about eclipse:eclipse goal in the maven-eclipse-plugin

2007-08-13 Thread Farber, Saul (EEA)
Hello all, I'm trynig to figure out how to get the eclipse:eclipse goal in the maven-eclipse-plugin to add the maven artifact's version to the project name. I've upgraded to the latest maven (2.0.7) and am running the following command: $ mvn -Declipse.addVersionToProjectName

Re: The plugin archetype does not exist

2007-08-13 Thread Wayne Fay
It sounds like you've got some corrupted files in your local repo cache. Delete the directory ~/.m2/repository, and try again. On Windows, that would be C:\Documents and Settings\your name here\.m2\repository. Wayne On 8/13/07, Amene Mahboobi [EMAIL PROTECTED] wrote: Hi, It is my first time

Re: [m2] taglist question

2007-08-13 Thread Dennis Lundberg
Mick Knutson wrote: I added: module name=GenericIllegalRegexp property name=format value=\s+$/ property name=message value=Line has trailing spaces./ /module module name=GenericIllegalRegexp !-- . matches any character, so we need to

Re: The plugin archetype does not exist

2007-08-13 Thread Amene Mahboobi
you were right! (how did u realize this?) Thanks, so much, now it is working! Wayne Fay [EMAIL PROTECTED] wrote: It sounds like you've got some corrupted files in your local repo cache. Delete the directory ~/.m2/repository, and try again. On Windows, that would be C:\Documents and Settings\

Re: castor plugin and castor version

2007-08-13 Thread Werner Guttmann
Hi, I am a committer of the Castor project, and we do have an appreciation of issues like this. I am currently in the process of talking to the current maintainers of plugin to take over management, but things do seem to take a lot of time. Maybe a bit of nagging on this list (?) or the mojo

Outbound values from a mojo?

2007-08-13 Thread Mykel Alvis
What's the mechanism for setting properties from inside a plugin? I have a plugin that collects some information about the local environment and I want to include those values in the manifest during packaging without building my own manifest file. Is this possible? Thanks, Myke

Re: The plugin archetype does not exist

2007-08-13 Thread Wayne Fay
This is not an uncommon problem/question on this list. I've seen it myself too when I've had a poorly configured settings.xml. Wayne On 8/13/07, Amene Mahboobi [EMAIL PROTECTED] wrote: you were right! (how did u realize this?) Thanks, so much, now it is working! Wayne Fay [EMAIL PROTECTED]

Re: Outbound values from a mojo?

2007-08-13 Thread Wayne Fay
Something along these lines should do it... import org.apache.maven.project.MavenProject; /** * The maven project. * * @parameter expression=${project} * @required * @readonly */ private MavenProject project; public void execute() throws MojoExecutionException,

How can I use a project.xml

2007-08-13 Thread Amene Mahboobi
I want to deploy a project, what the destination is providing me, is only the project.xml and a project.properties file, can anyone tell me how I am supposed to use these? and what is the difference between project.xml with pom.xml. thanks in advance --Amene

error: IO exception sun.io.MalformedInputException

2007-08-13 Thread Enrique Gaona
Hi, I was wondering if anyone has encountered the error: IO exception sun.io.MalformedInputException in continuum. This error shows up when the build is executed within continuum, but not from the command line. Any ideas? Thanks. Compiling 20 source files to

Re: error: IO exception sun.io.MalformedInputException

2007-08-13 Thread John Casey
Can you post the stacktrace you get from running with -e? This isn't much to go on... -john On Aug 13, 2007, at 6:19 PM, Enrique Gaona wrote: Hi, I was wondering if anyone has encountered the error: IO exception sun.io.MalformedInputException in continuum. This error shows up when the

Re: How can I use a project.xml

2007-08-13 Thread Wayne Fay
project.xml = maven1 pom.xml = maven2 Wayne On 8/13/07, Amene Mahboobi [EMAIL PROTECTED] wrote: I want to deploy a project, what the destination is providing me, is only the project.xml and a project.properties file, can anyone tell me how I am supposed to use these? and what is the

Re: How can I use a project.xml

2007-08-13 Thread Amene Mahboobi
thanks for your patience, I just realized it. Wayne Fay [EMAIL PROTECTED] wrote: project.xml = maven1 pom.xml = maven2 Wayne On 8/13/07, Amene Mahboobi wrote: I want to deploy a project, what the destination is providing me, is only the project.xml and a project.properties file, can anyone

Re: error: IO exception sun.io.MalformedInputException

2007-08-13 Thread Enrique Gaona
John, Here's the maven output with the -e option. Thanks. [DEBUG] Source roots: [DEBUG] /opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/CSDPDocumentDeliveryClient [DEBUG] /opt/continuum/app1/working-directory/3/com.ibm.csdp.cs.dds/CSDPDocumentDeliveryClient/gen/src Compiling 48

Re: error: IO exception sun.io.MalformedInputException

2007-08-13 Thread Patrick Schneider
Enrique, Are you using the IBM JDK? If so, do you know if your files are explicitly encoded in UTF-8? I've experienced the same problem with the IBM JDK -- the filtering in Maven was munging the bits, causing failures. You might experiment with altering the default filtering, by stating

Re: maven plugin alternative to assembly plugin

2007-08-13 Thread Zarick Lau
Yes, this is absolutely doable. Checkout the mailing, I ask post back one answer using the assembly plugin to achieve similar result you desire. BTW, why you want alt. plugin? On 8/14/07, Dirk Olmes [EMAIL PROTECTED] wrote: hi, does anybody know an alternative to assembly plugin which is

Re: assembly-plugin: exlude a file from dependent jar

2007-08-13 Thread Zarick Lau
On 8/13/07, aldana [EMAIL PROTECTED] wrote: hi all, in one of my projects i am having bouncycastle as a dependency. for distribution i am using the assembly plugin. problem is that files BCKEY.DSA and BCKEY.SF give me an SecurityException: no manifest section for signature file entry so

Resources and JUnit

2007-08-13 Thread Ray Wenderlich
Hi all, I am testing a class that is using a .properties file that I have placed in src\main\resources. I am loading it via: InputStream is = getClass().getClassLoader().getResourceAsStream(add.properties); The .properties file gets copied to target\classes\add.properties, and when I create a