Re: Mail Notifier self-replication

2006-06-07 Thread Carlo Bonamico
Hi Shute, I have the same problem and already created a jira bug report for this. http://jira.codehaus.org/browse/CONTINUUM-678 It should be fixed in the source tree, but I am not sure when the next release will be. Carlo Shute, James wrote: Hi, I'm using 1.0.3 and am having a problem

Maven 2 and WTP

2006-06-07 Thread Zeiler Christian, Bedag
Hello Yesterday I tried to convert a maven project into an eclipse wtp project with the maven-eclipse-plugin. But unfortunately it doesn't work. Maven doesn't create all off the needed files for eclipse so I wasn't able to import the project in the server view of eclipse. Maven: 2.04 WTP: 1.0

RE: Self containment / Standalone maven ??

2006-06-07 Thread Artamonov, Juri
I tried also to use maven as standalone application and putting libraries in one lib folder and then access Maven through Maven embedder BUT repository has specially designed layout and in order to have lib files as I need requires rewriting repository classes. Best regards,

RE: [m2] Unit tests and integration tests in the same module?

2006-06-07 Thread Vincent Massol
I don't believe it's currently possible within the same build module. We started discussing it on http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies -Vincent -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: mardi 6 juin 2006 16:41 To:

RE: [m2] Moving Surefire execution from test to integration-test

2006-06-07 Thread Vincent Massol
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: mardi 6 juin 2006 19:53 To: Maven Users List Subject: [m2] Moving Surefire execution from test to integration-test The Maven webapp archetype creates a structure with only src/main/webapp and

Re: Best practices for multi-flavour build?

2006-06-07 Thread badaud
Nobody ever had this issue? -- View this message in context: http://www.nabble.com/Best-practices-for-multi-flavour-build--t1741483.html#a4746228 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail:

Re: [M2] Identifying projects and modules

2006-06-07 Thread Guillaume Bilodeau
I tried using the generateClient configuration parameter but I'm not getting the results I expected. The build generated a huge JAR file (system2-ejb-1.0-client.jar) which contains pretty much every class that's already in the system2-ejb-1.0.jar, not only the interfaces. Am I missing

Re: Best practices for multi-flavour build?

