release projects using mvn ?

2008-01-24 Thread Benoit Decherf
Hi, Why continuum-release doesn't use release plugin directly ? It's possible to choose the maven installation to execute the compilation in continuum, BUT the maven version used to release a project can't be changed because of the compilation/runtime dependency of continuum-release. Also, if

How to keep build output when timeout is thrown ?

2008-01-24 Thread Damien Lecan
Hello, When a build timeout is thrown, normal build output is replaced by an ugly and unuseful stacktrace (see below). Is it possible to keep the normal build output ? Is it available somewhere ? Thanks Damien Lecan Stacktrace :

Re: UTF-8?

2008-01-24 Thread Bjørn T Johansen
That doesn't work and I think postgresql uses latin1 automatically when locale is set to latin1... I still get the following exception...: org.postgresql.util.PSQLException: ERROR: character 0xefbfbd of encoding UTF8 has no equivalent in LATIN1 BTJ On Thu, 24 Jan 2008 10:10:19 +0100 Emmanuel

Re: Creating Users

2008-01-24 Thread Mac-Systems
Found the file and added this line: email.validation.required=false which results in: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/working-directory/19/displaytag-1.1/src/test/resources/classes/META-INF/displaytag.tld: (line 1, col 1) - Jens no, in the

Re: Creating Users

2008-01-24 Thread Jesse McConnell
as far as I know, that is an unrelated error that looks like an error out of some unit tests in a project that continuum is building. jesse On Jan 24, 2008 1:32 PM, Mac-Systems [EMAIL PROTECTED] wrote: Found the file and added this line: email.validation.required=false which results in:

RE: Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Tawfik, Sameh E
I just opened C:\continuum-1.1\apps\continuum\conf\plexus.xml and it is empty! Could you let me know what the required syntax to add to this file? Thanks, Same -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emmanuel Venisse Sent: Thursday,

Re: Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Emmanuel Venisse
You look at the wrong file, It should be C:\continuum-1.1\conf\plexus.xmland the file is similar to this one : https://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.x/continuum-plexus-runtime/src/conf/plexus.xml On Jan 24, 2008 11:51 PM, Tawfik, Sameh E [EMAIL PROTECTED] wrote:

RE: Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Tawfik, Sameh E
We're using Microsoft Exchange Server, so when I add a Notifier which choice to choose? is it mail, or MSN? Sameh -Original Message- From: Tawfik, Sameh E [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 4:41 PM To: continuum-users@maven.apache.org Subject: RE: Continuum

Install Problem on 1.1 - NoClassDefFoundError: IfAuthorizedTag

2008-01-24 Thread Cam
hi, i've been trying a fresh install of 1.1 on a clean system but i keep getting the following error after creating a user and then setting the build and work directories - the next screen is a 500 error and i get this stack trace. I've tried searching for a solution but come up with

RE: Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Tawfik, Sameh E
Thanks Wendy, I found the file, it's: C:\continuum-1.1\apps\continuum\webapp\WEB-INF\jsp\projectGroupSummary.j sp And, I changed the value from 300 to 05, and it's much better now. Sameh -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24,

RE: Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Tawfik, Sameh E
I found the following info from the Continuum screen that launches when I click on C:\continuum-1.1\bin\windows-x86-32\run.bat jvm 1| 2008-01-24 17:28:14,982 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:msn - Same state, not sending message. jvm 1|

Re: Notification not working.

2008-01-24 Thread Hemant Malik
Hi Emmanuel, Thank you for the help. But after configuring the JNDI also, I am getting the below exception while the continuum is trying to send the mail: 2008-01-25 04:33:29,203 [pool-1-thread-1] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default - Error

Re: Notification not working.

2008-01-24 Thread Hemant Malik
Do I need to have an account on smtp server to send the mail? On Jan 25, 2008 10:04 AM, Wendy Smoak [EMAIL PROTECTED] wrote: On Jan 24, 2008 9:00 PM, Hemant Malik [EMAIL PROTECTED] wrote: Thank you for the help. But after configuring the JNDI also, I am getting the below exception while

RE: Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Robbrecht van Amerongen
I had the same problem. After a lot of searching in the configuration files I discovered that the firewall on the XP server blocks access of java.exe to the mail server. This is in most virusscanners a common rule to prevent mass mailing. Regards, Robbrecht van Amerongen AMIS Weblog:

Re: Importing Maven Built Products into an ANT build

2008-01-24 Thread Thomas Tardy
Are there tasks for clean, compile and test as well? How do I define properties used in the install task? E.g. -Dmaven.test.skip=true or a profile? Regards, Thomas On Jan 24, 2008 12:30 AM, Hervé BOUTEMY [EMAIL PROTECTED] wrote: Hi Thomas, No, there are install and deploy tasks for that.

JUnit tests requiring j2ee.jar fail when running mvn surefire:test

2008-01-24 Thread Derry Cannon
Hey, there! I've got a JUnit 4.2 test that tests a simple little email address validator. The validator uses javax.mail.internet.InternetAddress. Everything works fine in Eclipse when I run it as a JUnit Test. However, when I try to install the project containing the JUnit test, it fails on the

Re: Avoid Dependency version

2008-01-24 Thread Guillaume Lederrey
On 24/01/2008, Brian E. Fox [EMAIL PROTECTED] wrote: I think this only gets set into the metadata when you deploy the artifact. Almost. It only gets set when you deploy and you set updateReleaseInfo to true. -Original Message- From: Guillaume Lederrey [mailto:[EMAIL PROTECTED]

Re: creating a sample project

2008-01-24 Thread Guillaume Lederrey
A good resource : http://www.sonatype.com/book/ On 24/01/2008, Giridharan Kesavan [EMAIL PROTECTED] wrote: Hi Sandeep, Spend few minutes with this link , you will get to know how to start with maven http://maven.apache.org/run-maven/index.html -Giri On Jan 24, 2008 11:40 AM, san84 [EMAIL

RE: UTF-8?

2008-01-24 Thread Petter Måhlén
Yes - character encodings are always a nightmare. I'd say the by far best solution (if at all possible) is to change your database configuration and use UTF-8 throughout. Latin-1 is a bad idea, even if you're only planning to support Norwegian in your application. I've lost count of the number of

Re: JUnit tests requiring j2ee.jar fail when running mvn surefire:test

2008-01-24 Thread Stephen Connolly
Don't use the borked j2ee.jar from the java.net or java.net2 maven repositories. I had the same problem. Basically, the j2ee.jar on the java.net repos is not a real jar, just stripped classes that have no method bodies, but just the method definitions. The borked jar is only good for compiling.

Re: JUnit tests requiring j2ee.jar fail when running mvn surefire:test

2008-01-24 Thread Stephen Connolly
By the way, the individual component jars that go to make up j2ee.jar are fine, so all you need to do is figure out which parts of the j2ee spec you need and include the relevant artifact, i.e. mail, servlet, ejb, etc On Jan 24, 2008 8:59 AM, Stephen Connolly [EMAIL PROTECTED] wrote: Don't use

Re: Profile activation by time range?

2008-01-24 Thread Stephen Connolly
Use two hudson jobs. Oh and _please_ file an issue with hudson.dev.java.netto get the batch-tasks plugin to work with m2 project types! On Jan 24, 2008 2:37 AM, Paul Benedict [EMAIL PROTECTED] wrote: I believe you can write your own profile activation class, but that's a feature of Maven 2.1

Including extras in the ear file

2008-01-24 Thread Jeff Mutonho
My ear project looks as shown below: [BankComponentApp directory ] | | +---META-INF | | | |__application.xml | |__ibm-application-bnd.xmi | |__MANIFEST.MF | | | +---ext |__blueprint-1.2.0.jar |__commons-configuration-1.2.jar When I package my ear using the maven-ear-plugin ,

Re: creating a sample project

2008-01-24 Thread Rémy Sanlaville
Hi, You also can use archetype. For instance, for a simple project : mvn archetype:create -DgroupId=demo -DartifactId=helloworld But it's good to read documentations like : Better Builds with Maven : http://www.devzuz.com/web/guest/products/resources MavenBook - Maven: The Definitive Guide :

Re: Clearcase Snapshot View Synchronisation

2008-01-24 Thread Stephen Connolly
Be careful to remember that to use Hudson effectively, you'll probably want to throw away a lot of the cruddy workarounds that are likely in your build script. For example, we used to have one build script check out from source control because CruiseControl would not always get things correct

Re: EJB 2.0 Help

2008-01-24 Thread Jeff Mutonho
On Jan 23, 2008 5:12 PM, Mark Eramo [EMAIL PROTECTED] wrote: Hello, I have migrated our build process from Ant to Maven for all of our projects except a few that generate EJB's. T Assuming you had an Ant task to generate the ejb-jar.xml file ,surely you could reuse it with the

Re: release projects using mvn ?

2008-01-24 Thread Benoit Decherf
Issue is created : http://jira.codehaus.org/browse/CONTINUUM-1633 If you want a more recent version of the release manager (the release plugin use it too), change it in the continuum lib directory, it's the same for maven-scm libraries. We are using several continuum instances, so it's better

mvn release perform error inMultiple Module Projects

2008-01-24 Thread Rex Huang
Multiple Module Projects as the link below: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html module1 dependent on core in guide-ide-eclipse project, when I release guide-ide-eclipse 1.0, it will release module1 and core but when building module1, it raise error: [ERROR] BUILD

Problems compiling multi modules projects

2008-01-24 Thread [EMAIL PROTECTED]
Hi, i have a problem compiling my projects under continuum using the top parent of my projects. I remove the --non-recursive flag on the build directive of my top projects. My projects looks like this: Maven |_pom.xml Project_A |_pom.xml Project_B |_pom.xml Project_C |_pom.xml The pom.xml of the

Re: Any tool available for generating docs from pom.xml?

2008-01-24 Thread Mimil
Hello, Remy was talking a maven plug-in allowing you to generate docbook files into pdf, html, chm, … This plug-in is named docbkx-tools ( http://code.google.com/p/docbkx-tools/ http://code.google.com/p/docbkx-tools/ ) and its documentation is reachable at

jboss data-source not included in jboss-app.xml

2008-01-24 Thread elaroche
Hi everyone, I'm trying to generate a ear containing a jboss-app.xml file which would declare the datasource to use. actually what I have is: plugin artifactIdmaven-ear-plugin/artifactId configuration

mvn release perform error in Multiple Module Projects

2008-01-24 Thread Rex Huang
Multiple Module Projects as the link below: http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html module1 dependent on core in guide-ide-eclipse project, when I release guide-ide-eclipse 1.0, it will release module1 and core but when building module1, it raise error: [ERROR] BUILD

Re: mvn release perform error inMultiple Module Projects

2008-01-24 Thread Rémy Sanlaville
Hi, It's a well-known problem (cf. archives) In situations like this it usually helps to run the prepare step with: mvn *release*:prepare -DpreparationGoals=clean install cf. http://www.nabble.com/forum/ViewPost.jtp?post=14102400framed=yskin=177 Rémy

Re: mvn release perform error inMultiple Module Projects

2008-01-24 Thread Rex Huang
It works! thank you very much~ :D Rex On Jan 24, 2008 10:59 AM, Rémy Sanlaville [EMAIL PROTECTED] wrote: Hi, It's a well-known problem (cf. archives) In situations like this it usually helps to run the prepare step with: mvn *release*:prepare -DpreparationGoals=clean install cf.

Re: jboss data-source not included in jboss-app.xml

2008-01-24 Thread elaroche
thanks for your reply. actually I don't want to include the datasource xml file in the ear. I need it to stay outside from my ear. What I need is the jboss-app.xml file to refer to the jndi datasource name. I'm starting to look for a workaround (creating the jboss-app.xml myself to include in

Re: Including extras in the ear file

2008-01-24 Thread Jeff Mutonho
On Jan 24, 2008 11:04 AM, Jeff Mutonho [EMAIL PROTECTED] wrote: My ear project looks as shown below: [BankComponentApp directory ] | | +---META-INF | | | |__application.xml | |__ibm-application-bnd.xmi | |__MANIFEST.MF | | | +---ext |__blueprint-1.2.0.jar

RE: JUnit tests requiring j2ee.jar fail when running mvn surefire:test

2008-01-24 Thread Beelen, M. - SPLXL
Hello, For my j2ee-components I use the jars provided by geronimo for building To solve you problem you could switch to the following: dependency groupIdorg.apache.geronimo.javamail/groupId artifactIdgeronimo-javamail_1.4_mail/artifactId version1.3/version /dependency

Re: jboss data-source not included in jboss-app.xml

2008-01-24 Thread Manos Batsis
elaroche wrote: I'm trying to generate a ear containing a jboss-app.xml would file which declare the datasource to use. AFAIK you don't need to use jboss-app.xml, you can add a module in application.xml [1]. Also check out [2]. [1]

Re: JUnit tests requiring j2ee.jar fail when running mvn surefire:test

2008-01-24 Thread Simon Kitching
Stephen Connolly [EMAIL PROTECTED] schrieb: Don't use the borked j2ee.jar from the java.net or java.net2 maven repositories. I had the same problem. Basically, the j2ee.jar on the java.net repos is not a real jar, just stripped classes that have no method bodies, but just the method

MJAR-90 and empty jar files

2008-01-24 Thread robert . egan
First, I want to thank everyone who made 2.2 a reality. It's let me cleanup my build quite a bit. Having said that, it seems that you can't please everybody all of the time, especially with a generic tool like the maven-jar-plugin g. I have a business requirement (read: management, not

Re: MJAR-90 and empty jar files

2008-01-24 Thread Olivier Lamy
Hi, Should work with adding a dummy/empty resource file in src/main/resources. -- Olivier 2008/1/24, [EMAIL PROTECTED] [EMAIL PROTECTED]: First, I want to thank everyone who made 2.2 a reality. It's let me cleanup my build quite a bit. Having said that, it seems that you can't please

Questions: Automatically-set tokens in Maven 2 loading properties from files

2008-01-24 Thread Allen, Daniel
I'm new to Maven, and have a couple questions that I've not been able to answer from the documentation on the site so far, so I thought I'd put them out here. -What I'm trying to do Basically, I have the Maven 1 maven.xml file copied below (which, as you can see, actually does a lot of its work

Re: MJAR-90 and empty jar files

2008-01-24 Thread robert . egan
That would create the jar, but it would not be physically empty, only functionally empty. Robert Egan [EMAIL PROTECTED] wrote on 01/24/2008 07:44:36 AM: Hi, Should work with adding a dummy/empty resource file in src/main/resources. -- Olivier 2008/1/24, [EMAIL PROTECTED] [EMAIL

Re: MJAR-90 and empty jar files

2008-01-24 Thread Simon Kitching
Hi Robert, Oliver's proposal seems fine to me. Whatever file you put in the resources directory will just get copied byte-for-byte. So if you want a zero-sized file, put a zero-sized file there. If you want a valid jar with no contents, then create one and put it in the resources dir. What

Re: Sending email notification to Owners

2008-01-24 Thread Jacob Northey
Wendy Smoak-3 wrote: Perhaps you could suggest an enhancement for the notifier configuration, some way to tell it send mail to all developers listed in this project. (Which immediately suggests that you should be able to send only to people with a certain role in the project...) How do

Re: EJB 2.0 Help

2008-01-24 Thread Mark Eramo
Hi Wayne, Yes, sorry, I meant the xdoclet plugin for the ejb-jar.xml I will take a look at the Hibernate plugin. I also have the option of doing it with Ant using the antrun plugin. Thanks, Mark Wayne Fay wrote: I believe this is simply a case of incorrect expectations on your part. As

Re: EJB 2.0 Help

2008-01-24 Thread Mark Eramo
Hi Jeff, Thanks for the info. I have done some work on this with ant inside maven and will look at it further as well as looking at the Hibernate plugin. Regards, Mark Jeff Mutonho wrote: On Jan 23, 2008 5:12 PM, Mark Eramo [EMAIL PROTECTED] wrote: Hello, I have migrated our

ear

2008-01-24 Thread Arthur Rodrigues Stilben
How is the model of an ear project at Maven? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

can maven solve circle dependencies problem in multiple module projects

2008-01-24 Thread Rex Huang
there are three modules A, B, C A depends on B, B depends on C, C depends on A To solve this problem, we can make one module use the old version build. In maven, even I make one module dependency in old version build, it still cause error. [ERROR] BUILD FAILURE [INFO] The projects in the reactor

Re: can maven solve circle dependencies problem in multiple module projects

2008-01-24 Thread Rémy Sanlaville
Hi, Cyclic dependence is not allowed with maven (it's a good practice). You have to cut your cyclic dependence. Rémy

can maven solve circle dependencies problem in multiple module projects

2008-01-24 Thread Rex Huang
there are three modules A, B, C A depends on B, B depends on C, C depends on A To solve this problem, we can make one module use the old version build. In maven, even I make one module dependency in old version build, it still cause error. [ERROR] BUILD FAILURE [INFO] The projects in the reactor

Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
What's the best, most painless way to set the bootclasspath for the maven-compiler-plugin? I'm trying to break out some shared code between my J2ME midlet module and my servlet module into a shared module that builds a jar. I'd like the compiler to use the midp20 and cldc11 jars on the boot

Re: can maven solve circle dependencies problem in multiple module projects

2008-01-24 Thread Guillaume Lederrey
Usually, if you have circular dependencies only at the module level, you either have classes packaged in the wrong module or you need to create one more module. If you have class level circular dependency (class A depends on class B which depends on class C which depends on class A), then you'll

Creating Users

2008-01-24 Thread Mac-Systems
Hello, today i run into following Problem. Me as Continuum Admin wanted to create a new User lets say: User: Testuser PS:Testuser77 when i log out as Admin and try to log in as Testuser i always get something like 'You have entered an incorrect username and/or password.' We're using

Re: Creating Users

2008-01-24 Thread Wendy Smoak
On Jan 24, 2008 9:02 AM, Mac-Systems [EMAIL PROTECTED] wrote: today i run into following Problem. Me as Continuum Admin wanted to create a new User lets say: User: Testuser PS:Testuser77 when i log out as Admin and try to log in as Testuser i always get something like 'You have

Re: can maven solve circle dependencies problem in multiple module projects

2008-01-24 Thread Thomas Tardy
You should program against interfaces and then you can create a module containing the interfaces and one containing the classes. The dependencies will be from a class module to several source modules. On Jan 24, 2008 5:02 PM, Guillaume Lederrey [EMAIL PROTECTED] wrote: Usually, if you have

multimodule classpath

2008-01-24 Thread John Coleman
Hi, Is it possible to get a classpath for a multimodule project that contains all the subproject target/class folders? TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions

Re: WebLogic Deployment issue with WAR generated by Maven 2

2008-01-24 Thread Jeff MAURY
Try to increase the memory of the JVM: if your WAR is big (I think it is with Spring + Hibernate + JDBC). Regards Jeff On Jan 23, 2008 2:52 PM, gypsy [EMAIL PROTECTED] wrote: Hi, We are developing a web application using J2EE, Spring 1.2.8, Hibernate 3.2 and WebLogic8.1. For building and

Re: multimodule classpath

2008-01-24 Thread Simon Kitching
John Coleman [EMAIL PROTECTED] schrieb: Hi, Is it possible to get a classpath for a multimodule project that contains all the subproject target/class folders? What would be the point of that? Each module has exactly the classpath it needs, dynamically computed by maven using the

Re: how to manually change a jar from SNAPSHOT to release?

2008-01-24 Thread Stephen Connolly
Yes. The maven metadata .xml files They contain information about what the RELEASE version is and so on. If you don't update these files correctly, strange things will happen when maven is pulling the files down from the remote repository. Similar will happen if you try to copy a file into

archetypes velocity [Virus checked]

2008-01-24 Thread Wolfgang . Schrecker
Hi everyone , creating a project using an archetype utilizes velocity. Is there an example and/or docs how to create your own velocity template for use in your own archetypes ?? mit freundlichen Grüßen/best regards Wolfgang Schrecker ... the elements of a good model have synergy, and

Getting correct file based on a profile

2008-01-24 Thread pdelaney
Hello; I have a problem that I know has been solved by maven. I am trying to determine the best way to solve it. Problem: I have two different profiles created: 1) development 3) production I have a multi-project that looks like: pom.xml core/pom.xml common/pom.xml web/pom.xml In both

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Matthew Tordoff
The following page has an example of setting the bootclasspath: http://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-comp iler-arguments.html It seems to not use the -D before the parameter, im not sure if this is partly to blame for the problems you are experiencing. Matt

Re: Assembly plugin resolves dependencies differently than the dependency plugin

2008-01-24 Thread jaxzin
So I created an example and reported the bug in the assembly plugin. http://jira.codehaus.org/browse/MASSEMBLY-270 jaxzin wrote: I think here is the case of what is happening: A depends on commons-collection 3.0 B depends on A B declares in its dependencyMgmt to use

RE: Getting correct file based on a profile

2008-01-24 Thread Allen, Daniel
Is there any possibility you could rename the development version to something like beanRefFactory-dev.xml and put it in the same place as the production version? If so, then you could refer to one or the other by a token, and define it in properties in the profiles. Or you could put the path into

RE: Questions: Automatically-set tokens in Maven 2 loading properties from files

2008-01-24 Thread Matthew Tordoff
Hi Dan, This is a pretty good list of the 'tokens' or properties that are available in Maven2: http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide Matt -Original Message- From: Allen, Daniel [mailto:[EMAIL PROTECTED] Sent: 24 January 2008 13:07 To: users@maven.apache.org

RE: Questions: Automatically-set tokens in Maven 2 loading properties from files

2008-01-24 Thread Allen, Daniel
That's exactly the kind of thing I was looking for; thanks! Now, to figure out how to set my own, from a file. -Original Message- From: Matthew Tordoff [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 12:10 PM To: Maven Users List Subject: RE: Questions: Automatically-set

maven-jar-plugin and maven-ejb-plugin / generate manifest if not present

2008-01-24 Thread Julien CARSIQUE
Hello, I would like the plugin to use the given manifest, if present, and add some properties; and to generate the manifest if it doesn't exist. Is it possible ? Here is my common configuration in the parent pom : plugin groupIdorg.apache.maven.plugins/groupId

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

2008-01-24 Thread Julien CARSIQUE
I will try this way. Waiting for the MRELEASE-173 being resolved. Thanks all Tom Huybrechts a écrit : http://www.nabble.com/batch-release-of-a-set-of-projects-without-using-the-default-versioning-scheme-to11067663.html#a11067663 maybe that helps On Jan 22, 2008 2:08 PM, Julien CARSIQUE [EMAIL

Conditionally including a jar file

2008-01-24 Thread Holt, Jack C.
I would like to not include the jar file for log4j when producing a WAR file but allow it to be used when running my web app in Jetty. You see, JBoss includes a jar for log4j (a different version than I have set up a dependency for in my POM file) and it causes errors when the WAR file is

Re: Conditionally including a jar file

2008-01-24 Thread Wayne Fay
Commons-logging is a completely different artifact from log4j. But there is a possibility that c-l is pulling in log4j as a transitive dependency. Try adding scopeprovided/scope to the c-l dep, see what happens, and report back. Wayne On 1/24/08, Holt, Jack C. [EMAIL PROTECTED] wrote: I would

Re: maven-jar-plugin and maven-ejb-plugin / generate manifest if not present

2008-01-24 Thread Wayne Fay
Try removing the manifestFile entry and see what happens when there's a file present in that location, and what happens when there's not (check target to see what ends up in the JAR). By default, Maven looks for the file in that location, and uses it if its there, or generates one if there's not.

Re: Including extras in the ear file

2008-01-24 Thread Wayne Fay
Specifying a different path with the earSourceDirectory configuration is one way to do it. As seen in the EAR plugin docs: http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html The default for this setting is: ${basedir}/src/main/application So you could also just copy your files to

Re: Creating Users

2008-01-24 Thread Mac-Systems
Hello, how to turn off the validation via email ? -Jens On Jan 24, 2008 9:02 AM, Mac-Systems [EMAIL PROTECTED] wrote: today i run into following Problem. Me as Continuum Admin wanted to create a new User lets say: User: Testuser PS:Testuser77 when i log out as Admin and try to log

Re: JUnit tests requiring j2ee.jar fail when running mvn surefire:test

2008-01-24 Thread Wayne Fay
Yes, its a perfect use case for classifier. I just wish they'd use it... As Marco already pointed out, the Geronimo dependencies are much more useful than the API-only j2ee.jar file. I use them in all my J2EE projects. Wayne On 1/24/08, Simon Kitching [EMAIL PROTECTED] wrote: Stephen

Re: Creating Users

2008-01-24 Thread Jesse McConnell
http://redback.codehaus.org/configuration.html email.validation.required=true - If all email addresses (from new user registration) require an account validation email. set that to false in the security.properties file. jesse On Jan 24, 2008 12:32 PM, Mac-Systems [EMAIL PROTECTED]

Error ear

2008-01-24 Thread Arthur Rodrigues Stilben
Hi, I have a problem in my ear project. I made something like that: dependency groupIdmath.ssj/groupId artifactIdcolt/artifactId version1.2.0/version typejar/type /dependency dependency groupIdjfree/groupId artifactIdjcommon/artifactId

RE: Error ear

2008-01-24 Thread Allen, Daniel
Do you have the required files on hand? You could set up your own local repository. -Original Message- From: Arthur Rodrigues Stilben [mailto:[EMAIL PROTECTED] Sent: Thursday, January 24, 2008 2:00 PM To: Maven Users List Subject: Error ear Hi, I have a problem in my ear project. I

Re: Creating Users

2008-01-24 Thread Mac-Systems
Hello, you mean the property is located in this file ? continuum-1.1/conf/plexus.xml -- configuration resources !-- START SNIPPET: mail -- !-- Mail Session Angepasst -- resource namemail/Session/name

Re: Creating Users

2008-01-24 Thread Jesse McConnell
no, in the 'security.properties' file in your .m2/ directory, or the security.properties file in your continuum installation jesse On Jan 24, 2008 1:01 PM, Mac-Systems [EMAIL PROTECTED] wrote: Hello, you mean the property is located in this file ? continuum-1.1/conf/plexus.xml --

mavenizing someone else' libraries (in the form of jars of course)

2008-01-24 Thread Frank Wilson
I'm trying to package someone else's library so that I can put it in my maven repo and share it with my collegues. I remember finding out how to do this on the maven website at one point and thinking I always wanted to know how to do that!. Months later... I cannot find it. Can anybody remind me

Re: [m2][archiva1] Issue deploying to Archiva

2008-01-24 Thread Christopher Lumpkin
Wendy, I have the same issue, and I followed your suggestion of matching up the id's, but I still get the 401 error. settings.xml: server iddev.repo/id usernamex/username passwordx/password /server pom.xml: distributionManagement

Re: [m2][archiva1] Issue deploying to Archiva

2008-01-24 Thread Wendy Smoak
On Jan 24, 2008 12:20 PM, Christopher Lumpkin [EMAIL PROTECTED] wrote: I have the same issue, and I followed your suggestion of matching up the id's, but I still get the 401 error. How was the user account created? Can you log in with the userid/password you have in settings.xml? If the user

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
Ok that helps a little. Still I'm looking for the right expression for evaluating the dependencies (or even better select dependencies) as a path expression. This is what I have so far: plugin artifactIdmaven-compiler-plugin/artifactId configuration

Re: mavenizing someone else' libraries (in the form of jars of course)

2008-01-24 Thread Wendy Smoak
On Jan 24, 2008 12:18 PM, Frank Wilson [EMAIL PROTECTED] wrote: I'm trying to package someone else's library so that I can put it in my maven repo and share it with my collegues. You don't need to do anything to the jar, just deploy it as-is to your internal remote repository. You might want

RE: Setting the javac bootclasspath using dependencies

2008-01-24 Thread Clifton
Whoops! That actually seems to work. Ok, I guess problem is solved! Thanx! Clifton wrote: Ok that helps a little. Still I'm looking for the right expression for evaluating the dependencies (or even better select dependencies) as a path expression. This is what I have so far:

Re: maven-jar-plugin and maven-ejb-plugin / generate manifest if not present

2008-01-24 Thread Julien CARSIQUE
Sorry, I didn't list all the tests I've done. I tried what you suggest, the result is a jar containing a new manifest with the wanted manifest entries from pom.xml but without all the content of the manifest present in src/main/... While doing this, I'm trying to manage with the buildnumber

[m2] index.xml xdoc with filtered properties?

2008-01-24 Thread Mick Knutson
I have a section in my index.xml like this: ${project.name} Site Documentation and when the site id generated, it still comes out like: ${project.name} Site Documentation How can I use maven properties in my site documentation? This appears to work with my site.xml, but not my xdocs. --

Suggestion for building libraries that differ by a couple classes

2008-01-24 Thread footh
I have a project that builds a jar that can be used in another application which contains a couple classes with default implementations. Then, I have an actual web application, which is another project altogether, that uses this library, EXCEPT that it alters two classes from their default

Re: Importing Maven Built Products into an ANT build

2008-01-24 Thread Hervé BOUTEMY
Eh, this time you're expecting too much :) You need Maven itself if you want clean, compile or test, since if you use Ant, that's precisely to write your custom way of building your product. For properties, I didn't try, but I'd say -D should work. And profiles are not supported yet in Maven Ant

Re: [m2] index.xml xdoc with filtered properties?

2008-01-24 Thread Lukas Theussl
See http://maven.apache.org/plugins/maven-site-plugin/usage.html section Filtering. HTH, -Lukas Mick Knutson wrote: I have a section in my index.xml like this: ${project.name} Site Documentation and when the site id generated, it still comes out like: ${project.name} Site Documentation How

Re: archetypes velocity [Virus checked]

2008-01-24 Thread Raphaël Piéroni
Hi Wolfgang. velocity templates used in archetypes are just plain text files with VTL http://velocity.apache.org/engine/releases/velocity-1.4/vtl-reference-guide.html Hope this helps. Raphaël 2008/1/24, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi everyone , creating a project using an archetype

maven 2 war packaging - adds unwanted jars in WEB-INF/lib

2008-01-24 Thread Jeudy, Guillaume
Hi all, I get a list of jars that are added to my war without me specifying it anywhere in my pom.xml as a dependency. Is it because of the dependency transitivity feature ? My pom.xml uses: packagingwar/packaging some jars are added in WEB-INF/lib inside the war file even though they are

Re: Suggestion for building libraries that differ by a couple classes

2008-01-24 Thread Wayne Fay
A few suggestions, I'm sure there are other ways to do it too but these come to mind immediately: 1. Reorganize your generic library 2. Use dependency:unpack, find the problem classes, and replace them with ones from the WAR. You will probably also bundle the generic library directly in your WAR

Re: maven 2 war packaging - adds unwanted jars in WEB-INF/lib

2008-01-24 Thread Wayne Fay
This is most likely due to transitive dependencies, as you thought. But it sounds a little bit odd as Ant artifacts are mostly used during the build process and not as dependencies. You can use mvn -X package and then search for ant-launcher to see what dependency is bringing it into the build.

Re: jboss data-source not included in jboss-app.xml

2008-01-24 Thread Wayne Fay
There may be a JBoss plugin for M2 that would create the xml file for you. This is certainly not a feature of the ear plugin. If you can't find an existing plugin, you could always write your own, or create the jboss-app.xml file manually. Wayne On 1/24/08, elaroche [EMAIL PROTECTED] wrote:

Re: ear

2008-01-24 Thread Wayne Fay
Please ask your question again, and try to explain yourself better. I know there's a language barrier, but the sentence below just doesn't make any sense so its impossible to respond. Wayne On 1/24/08, Arthur Rodrigues Stilben [EMAIL PROTECTED] wrote: How is the model of an ear project at

RE: maven 2 war packaging - adds unwanted jars in WEB-INF/lib

2008-01-24 Thread Jeudy, Guillaume
Hi all, It turns out it was an issue with transitive dependency. I changed the scope of compile only for an artifact which caused all the other jars to stop being included in the war distribution WEB-INF/lib. Now I have an issue with package an EAR in a different pom file which uses

Maven/Websphere Deploy/Integration testing

2008-01-24 Thread David Bock
I was a Maven 1 user on a couple of project a long time ago - I'm now upgrading my skills to Maven 2, and also managing the build process for a straightforward web app deploying into WebSphere. I have a top-level project with a bunch of sub-projects... one of which is a set of functional

Continuum 1.1 standalone on WindowsXP doesn't send email?

2008-01-24 Thread Tawfik, Sameh E
Hi, According to the help documentation, the following is all I need to have Continuum send an email when it done from running a build, but Continuum does not send any email as it supposed to when it's done from a build! I set the following under the Notifiers section of the project, but

  1   2   >