How to deploy maven plugin jar to inhouse repository

2007-01-26 Thread Minto.van.der.Sluis
Hi all, Does anyone know how to deploy a maven plugin jar to an inhouse repository (no proxy)? I tried deploy:deploy-file like this: mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-ejb-plugin -Dversion=2.1-SNAPSHOT -Dpackaging=maven-plugin

Re: How to deploy maven plugin jar to inhouse repository

2007-01-26 Thread Nick Stolwijk
If you change the distributionManagement in the pom file of the plugin you want to deploy to point to your own repository, you can do a mvn deploy to deploy it to there. Hth, Nick Stolwijk [EMAIL PROTECTED] wrote: Hi all, Does anyone know how to deploy a maven plugin jar to an inhouse

RE: How to deploy maven plugin jar to inhouse repository

2007-01-26 Thread Minto.van.der.Sluis
Thanks Nick, But I can not access the internal repository (at work) from the box (at home) where I build the plugin. Minto -Oorspronkelijk bericht- Van: Nick Stolwijk [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 26 januari 2007 10:01 Aan: Maven Users List Onderwerp: Re: How to

Re: Dont ask central repository for own artifacts

2007-01-26 Thread Sebastian Breit
Thanks. Proximity looks good. Sebastian Wayne Fay schrieb: In short, no you cannot, at least not with Maven 2.0.4. Instead, you are generally suggested to set up a Maven Proxy (Proximity, Archiva, etc) and override Central with a mirrorOf in your settings.xml file. Then you configure the

Re: [M2] problems running xdoclet-maven-plugin to genetare hibernate xml files

2007-01-26 Thread Roberto UserList
Hi Mick! I confused about what you did exactly. My configuration is not working yet. Is your configuration working fine? Could you send me your main pom and the sub pom of you project. It would help me to compare with my files. Thanks a lot. Regards, Roberto. On 1/25/07, Mick Knutson [EMAIL

xdoclet plugin makes eclipse:eclipse fail

2007-01-26 Thread nicolas de loof
Hello, I'm using the xdoclet plugin in maven2 for jspdoclets. My webapp depends on another module (persistence). When the xdoclet plugin is commented, maven eclipse:eclipse works fine. When the xdoclet plugin used, maven eclipse:eclipse requires the persistence.jar to be in repository. A new

Is concurrent execution of two Mavens safe?

2007-01-26 Thread Štěpán Roh
Hello. What I would like to know is whether if I run two Mavens at once and they both change something in local repository at the same time (either downloading required plugin or doing an install) if it is possible that the repository can be damaged (downloaded plugin is incomplete,

new configuration phase ? (was: xdoclet plugin makes eclipse:eclipse fail)

2007-01-26 Thread nicolas de loof
I solved this by setting xdoclet to run under process-resources phase and not generate-resource, as the eclispe:eclispe goal is attached to it. Is there some plan to add native support in maven for environment configuration, without any requirement for a build phase ? Why should the eclispe

EJB3 with maven

2007-01-26 Thread Vidya Mahavadi
Hi, I have to deploy an application with EJB3 to JBoss 4.0.4 server. I also need to use EJB JPA for persistance. In maven 2.0, can anyone please give me steps how to generate/deploy ear file from the application. It would be a great help! Regards, This e-mail is subject to a disclaimer,

Re: EJB3 with maven

2007-01-26 Thread Marco Mistroni
Hi, you don't need anything special.. with jboss, you can deploy an ejb as a jar file. All you need to do is to have a jar project, make sure to put in your src/main/resources a META-INF directory with your persistence.xml file in it this is the simplest setup you could have hth marco On

Re: EJB3 with maven

2007-01-26 Thread Vitor Pellegrino
Another good approach would be to split the project in different modules as shown in Better Builds with maven[1] book. I would suggest you to take a good look at this one, it can be a real time saver. [1]http://www.mergere.com/m2book_download.jsp On 1/26/07, Marco Mistroni [EMAIL PROTECTED]

RE: [m2] BUILD ERROR maven-changelog-plugin does not exist - Read your email

2007-01-26 Thread Lageson,Thomas M
Jens, This is the third time I have responded to your exact same email. Does it not work? If not, give us more information. - Tom -Original Message- From: Lageson,Thomas M Sent: Wednesday, January 24, 2007 3:31 PM To: Maven Users List Subject: RE: [m2] BUILD ERROR

How do I escape a variable in a filtered resource?

2007-01-26 Thread Dan Hardiker
Hi, My question is simply: how do I escape ${id} in a filtered resource to have it outputted literally? The background is that I am using Maven 2 and have the following in a filtered resource file: atlassian-plugin key=${atlassian.plugin.key} name=${pom.name} enabled=true plugin-info

[M2] jxr doesn't work with latest findbugs

2007-01-26 Thread CodingPlayer
Hi, I use the findbugs and JXR plugins from codehaus, but the cross reference linking doesn't work for findbugs. (but it works properly for other plugins, e.g. PMD) here is my pom.xml snipet: reporting plugin groupIdorg.codehaus.mojo/groupId

Re: EJB3 with maven

2007-01-26 Thread Vidya Mahavadi
Hi Marco, Thanks for your respose. Can you please explain in little detail or a sample pom.xml if you have.. I am having problem to get ejb3 plugin to work.. Regards, Vidya Marco Mistroni [EMAIL PROTECTED] 26/01/2007 15:52 Please respond to Maven Users List users@maven.apache.org To

Build has been in enqueued status for almost 18 hours

2007-01-26 Thread Anoop kumar V
Here is the log: 250 2.0.0 l0PLI3TW028009 Message accepted for delivery QUIT 2007-01-25 16:18:06,173 [Thread-2] INFO MsnClient - Connection. Waiting for the response 2007-01-25 16:18:07,793 [MSN Channel(NS)] INFO MsnClient - Connected. 2007-01-25 16:21:41,725 [SocketListener0-6] INFO

How do I use a war as dependency?

2007-01-26 Thread Maruf Aytekin
Hi I have a multi module project as below: main/pom - |war/ pom | ejb/pom ejb and war project are the subprojects for main. some classes in ejb depends on the classes in war project. Since packaging is war for this project howshould i define this dependency? Is there a

Re: EJB3 with maven

2007-01-26 Thread Marco Mistroni
Hi, here i posted a project that uses EJB3 with microcontainer.. you can get copy of pom.xml from attachments http://docs.codehaus.org/display/MAVENUSER/How+to+use+the+JBoss+Embedded+EJB3+Container+for+Unit+testing i am NOT using EJB3 plugin, because in jboss you can deploy ejb3 in a simple jar

Re: Build has been in enqueued status for almost 18 hours

2007-01-26 Thread Emmanuel Venisse
You can try to restart your continuum. if the state doesn't change aftert the restart, click the 'build all' button. I don't think it's a pb with the msn notifier. Emmanuel Anoop kumar V a écrit : Here is the log: 250 2.0.0 l0PLI3TW028009 Message accepted for delivery QUIT 2007-01-25

Re: How do I use a war as dependency?

2007-01-26 Thread Niels Gylling
ejbs can only depend on jars, so create a shared module artifact containing common code. /Niels Maruf Aytekin wrote: Hi I have a multi module project as below: main/pom - |war/ pom | ejb/pom ejb and war project are the subprojects for main. some classes in ejb depends

Re: How do I use a war as dependency?

2007-01-26 Thread Maruf Aytekin
The common code needs to into war file too. How could I do that without using two copies of the common code? Thanks Maruf Niels Gylling wrote: ejbs can only depend on jars, so create a shared module artifact containing common code. /Niels Maruf Aytekin wrote: Hi I have a multi module

Re: EJB3 with maven

2007-01-26 Thread Vidya Mahavadi
Thanks Marco, I will check out the link. I am trying to learn most of the stuff I mentioned all at same time, and struggling to put everything together. :) Thanks, Vidya Marco Mistroni [EMAIL PROTECTED] 26/01/2007 16:43 Please respond to Maven Users List users@maven.apache.org To Maven

Re: Build has been in enqueued status for almost 18 hours

2007-01-26 Thread Anoop kumar V
funnily, all the other builds were also blocked.. they were just enqueued. I did not want to build all, so I deleted the first project which was causing the enqueued build and recreated it again. But as soon as recreated 9and before I hit build), it started checking out code into a new folder. Is

Re: How do I use a war as dependency?

2007-01-26 Thread Thierry Lach
Create third jar artifact containing common code. war and ejb include common jar as dependencies. On 1/26/07, Maruf Aytekin [EMAIL PROTECTED] wrote: The common code needs to into war file too. How could I do that without using two copies of the common code? Thanks Maruf Niels Gylling

Re: How do I use a war as dependency?

2007-01-26 Thread Niels Gylling
Have both the war and the ejb depend on the common code, it will then be bundled in WEB-INF/lib in the war. Aleo ensure that the ejb has a classpath entry to the commmon code like plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId

Re: EJB3 with maven

2007-01-26 Thread Marco Mistroni
Hi, the simplest thing? - write a jar project containing two simple ejb, mayb a session and an entity - create a META-INF directory in your src/main/resources directory, place there your persistence.xml - build and package the jar - deploy on jboss if you don't see any errors, it means it has

Re: how to copy mupltiple resource files

2007-01-26 Thread Petar Tahchiev
On 26/01/07, adingfelder [EMAIL PROTECTED] wrote: I got my jar creation working using the maven-jar-plugin but I also need to copy some resources such as property files, dlls and readme files etc. Is there an easy way to copy either specific files, or alternatively all files from a secondary

Re: EJB3 with maven

2007-01-26 Thread Alexander Sack
As Marco is saying you don't need to use the ejb3 plugin. Just create a stand alone JAR to deploy under JBoss. Again, first read the Better Builds with Maven 2 book which gives plenty of examples. -aps On 1/26/07, Vidya Mahavadi [EMAIL PROTECTED] wrote: Hi Marco, Thanks for your respose.

Managing external libraries

2007-01-26 Thread lightbulb432
I'm brand new to Maven. How can it help me manage the mess of JARs and the corresponding source and Javadocs that generally aren't packaged within those JARs? Right now my projects are a mess of inconsistency in terms of storing source and Javadocs for external libraries. Some JARs have this

maven2, eclipse and hierarchical layout

2007-01-26 Thread Marco Mistroni
hi all, i still havent' managed to use maven2 with eclipse where i have a parent project and few children project has anyone managed to have that setup working correctly in eclipse? any hints on how to make it work will be greatly appreciated regards marco

Thanks for Maven 2

2007-01-26 Thread Franz Garsombke
I know that most of the time people post to ask questions or report problems. I would like to give thanks to the Maven team for producing some much needed forward-thinking software that really does revolutionize how we build componentized software. I know that working on open source is

Re: Thanks for Maven 2

2007-01-26 Thread Carlos Sanchez
Thanks Franz! we'll make you a discount next time you download maven ;) On 1/26/07, Franz Garsombke [EMAIL PROTECTED] wrote: I know that most of the time people post to ask questions or report problems. I would like to give thanks to the Maven team for producing some much needed

Re: m1 - m2 and the maven-one-plugin

2007-01-26 Thread emerson cargnin
Does this plugin generates the POM's taking in account the recursive dependencies? I mean, if a module depends on two modules (on maven1) and one of them depends on the other, my final POM will still have the two of them? as it would be unecessary. does it work for multi-projects? On 13/01/07,

Re: Is concurrent execution of two Mavens safe?

2007-01-26 Thread Christian Goetze
Štěpán Roh wrote: Hello. What I would like to know is whether if I run two Mavens at once and they both change something in local repository at the same time (either downloading required plugin or doing an install) if it is possible that the repository can be damaged (downloaded plugin is

Re: Maven-surefire qurious problem when extending it

2007-01-26 Thread Petar Tahchiev
On 26/01/07, Kevan Dunsmore [EMAIL PROTECTED] wrote: I had similar problems with extension in my own plugins. It may be related to the process Maven uses to set private member variables with bound project properties. From what I've seen, it analyzes the source of your plugin when you build and

Re: Thanks for Maven 2

2007-01-26 Thread Stephane Nicoll
Thanks Franz for your kind words and your support. Cheers, Stéphane On 1/26/07, Franz Garsombke [EMAIL PROTECTED] wrote: I know that most of the time people post to ask questions or report problems. I would like to give thanks to the Maven team for producing some much needed forward-thinking

Activating a profile with settings.xml

2007-01-26 Thread David Jackman
According to the documentation at http://maven.apache.org/settings.html: Any profile id defined as an activeProfile will be active, reguardless of any environment settings. If no matching profile is found nothing will happen. For example, if env-test is an activeProfile, a profile in a pom.xml

Maven release plugin and J2EE projects

2007-01-26 Thread Randy L. Ringeisen
Hi. I have a question about the release plugin (Maven 2 release plug-in 2.0 beta 4). I have a multi-level project as follows Parent - artifact type is POM -- Ejb - creates an EJB JAR -- Ear - creates an EAR that includes the EJB jar The Ear project depends on the Ejb jar that is

Fw: FtpWagon.java error

2007-01-26 Thread Enrique Gaona
Jiaqi, Here's a copy of my pom.xml with the repository and a snippet of my settings.xml file. I'm using an id csdpRepository and csdpFtpRepository, but for some reason, its not reading the settings.xml. Thanks. project xmlns=http://maven.apache.org/POM/4.0.0;

maybe interesting for newbies

2007-01-26 Thread Manuel J. Recena Soto
Hi people: This is my first message to list. I did a cheatsheet about P.O.M. it's simple but maybe interesting for newbies. Regards -- Manuel J. Recena Soto * www.manuelrecena.com[/blog] * [EMAIL PROTECTED] * +34 609710280 (ES)

maybe interesting for newbies

2007-01-26 Thread Manuel J. Recena Soto
Hi people: This is my first message to list. I did a cheatsheet[1] about P.O.M. it's simple but maybe interesting for newbies. [1] http://www.manuelrecena.com/blog/uploads/images/maven-sheat-sheet_1024.png Regards -- Manuel J. Recena Soto * www.manuelrecena.com[/blog] * [EMAIL PROTECTED] *

Re: How do I escape a variable in a filtered resource?

2007-01-26 Thread franz see
Good day to you, Dan, You can try the workaround in [1], @[EMAIL PROTECTED]@end@ where start = ${ end = } ...or the workaround in [2] ${dollarSign}{id} where dollarSign=$ Cheers, Franz [1] http://jira.codehaus.org/browse/MRESOURCES-29 [2] http://jira.codehaus.org/browse/ARCHETYPE-39

maven2, eclipse and hierarchical layout

2007-01-26 Thread Morgovsky, Alexander \(US - Glen Mills\)
I use a flat structure where the children reference the parent as ..\(name of parent). Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you

Re: Activating a profile with settings.xml

2007-01-26 Thread Eric Redmond
Profiles should be activated in this way. Try: mvn help:active-profiles See if your profile is active. Eric On 1/26/07, David Jackman [EMAIL PROTECTED] wrote: According to the documentation at http://maven.apache.org/settings.html: Any profile id defined as an activeProfile will be

Build Status Dashboard Project

2007-01-26 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hello. I have multiple builds being deployed to multiple servers. My system works on Subversion, Continuum and Maven 2. Is there a dashboard which has red lights(failure), yellow(in progress) and green (success) which displays the status of the builds and their destination servers? Thank you.