2006-06-07 Thread Kieran Brady
Fred, This kind of problem is generally solved using build profiles in Maven. The 'Better Builds with Maven' book covers this topic (free from http://www.mergere.com/ ). A good starting point is here: http://maven.apache.org/guides/introduction/introduction-to-profiles.html and here:

Re: [m2] Unit tests and integration tests in the same module?

2006-06-07 Thread Tomasz Pik
On 6/7/06, Vincent Massol [EMAIL PROTECTED] wrote: I don't believe it's currently possible within the same build module. We started discussing it on http://docs.codehaus.org/display/MAVEN/best+practices+-+testing+strategies What about: * src/itest instead of src/it *

strange trouble on solaris

2006-06-07 Thread Olivier Lamy
Hi, I have a junit test with contains the following code : SimpleDateFormat simpleDateFormat = new SimpleDateFormat( -MM-dd, Locale.FRANCE ); // harcoded date due to xmlunit comparaison Date timeStamp = simpleDateFormat.parse( 2001-05-28 ); return DateTools.setNoonHour( timeStamp );

RE: [m2] Unit tests and integration tests in the same module?

2006-06-07 Thread Jason Chaffee
I was able to do by using testng and not providing a testng.xml file for the test phase, but only for the integration-test phase. It is kinda of a hack, but it works. -Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 11:26 PM To: 'Maven

RE: [m2] Unit tests and integration tests in the same module?

2006-06-07 Thread Jason Chaffee
I should add that I think this only works because there is a bug in surefire that doesn't run testng test classes correctly unless there is testng.xml file configured. -Original Message- From: Jason Chaffee [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 12:30 AM To: Maven

[m2] war plugin - need dependencies referenced in manifest but not in WEB-INF/lib

2006-06-07 Thread Arthur Crawford
Hi, Is there a way to create a war with references to dependent jars in the manifest's classpath entry but NOT package them in WEB-INF/lib?. I want to do this so I can have sevaral wars referencing the same shared jars in the top level of an ear. This is the war plugin configuration I have

Re: [m2] war plugin - need dependencies referenced in manifest but not in WEB-INF/lib

2006-06-07 Thread Piéroni Raphaël
Hi, use the provided scope in the war project. (this will work for the web-inf/lib but i dunno for the manifest.mf Raphaël 2006/6/7, Arthur Crawford art[EMAIL PROTECTED]: Hi, Is there a way to create a war with references to dependent jars in the manifest's classpath entry but NOT package

Re: Creating a JBoss sar file, managing JBoss dependencies

2006-06-07 Thread Stephane Nicoll
The SarMojo is on codehaus. http://mojo.codehaus.org/jboss-sar-maven-plugin/ The book does not say you can build a sar with the ear plugin. It says you it's able to manage it. Just create it with the JBossSarMojo and add it as a dependency of the ear project. If you find the EAR plugin

Re: ear:generate-application-xml : ability to disable the context-root of a web module

2006-06-07 Thread Stephane Nicoll
Hi, Thanks for filling an improvement[1]. It's scheduled for 2.3 Cheers, Stéphane [1] http://jira.codehaus.org/browse/MEAR-29 On 6/2/06, Thierry Barnier [EMAIL PROTECTED] wrote: Hi, I'm developping some portlets, and bundling them into an EAR module. I use a multi module POM architecture

Re: [proxy] troube with https repos ?

2006-06-07 Thread Franz Fehringer
I have exactly the same problem with the same site. I opened MNG-2305 about it. Franz Matthias Wessendorf schrieb: Hi, I am behind a proxy and I have problems with https (for instance with java.net, since it uses https). Anybody noticed the same? Thx, Matthias

Re: Gernot Eger/T-Mobile/AT ist außer Haus. [Virus checked]

2006-06-07 Thread Roland Asmann
How nice of him to reply that to the mailing-list... Hope we don't get these kind of mails often! On Wednesday 07 June 2006 05:40, Matthias Wessendorf wrote: this guy is out of his office. he is back on June 8th On 6/6/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: English please...

Re: [m2] war plugin - need dependencies referenced in manifest but not in WEB-INF/lib

2006-06-07 Thread a crawford
Hi, Piéroni, thanks. But unfortunately the classpath entry for the dependency is lost from manifest.mf when you use the scope provided. Regards, Arthur. Piéroni Raphaël wrote: Hi, use the provided scope in the war project. (this will work for the web-inf/lib but i dunno for the

Re: Gernot Eger/T-Mobile/AT ist außer Haus. [Virus checked]

2006-06-07 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How nice of him to reply that to the mailing-list... Hope we don't get these kind of mails often! I don't know if you can suppress these messages for certain receivers if you activate the Out-Of-Office-assistant in Notes, Outlook or whatever mail

Re: Gernot Eger/T-Mobile/AT ist außer Haus. [Virus checked]

2006-06-07 Thread Roland Asmann
Well, if I remember correctly, it only sends out the mail once per sender... So it should be over now... :-) On Wednesday 07 June 2006 11:08, Thorsten Heit wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 How nice of him to reply that to the mailing-list... Hope we don't get these

Re: Creating a JBoss sar file, managing JBoss dependencies

2006-06-07 Thread allanb
Could someone post an example pom.xml file that uses the jboss-sar-maven plugin. I tried the one below, but got an error saying that the plugin could not be found. Do I need to specify a different repository? If so which url? Where does it expect the jboss-service.xml file to be? project

[m2] Where to put log4j.properties file

2006-06-07 Thread ben short
Hi, Where do I have to put my log4j.properties file in a ear file for it to be used? I have tried adding it to /src/main/resources but it dosent get picked up on the app server. Ben - To unsubscribe, e-mail: [EMAIL PROTECTED]

Assembly and multi-levels multi-modules

2006-06-07 Thread LECAN Damien
Hello, I'm using maven-assembly-plugin with multi-modules projects, and it works fine for flat hierachy. I mean for multi-modules projects as : Parent +- Submodule1 +- Submodule2 But for this kind of layout : Parent:pom +- Submodule1:jar +- SubParent:pom +- Subsubmodule1:jar

[M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Toni Price
When using the surefire plugin with maven 2.0.4, I want to be able to configure log4j for logging. I feel as though I have tried every conceivable configuration, but have not yet been able to get log4j output to show up (to either the console or a file). It appears to be configured from the

M2: renaming tld dependencies

2006-06-07 Thread Carsten Karkola
Hallo, we have some war subprojects with different tld dependencies. Is there some possibility to rename the tlds during packaging. I'd like to strip of the version numbers to avoid modifications in the web.xml files. regards, carsten

Re: Assembly and multi-levels multi-modules

2006-06-07 Thread Roland Asmann
Not 100% sure on this, but what if you try to make 2 assemblies here? the first one for the subsub-modules (inside the subparent) and the second one with the result of the subparent (=assembly of subsub-modules) and submodule? Not sure on how to do this, but it seems kind of logical this way to

Re: M2: renaming tld dependencies

2006-06-07 Thread Jorg Heymans
Try using the ant move task. On 6/7/06, Carsten Karkola [EMAIL PROTECTED] wrote: Hallo, we have some war subprojects with different tld dependencies. Is there some possibility to rename the tlds during packaging. I'd like to strip of the version numbers to avoid modifications in the web.xml

Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Stefan Arentz
I'm have a couple of projects that generate EAR files. These EARs are not dependent on eachother and this works just fine. However, now I want to include an EJB client jar from EAR 1 in EAR 2. I can't find the right recipe to make this work. I have this: Project 1: Generates a project1.ear and

[m2] changes plugin configuration

2006-06-07 Thread Wim Deblauwe
Hi, I would like to change the location of the changes.xml. The default is currently src\changes\changes.xml, but I woud like to have it as src\site\changes\changes.xml because I believe this is more part of the site and should be put there. How can I configure this? regards, Wim

RE: One more simple question

2006-06-07 Thread Midtskogen, Erik
Hi EJ, Are you talking about where dependency jars end up when assembly:assembly runs? If you are, then configure your assembly descriptor like so: assembly . . . dependencySets dependencySet

Re: [M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Stephen Coy
Hi, I usually just put my log4j config file in src/test/resources and it works fine. I would have thought that having your unit tests dependent upon an environment variable would make them non-deterministic. Do you really need to do this? In any event, other threads have suggested that

Re: Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Roland Asmann
The problem is the fact that you try to add it as a JAR (javaModule), but you have a dependency on it as an ejb-client (typeejb-client/type). Should it be just a jar, then you should remove the type, if it should be an EJB, replace javaModule with ejbModule. Roland On Wednesday 07 June 2006

Re: Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Stefan Arentz
On 6/7/06, Roland Asmann [EMAIL PROTECTED] wrote: The problem is the fact that you try to add it as a JAR (javaModule), but you have a dependency on it as an ejb-client (typeejb-client/type). Should it be just a jar, then you should remove the type, if it should be an EJB, replace javaModule

Re: [M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Toni Price
The thing is though, it doesn't seem to be a problem with log4j *finding* the configuration file. That seems ok. When you say you usually just put your log4j config file in src/test/resources, I assume you mean you use a default name (like log4j.properties) and then put another log4j.properties

Re: Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Roland Asmann
There's an ejbClientModule??? I haven't used ejb-client so far (only ejb), but at least I wasn't that far off! ;-) Roland On Wednesday 07 June 2006 15:28, Stefan Arentz wrote: On 6/7/06, Roland Asmann [EMAIL PROTECTED] wrote: The problem is the fact that you try to add it as a JAR

RE: Assembly and multi-levels multi-modules

2006-06-07 Thread LECAN Damien
Not 100% sure on this, but what if you try to make 2 assemblies here? the first one for the subsub-modules (inside the subparent) and the second one with the result of the subparent (=assembly of subsub-modules) and submodule? Not sure on how to do this, but it seems kind of logical this

Re: depencency version required

2006-06-07 Thread John Casey
When you put versions into those dependencies in your ear project, and *then* run `mvn help:effective-pom`, to you see the dependencyManagement section? If not, there is something wrong with your parent specification...it may be something as simple as not using a relativePath/ where the others

RE: [m2] war plugin - need dependencies referenced in manifest but not in WEB-INF/lib

2006-06-07 Thread Mike Perham
We use an exclude rule for WEB-INF/lib/*.jar and a custom version of the war plugin with MWAR-39 fixed. -Original Message- From: Arthur Crawford [mailto:art[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 3:02 AM To: users@maven.apache.org Subject: [m2] war plugin - need dependencies

install:install-file

2006-06-07 Thread SlinnHawkins, Jon (ELS)
Hi, I have just set up an internal (remote) repository for all our inhouse jars etc How can I use install:install-file to manually place jars into this repo ? Using mvn install:install-file -DgroupId=javax.xml -DartifactId=jax-qname -Dversion=1.1 -Dpackaging=jar -Dfile=C:\Dev

RE: [m2] Where to put log4j.properties file

2006-06-07 Thread SlinnHawkins, Jon (ELS)
Hi Ben, Which App Sever are you using ? WebSphere ? ben short [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, Where do I have to put my log4j.properties file in a ear file for it to be used? I have tried adding it to /src/main/resources but it dosent get picked up

Re: Maven-EAR-Plugin - Including an EJB client in an EAR mystery

2006-06-07 Thread Stefan Arentz
On 6/7/06, Roland Asmann [EMAIL PROTECTED] wrote: There's an ejbClientModule??? I haven't used ejb-client so far (only ejb), but at least I wasn't that far off! ;-) :-) A beer if you can find it in the documentation. (Mhuahahahahahahahaha) S.

Re: available plugins

2006-06-07 Thread Jamie Bisotti
On 6/6/06, John Casey [EMAIL PROTECTED] wrote: mvn help:describe -Dplugin=plugin-prefix -Dfull=true or mvn help:describe -Dplugin=plugin-groupId:plugin-artifactId[:plugin-version] -Dfull=true Watch out, though...you'll get all the configuration options for every goal contained in the plugin!

RE: [m2] Where to put log4j.properties file

2006-06-07 Thread Mike Perham
Containers usually have their own logging configuration. WebSphere has a config page in their admin console. Jboss has a log4j.xml configuration file. Check the docs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ben short Sent: Wednesday, June 07,

Re: Maven 2 and WTP

2006-06-07 Thread Jamie Bisotti
On 6/7/06, Zeiler Christian, Bedag [EMAIL PROTECTED] wrote: Hello Yesterday I tried to convert a maven project into an eclipse wtp project with the maven-eclipse-plugin. But unfortunately it doesn't work. Maven doesn't create all off the needed files for eclipse so I wasn't able to import the

Re: [m2] maven-release-plugin: how about a prompt for customizing commit comment during release preparation ?

2006-06-07 Thread Jorg Heymans
Sounds like a perfectly valid usecase to me, create a ticket on jira.codehaus.org/browse/MRELEASE in case nobody else chips in here. Jorg On 6/6/06, Dario Luis Coneglian Oliveros [EMAIL PROTECTED] wrote: Hi there, I've been trying to use maven-release-plugin to prepare a release, but

Re: Maven 2 and WTP

2006-06-07 Thread Paul Spencer
Please be aware their are Release Candidates of WTP v1.5 currently available. I would encourage that any changes to the eclipse plugin support WTP 1.5. Paul Spencer RJamie Bisotti wrote: On 6/7/06, Zeiler Christian, Bedag [EMAIL PROTECTED] wrote: Hello Yesterday I tried to convert a maven

Re: install:install-file

2006-06-07 Thread Roland Asmann
You can't with install:install-file, you should use deploy:deploy-file! Roland On Wednesday 07 June 2006 16:01, SlinnHawkins, Jon (ELS) wrote: Hi, I have just set up an internal (remote) repository for all our inhouse jars etc How can I use install:install-file to manually place jars

RE: install:install-file

2006-06-07 Thread SlinnHawkins, Jon (ELS)
So I WAS being stupid ;-) Thanks -Original Message- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: 07 June 2006 15:21 To: Maven Users List Subject: Re: install:install-file You can't with install:install-file, you should use deploy:deploy-file! Roland On Wednesday 07 June

RE: [m2] war plugin - need dependencies referenced in manifest but not i

2006-06-07 Thread a crawford
Ahh... thanks Mike that's great. That was one of the things I tried, and then gave up on when it didn't work (using war plugin v2.0). Is it possible to get hold of the fixed war plugin version 2.0.1, or am I better off using the older 2.0-beta-2 for now and waiting for the next release.

RE: install:install-file

2006-06-07 Thread Roland Asmann
You didn't hear ME say that! ;-) On Wednesday 07 June 2006 16:23, SlinnHawkins, Jon (ELS) wrote: So I WAS being stupid ;-) Thanks -Original Message- From: Roland Asmann [mailto:[EMAIL PROTECTED] Sent: 07 June 2006 15:21 To: Maven Users List Subject: Re: install:install-file

Packaging Question

2006-06-07 Thread Shahid Faiz
Hi All, I am new to maven. After studying some material on it, my understanding is every POM file should correspond to one JAR/WAR/EAR. I have a scenario, my project contains some file which are only packaged if the target JVM version is 1.5 and some of them are included if target JVM

Re: Packaging Question

2006-06-07 Thread Roland Asmann
Check out all the threads and docs about the maven-assemply-plugin... Roland On Wednesday 07 June 2006 16:34, Shahid Faiz wrote: Hi All, I am new to maven. After studying some material on it, my understanding is every POM file should correspond to one JAR/WAR/EAR. I have a scenario, my

Re: Packaging Question

2006-06-07 Thread Geoffrey De Smet
What is your target JVM? If it's the one on your developer's platform, take a look at profiles (see free M2 book) and make a profile with build sourcefolders excludes if the profile is JVM 1.2. If you really want 2 different jars (to distribute), you need 2 different pom.xml's (= different

Re: [M2] Snapshots deployed to server not being found

2006-06-07 Thread Alexandre Poitras
Thank, in my case it was just a matter of definition order. On 6/6/06, ben short [EMAIL PROTECTED] wrote: Hi All, Seems it was down to my maven config Here is what I added to my settings.xml profile idnexusalpha/id - repositories - repository - releases

[m2] Assembling modules and dependencies, pom vs jar

2006-06-07 Thread Andrew Niefer
I have what amounts to an aggregator pom that I use to create an assembly of a few different jars. I do this by having my aggregator depend on the jars I want in my zip and using a dependencySet in my assembly descriptor. It seems that assembly:assembly only actually puts anything in the zip

JSP compiler plugin

2006-06-07 Thread Eugeny N Dzhurinsky
plugin groupIdorg.codehaus.mojo/groupId artifactIdjspc-maven-plugin/artifactId executions execution idjspc/id phasecompile/phase goals goalcompile/goal /goals configuration

RE: [m2] war plugin - need dependencies referenced in manifest but not i

2006-06-07 Thread Mike Perham
I would try beta-2. If it works fine for you, there's no need to mess around with 2.0. -Original Message- From: a crawford [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 9:27 AM To: users@maven.apache.org Subject: RE: [m2] war plugin - need dependencies referenced in manifest

inhouse WebSphere repo

2006-06-07 Thread SlinnHawkins, Jon (ELS)
Hi, I'm trying to find a nice way of building a repository for all the IBM WebSphere Application Server jars. To explain a little background. dev environment Eclipse Tomcat Live environment WebSphere Application Server 5.1 I would like to be able to build against the jars that are

Re: inhouse WebSphere repo

2006-06-07 Thread Nicolas De Loof
I'm using com.ibm as groupId for IBM jars (websphere MQ) in my private repo. If you are using lot's of IBM jars you may use a more specific groupIds like com.ibm.websphere Nico. SlinnHawkins, Jon (ELS) a écrit : Hi, I'm trying to find a nice way of building a repository for all the

Re: [M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Stephen Coy
I don't build log4j configuration into my production applications. I include it as part of the server configuration. I've found that doing it any other way frequently leads to classloader wars because many application/web servers have their own copy of log4j anyway. Your test results are

EJB Client dependencies

2006-06-07 Thread Todd Nine
Hi all, I'm declaring an EJB client with the following decencies in a webapp, and the common interfaces and beans for parameters and return values dependency groupIdata.partnership/groupId artifactIdpartnershipCommon/artifactId version1.0.0-SNAPSHOT/version /dependency

Re: EJB Client dependencies

2006-06-07 Thread Roland Asmann
Make them 'provided' in the ejb-client... Roland On Wednesday 07 June 2006 18:48, Todd Nine wrote: Hi all, I'm declaring an EJB client with the following decencies in a webapp, and the common interfaces and beans for parameters and return values dependency

Re: [M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Toni Price
Well I knew it must have been something entirely dumb - as it turns out an NPE was stopping my logging statements from being executed (duh!). This was a case of looking in the wrong place ... I've had various problems with M2 plugins so I guess I was too quick to assume it was something to do

How to include externel .jar libraries into a a package?

2006-06-07 Thread Marc Weber
Hi. I want to create a package for a sourceforge project. It contains src/javafiles.java and lib/somejar1,2,3,...jar Now I want include the lib/somejar.jar into the distribution but I don't know how to do this? Unpack the jars and add the .class files using project build resources

Wagon-webdav distribution - where to put username/password

2006-06-07 Thread Darren Hartford
Hey all, I'm trying to distribute artifacts to a webdav server, but I do not seem to know where to put the username/password. When the webdav server (apache 2.2) is un-secured, it works fine. Configured Maven as follows: Pom.xml = distributionManagement

[m2] How to include a file in a WAR file's /META-INF folder?

2006-06-07 Thread Mark Reynolds
If I include a file (not talking about MANIFEST.MF here) in src/main/resources/META-INF, it ends up in WEB-INF/classes/META-INF in the WAR file. What is the correct way to include a file in the WAR file's META-INF? -- Mark R

ClearCase and Continuum

2006-06-07 Thread Mike Lundin
I'm very much a rookie with Continuum (and Maven for that matter) and am trying to set up Continuum to work with my already existing ClearCase views. We're running ClearCase LT and I don't really want to go straight to the viewstore. The data in our streams is extensive and I would rather just

RE: Wagon-webdav distribution - where to put username/password

2006-06-07 Thread Darren Hartford
Reposting on Wagon user list, although it's not that active... Attempting to use an Apache 2.2 webdav server to distribute artifacts (see below details). *Require username/password authentication. *Will be testing https right after, so please let me know of any issues related to that as well :-)

Re: Maven2 book version 1.1?

2006-06-07 Thread Carlos Sanchez
In Acrobat reader you can click on the Bookmarks tab and it gives you all the sections of the book and you click on them and get placed in the section you want. On 6/4/06, Jo Vandermeeren [EMAIL PROTECTED] wrote: Hi Carlos, Clickable links in the table of contents would be nice too.. Cheers

Re: Wagon-webdav distribution - where to put username/password

2006-06-07 Thread Carlos Sanchez
I think it's due to a bug that was fixed in SVN, check http://jira.codehaus.org/browse/WAGON-48 On 6/7/06, Darren Hartford [EMAIL PROTECTED] wrote: Hey all, I'm trying to distribute artifacts to a webdav server, but I do not seem to know where to put the username/password. When the webdav

Re: inhouse WebSphere repo

2006-06-07 Thread SlinnHawkins, Jon (ELS)
Hi, How are you naming versioning the jars within the com.ibm group Cheres Jon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ClearCase and Continuum

2006-06-07 Thread Wim Deblauwe
I know there is someone using ClearCase LT, so it should work. Look at the documentation on the SCM website on how to configure for ClearCase LT regards, Wim 2006/6/7, Mike Lundin [EMAIL PROTECTED]: I'm very much a rookie with Continuum (and Maven for that matter) and am trying to set up

Re: [m2] How to include a file in a WAR file's /META-INF folder?

2006-06-07 Thread Thierry Barnier
I put my jars in WEB-INF/lib Adding the following section to my POM file build plugins plugin artifactIdmaven-war-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath

Re: [OT] sample httpd.conf for use with wagon-http PUT

2006-06-07 Thread Carlos Sanchez
You should try wagon-webdav http://maven.apache.org/wagon/wagon-providers/wagon-webdav/index.html On 6/6/06, Darren Hartford [EMAIL PROTECTED] wrote: Sorry, problem doesn't seem to be configuration after all: http://jira.codehaus.org/browse/WAGONHTTP-8 -Original Message- From:

Re: ClearCase and Continuum

2006-06-07 Thread Mike Lundin
I started there, and I've got it to the point that it shuts of the -vws flag, but the setup shown in the documentation only shows examples for ClearCase LT that use a central viewstore, which I would like to avoid if I can. On 6/7/06, Wim Deblauwe [EMAIL PROTECTED] wrote: I know there is

Re: [m2] How to include a file in a WAR file's /META-INF folder?

2006-06-07 Thread Mark Reynolds
Thanks for the quick response, however, my question has to do with how to add an arbitrary file to the WAR file's META-INF directory. I am creating a properties file with some metadata about the state of the source with respect to source control (repository revision, date, url, etc.) that I

[m2] PDF version of website docs?

2006-06-07 Thread Wendy Smoak
Maven 1 has the PDF Plugin, which produces a really nice PDF version of the website docs. * struts.apache.org/struts-shale/struts-shale.pdf Is there anything comparable for Maven 2? So far I've only found this: http://jira.codehaus.org/browse/DOXIA-53 -- Wendy

RE: One more simple question

2006-06-07 Thread rudy.bistrovich
That does work but you didn't need to do that prior to 2.0.4. -Original Message- From: Midtskogen, Erik [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 8:44 AM To: Maven Users List Subject: RE: One more simple question Hi EJ, Are you talking about where dependency jars end up

Re: [m2] How to include a file in a WAR file's /META-INF folder?

2006-06-07 Thread Mark Reynolds
NM. Doh! Just put it under src/main/webapps/META-INF. Mark Reynolds wrote: Thanks for the quick response, however, my question has to do with how to add an arbitrary file to the WAR file's META-INF directory. I am creating a properties file with some metadata about the state of the source

Re: Referencing Files from a Unit Test

2006-06-07 Thread Jimisola Laursen
Hi! I had a glance at the same thing today as we are migration to Maven from Ant. Decided that putting the files under resources and using getResource was the most convenient, but I am a Maven newbie and there might be easier ways? URL url = Class.getResource(/ + filename);

Re: [m2] PDF version of website docs?

2006-06-07 Thread Wayne Fay
I've only ever seen the M1 plugin and the DOXIA bug myself. So, it seems like nothing is available for M2 at this time. Wayne On 6/7/06, Wendy Smoak [EMAIL PROTECTED] wrote: Maven 1 has the PDF Plugin, which produces a really nice PDF version of the website docs. *

How best to specify maven-proxy - in settings.xml or as repository in pom.xml?

2006-06-07 Thread Michael Waluk
I would love some advice... I would like developers on my team to be able to checkout our maven project from source control (Clearcase) and run the package goal on it to build it. Ideally they need only install the maven eclipse plugin to execute that goal within eclipse. I've installed

Re: How to include externel .jar libraries into a a package?

2006-06-07 Thread Wayne Fay
Install each library jar into your local repository with the install:install-file command... Just make up reasonable groupId and artifactIds, and hopefully you know the version numbers. mvn install:install-file -DgroupId={xyz} -DartifactId={abc} -Dversion={1.2.3} -Dpackaging=jar

Re: inhouse WebSphere repo

2006-06-07 Thread Carlos Sanchez
You can submit your poms for inclusion in ibiblio making sure that everybody follos some naming conventions On 6/7/06, SlinnHawkins, Jon (ELS) [EMAIL PROTECTED] wrote: Hi, I'm trying to find a nice way of building a repository for all the IBM WebSphere Application Server jars. To explain a

Re: How best to specify maven-proxy - in settings.xml or as repository in pom.xml?

2006-06-07 Thread Wayne Fay
We use ~/.m2/settings.xml for Maven-proxy configurations. If you use repo in pom.xml, then your developers will always hit Central when they build, which you probably want to avoid. I believe the build.properties reference is simply leftover from M1 and can be safely ignored for those of us

Re: eclipse, wtp, maven and web apps

2006-06-07 Thread Alexandre Poitras
It isn't a problem, your ide compiling/debugging functionalities are enough to write and test your code. In that case, you just need Maven to produce a valid Eclipse project according to the pom. If it's still bother you, just turn off Eclipse automatic build features and run Maven from Eclipse

Re: How best to specify maven-proxy - in settings.xml or as repository in pom.xml?

2006-06-07 Thread Alexandre Poitras
You should declare repositories in both and mirrors in settings.xml. A corporation wide parent pom is the best solution to define repositories but you still need to define them in settings.xml to handle 2 specific cases : 1) Being able to retrieve the parent pom. 2) Run indivual goals that don't

Re: How best to specify maven-proxy - in settings.xml or as repository in pom.xml?

2006-06-07 Thread Alexandre Poitras
By the way, the proxy element in settings.xml is used to specify a HTTP proxy not a Maven-proxy. On 6/7/06, Alexandre Poitras [EMAIL PROTECTED] wrote: You should declare repositories in both and mirrors in settings.xml. A corporation wide parent pom is the best solution to define repositories

Re: Maven 2 and WTP

2006-06-07 Thread Alexandre Poitras
The eclipse plugin works like a charm with WTP. I use it on a daily basic. If your project structure respect Maven conventions, a simple mvn -Dwtpversion=1.0 eclipse:eclipse does the trick. On 6/7/06, Zeiler Christian, Bedag [EMAIL PROTECTED] wrote: Hello Yesterday I tried to convert a maven

Error looking up lifecycle mapping to retrieve optional mojos

2006-06-07 Thread andreas.ebbert-karroum
Hi, I've defined my own plugin (with the maven-plugin-tools-ant plugin) with it's own lifecycle and artifact handler. when I now try to use the plugin in another project, it works fine, but I'm getting this debug warning - and I have no clue, what it is about - can it be fixed, and if yes,

Re: JSP compiler plugin

2006-06-07 Thread Alexandre Poitras
Is c.tld located in src/main/resources/WEB-INF/tld? On 6/7/06, Eugeny N Dzhurinsky [EMAIL PROTECTED] wrote: plugin groupIdorg.codehaus.mojo/groupId artifactIdjspc-maven-plugin/artifactId executions execution idjspc/id phasecompile/phase

Skip instal//deploy

2006-06-07 Thread Sean Schofield
Is there a way to mark an artifact such that the install and deploy are skipped? In my case, there really is no need to have WAR files in my local or public repositories. Sean - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Skip instal//deploy

2006-06-07 Thread Alexandre Poitras
Just run 'compile' instead of install or deploy. They are the last lifecycle phases so they are easy to skip :) On 6/7/06, Sean Schofield [EMAIL PROTECTED] wrote: Is there a way to mark an artifact such that the install and deploy are skipped? In my case, there really is no need to have WAR

Re: Skip instal//deploy

2006-06-07 Thread Alexandre Poitras
Oops I mean 'package'. On 6/7/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Just run 'compile' instead of install or deploy. They are the last lifecycle phases so they are easy to skip :) On 6/7/06, Sean Schofield [EMAIL PROTECTED] wrote: Is there a way to mark an artifact such that the

Re: How best to specify maven-proxy - in settings.xml or as repository in pom.xml?

2006-06-07 Thread Wayne Fay
I actually meant (but did not say explicitly) that we configure our Maven Proxy as a Central mirror... This overrides Central and forces everyone to use our Proxy, and helps to ensure that our builds are repeatable etc as all required artifacts are available in our corporate proxy. Wayne On

Re: JSP compiler plugin

2006-06-07 Thread Max Cooper
Did I read that correctly that . is your warSourceDirectory? I would expect many issues with that directory structure, though I am not sure if your current issue is related. -Max Alexandre Poitras wrote: Is c.tld located in src/main/resources/WEB-INF/tld? On 6/7/06, Eugeny N Dzhurinsky

Re: eclipse, wtp, maven and web apps

2006-06-07 Thread kvpetrov
I don't think turning off autobuild feature of Eclipse is a good idea. I like Eclipse compiling my java classes on fly. There two problems with the current behavior: 1) I don't want to waste my CPU on copying files back and forward taking into account that the resulting application is not usable

Re: eclipse, wtp, maven and web apps

2006-06-07 Thread Alexandre Poitras
Well this may be possible in the future with the eclipse maven plugin. Anyway, packaging a web app is not something you do regularly. I think you are being a bit idealistic here. It's not optimal but in the mean time it works correctly. Never seen any performance issue and I don't agree with what

Re: eclipse, wtp, maven and web apps

2006-06-07 Thread Alexandre Poitras
By the way, when I speak about the Eclipse Maven plugin, I am speaking about this one http://maven.apache.org/eclipse-plugin.html. I guess in the future, there is going to be a more complete Maven builder included. On 6/7/06, Alexandre Poitras [EMAIL PROTECTED] wrote: Well this may be possible

  1   2   >