Re: jboss:deploy Issue

2006-11-17 Thread jiangshachina
Hi guys, [1]Don't deploy successfully via the plugin. I used following config, E:/jboss-4.0.2 default ${project.build.directory}/${project.build.finalName}.${project.packaging} localhost 8082 and run jboss:deploy, an error throw

release:prepare without user intervention

2006-11-17 Thread Lara Brian
I am new to Maven and just started playing with the plugins. I have a question, right now when i run "mvn release:prepare" it asks for user input. Is it possible to run the same command and instead of waiting for me to answer the questions, is it possbile for it to read some property file f

Re: be sensitive to every change?

2006-11-17 Thread Wayne Fay
You haven't gotten any responses because its a complicated subject and has been discussed previously. You should probably search the mailing list archive and see what you can find. In general, you will find that Maven is not entirely developer-time friendly, imo. Wayne On 11/17/06, jiangshachina

Re: Use jars in local repo or other dirs?

2006-11-17 Thread Wayne Fay
My rule for projects built using Maven is "if it doesn't build using mvn from the command line, then the build is broken." If code is added to the project which requires a dependency, and a corresponding pom.xml modification is not added along with it, your project will fail to build. So I would

Re: be sensitive to every change?

2006-11-17 Thread jiangshachina
Hi, May my requirement cannot be fulfilled? Or none of Web/Application Server has the ability? Or I have to do something in my application to archive the goal(When refresh pages, re-load the classes or resources)? a cup of Java, cheers! Sha Jiang jiangshachina wrote: > > Hi guys, > I have a We

Use jars in local repo or other dirs?

2006-11-17 Thread jiangshachina
Hi guys, When use Maven for building project, we must need local repository. But what about on developing time? For example, I'm developing a complex Web application. When the project started, I set many dependencies in pom.xml, and use eclipse:eclipse to make Eclipse project descriptor files.The

Re: JUnit/Test among multi-projects?

2006-11-17 Thread jiangshachina
Hello , > You may want to provide a dummy > applicationContext.xml for your app module It means that the applicationContext.xml in app module is a copy(similar) of that in web module. Additionally, if the XML file is also in web module, I think that still is a trouble. Because applicationContext.

Re: assembly permutations

2006-11-17 Thread John Casey
If you're using 2.2-SNAPSHOT of the assembly plugin, you should have quite a few options for including the binaries of . This means that you could, in theory, setup the assembly plugin to run once from the top level project, and point it at a set of assembly descriptors, each containing a differen

Re: maven release plugin prepare target failure

2006-11-17 Thread Dan Tran
set preparationGoals=clean On 11/17/06, Yan Zheng <[EMAIL PROTECTED]> wrote: Hi, I have a project with multiple sub-porjects. The "mvn release:prepare" process failed on this project because I found that the prepare target executes "clean integration-test" goals. The project is set up in

maven release plugin prepare target failure

2006-11-17 Thread Yan Zheng
Hi, I have a project with multiple sub-porjects. The "mvn release:prepare" process failed on this project because I found that the prepare target executes "clean integration-test" goals. The project is set up in such a way that "clean install" executes fine, but not "clean integration-test". Th

Re: java2iiop (Visibroker)

2006-11-17 Thread Dan Tran
Feel free to merge the 2 plugins together. Contribute a real example will be fantastic. -D On 11/17/06, Jim Bethancourt <[EMAIL PROTECTED]> wrote: Hi Tim, Wow! Thanks for the offer! Sure, send it on. :-) Go ahead and tarball it up and send it to my gmail account. Dan, I did compile the

Re: Has anyone been able to get the java2wsdl plugin to work?

2006-11-17 Thread Eric Helfrich
sorry - -stupid me -- the maven 2 axis 2 plugin. Serves me right for trying to get something real accomplished in an otherwise BS day On 11/17/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: On 11/17/06, Eric Helfrich <[EMAIL PROTECTED]> wrote: > If someone couuld include a pom fragment or pom

build war for jboss, exclude log4j

2006-11-17 Thread Christofer Jennings
Hi All, How can I exclude log4j stuff from a war? The log4j stuff is conflicting with jboss. Thanks! ,chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: assembly permutations

2006-11-17 Thread Lee Meador
A more "maveny" way IMHO would have a project for each thing you are trying to build. That would include the base, each client and each assembly.To buld an assembly you go to its project folder and type: mvn assembly:assembly This goes against our built-in lazyness where we want to have as few f

Re: java2iiop (Visibroker)

2006-11-17 Thread Jim Bethancourt
Hi Tim, Wow! Thanks for the offer! Sure, send it on. :-) Go ahead and tarball it up and send it to my gmail account. Dan, I did compile the wrapper from source and I'm in the process of getting it working. Thank you both, Jim On 11/16/06, TimHedger <[EMAIL PROTECTED]> wrote: Jim, I have

Re: EhCacheProvider not found with other hibernate classes during test

2006-11-17 Thread Lee Meador
Try searching for "spring hibernate ehcache" I admit, I have a whole bunch of old messages in Gmail and I searched there. I'm not sure if the Nabble search in the maven2 section works just like Gmail's. The interesting messages have the word "dependency" or some form of that word in them. -- Le

Re: Can't get javadoc plugin to work for multimodule project

2006-11-17 Thread Adam Lally
On 11/16/06, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote: Adam- I've experienced that as well. My workaround is to first run "mvn install" and then "mvn javadoc:javadoc", and it seems to work. Thanks, that got my simple test case with just one module to work. My multimodule build is still

Re: Has anyone been able to get the java2wsdl plugin to work?

2006-11-17 Thread Jochen Wiedmann
On 11/17/06, Eric Helfrich <[EMAIL PROTECTED]> wrote: If someone couuld include a pom fragment or pom where they got this plugin to work it would be *most* helplful. Which java2wsdl plugin? -- My wife Mary and I have been married for forty-seven years and not once have we had an argument seri

Re: Has anyone been able to get the java2wsdl plugin to work?

2006-11-17 Thread Dan Tran
axis? or jaxws? On 11/17/06, Eric Helfrich <[EMAIL PROTECTED]> wrote: If someone couuld include a pom fragment or pom where they got this plugin to work it would be *most* helplful. TIA Eric

Re: Sign a different jar using jar:sign

2006-11-17 Thread Wim Deblauwe
2nd try 2006/11/15, Wim Deblauwe <[EMAIL PROTECTED]>: Hi, according to the documentation it should be possible to sign any jar you like using the jarPath option. I wanted to use this to sign the jar that the assembly plugin created, but this does not work, the jar plugin still tried to sig

Classifier documentation?

2006-11-17 Thread Wim Deblauwe
Hi, I was looking for some documentation on the classifier tag that can be used in the pom. I looked here (http://maven.apache.org/pom.html#Dependencies), hoping to find documentation, but there is none there. Is this documented elsewhere or not documented yet? regards, Wim

Embedded Error while rendering javadocs

2006-11-17 Thread Christian Goetze
I added the javadocs plugin to generate an aggregate report, and I see this: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation

"local" dependency resolution with non-default dependency types

2006-11-17 Thread Jörg Henne
Hi all, while trying to set up a rather complex multi-project maven build, I have run into the problem, that I am unable to convince maven to use local dependencies instead of searching repositories. This is my scenario: - We have a multi-project build organized hierarchically - all child pro

cobertura post-testing coverage percentages

2006-11-17 Thread Mick Knutson
As per the documented plugin, I want to put checks in for branch and line thresholds.. Here is my plugin: = org.codehaus.mojo cobertura-maven-plugin 2.0

Has anyone been able to get the java2wsdl plugin to work?

2006-11-17 Thread Eric Helfrich
If someone couuld include a pom fragment or pom where they got this plugin to work it would be *most* helplful. TIA Eric

Re: How can I resolve ${...} in assembly descriptors?

2006-11-17 Thread Christian Goetze
Jochen Wiedmann wrote: On 11/17/06, Christian Goetze <[EMAIL PROTECTED]> wrote: I'd like to pass in something either via the environment or via -D on the mvn command line, and have that be visible within the assembly description. How do I do that? Use a filtered resource to create the actua

What's the easiest way to deploy an existing project to a different server?

2006-11-17 Thread Josh Long
I wuld like to deploy an open source project that publishes dependencies and has source code available to my repository. The project uses maven 2, and I use maven 2. When I invoke maven deploy, maven gleefully attempts to deploy it to the projects repository and then fails (naturally) as it can't

assembly permutations

2006-11-17 Thread flyboy
Here is a question about maven assembly. Maybe it is a best practice question. Say there is a Base project that provides common services. Then there are multiple projects (Client-1, Client-2,...) which use the common service. Say I want to build assemblies which include the Base and various

Re: [m2] Maven 2 Intergration for Intellij IDEA

2006-11-17 Thread Mick Knutson
Awesome. But just go into your plugin settings and look for Maven 2 integration and it is there.. On 11/17/06, ben short <[EMAIL PROTECTED]> wrote: Hi, I was looking for a plugin today and stumbled across this plugin. http://plugins.intellij.net/plugin/?id=1166 I thought I would share it in

EJB Bundle workaround for Maven 2

2006-11-17 Thread Zeitlin, Michael
I found out that the ejb plugin for maven 2 does not allow you to bundle jars within the EJB like in maven 1. http://jira.codehaus.org/browse/MEJB-3 Does anyone know of a good workaround for this problem? Any help would be appreciated, Michael --

Re: Help on profiles

2006-11-17 Thread pjungwir
Hi Deluigi, You can solve your second problem by adding this below : false I'm not sure about problem 1. Paul Deluigi Marcus wrote: > > > Hi > > I have the following scenario: > > I have a project with several modules. > > One of the modules starts a container with Cargo in the > p

RE: Assembly: Export jar dependency list to xml file

2006-11-17 Thread Brian E. Fox
There is a similar feature request in jira for the dependency plugin. It currently would write out a string, but it would seem to be a relatively simple change to write xml:http://jira.codehaus.org/browse/MDEP-26 -Original Message- From: Timo Wolf [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: site-deploy

2006-11-17 Thread pjungwir
I'm not positive, but it is probably something like what I've got for wagon-ftp in one of my projects: ... org.apache.maven.wagon wagon-ftp 1.0-beta-1 ... Paul Francois Le Fevre wrote: > > Paul, > > i have mad

Creating a custom archetype

2006-11-17 Thread Anthony Ryan
Hi, I'm new to using maven and want to set up a custom project template archetype that will create a specific file structure and put a few key documents in specific places at the start of each new project. The trouble I'm having is in setting up this archetype. I have read the guide at http://

Re: Continum process is in activity for 2 days

2006-11-17 Thread Emmanuel Venisse
your process are stopped, continuum print the difference between the start time and the end time but in your case, the end time isn't set in database so continuum use the current time, it's why you see it incremented each time you go to this page. If you want to stop it, you'll need to add a end

Re: Manually Install Plugins

2006-11-17 Thread franz see
Good day to you Michael, First of all, there is not local plugin repository. It is just one repository for all artifacts, so don't worry if you see your plugin in your ${user.home}\.m2\repository. Anyway, the most direct approach to use your plugin is to follow the following command: mvn ::: T

Re: QDox, Maven Plugin and JDK 1.5

2006-11-17 Thread Andrew Williams
I recommend 1.6.1, as 1.6 depends on Java5 by mistake Emmanuel Hugonnet wrote: zze- HUGONNET E ext RD-BIZZ a écrit : Hi, Is there some way to specify where is the MOJO so that Qdox doesn't parse my JDK1.5 classes ? Thanks Emmanuel -

RE: Re : Re : Generate source code with a JavaCC parser.

2006-11-17 Thread Chris Hilton
It might be worthwhile to use the Antrun plugin for the short term with a task and the config element so that you don't have to mix your generated source code with the regular source (bad CM). Or even using the exec plugin and an empty task Antrun plugin with the new might work. You might al

Re: QDox, Maven Plugin and JDK 1.5

2006-11-17 Thread Emmanuel Hugonnet
zze- HUGONNET E ext RD-BIZZ a écrit : Hi, Is there some way to specify where is the MOJO so that Qdox doesn't parse my JDK1.5 classes ? Thanks Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: missing exported-pom.xml

2006-11-17 Thread Wayne Fay
What version of Maven2 are you running? If anything less than 2.0.4, please upgrade to this version. Are you perhaps behind a web proxy? They have been known to cause problems while downloading plugins etc and might result in this problem. Finally, run mvn -X package or mvn -X install to get mor

Re: List of properties

2006-11-17 Thread franz see
Good day to you, Leandro, You can try and take a look at [1]. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide Leandro Saad-2 wrote: > > Hi. > > How do I get a list of all properties in maven 2? > I'd like to know what I can use when filtering my resources.

QDox, Maven Plugin and JDK 1.5

2006-11-17 Thread Emmanuel Hugonnet
Hi, Is there some way to specify where is the MOJO so that Qdox doesn't parse my JDK1.5 classes ? Thanks Emmanuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

missing exported-pom.xml

2006-11-17 Thread Van Den Heuvel Roderick
Hi, I'm new to Maven. I'm currently using Maven2 and i've encountered a problem concerning the build of my project. When I run 'mvn package' the exported-pom.xml file (needed for my 'mvn install') doesn't get created automatically, while it should be created in my /target folder. I can't discov

RE: Maven Java Compiler Output?

2006-11-17 Thread Chris Hilton
It looks like your problem may be related to bug MNGECLIPSE-188: http://jira.codehaus.org/browse/MNGECLIPSE-188 That one couldn't be resolved because of the incomplete description, but it does have good advice in making sure that Eclipse is running in a JDK JRE, not a plain JRE. You can verify t

Re: Continum process is in activity for 2 days

2006-11-17 Thread Martin van den Bemt
Did you look at the webpage output (which has the output cut off).. You have to click on the link that shows the complete output (assuming that is your problem). Mvgr, Martin Francois Le Fevre wrote: Emmanuel , I have restarted continum. But the chrono is still up . I have 4 processes with a

Re: JUnit/Test among multi-projects?

2006-11-17 Thread franz see
Good day to you, Sha Jiang, You may want to provide a dummy applicationContext.xml for your app module, wherein it contains only the essential things that you need to test your app module. Cheers, Franz jiangshachina wrote: > > Hi guys, > I'm using Spring, Struts and Hibernate, and have to de

Re: Maven rant

2006-11-17 Thread Adam Hardy
Wendy Smoak wrote: On 11/16/06, Adam Hardy Secondly the comments functionality or the link to the wiki is a pretty urgent requirement for me, and I think I'm a typical user. Where are you looking to add comments? Honestly I don't think we're going to get a 'comment mechanism' on the existing

Re: Maven rant

2006-11-17 Thread Adam Hardy
Wendy Smoak wrote: I had problems today finding some documentation on the war plugin. Pretty standard stuff but I couldn't even find the plugins documentation start page in the left-hand menu, rather I found it on the home page (where I happened NOT to be to start with) in the text. I think this

RE: Maven Java Compiler Output?

2006-11-17 Thread Robert Harper
Sorry, I should have mentioned that I'm using Eclipse's maven plugin (http://m2eclipse.codehaus.org/) to do the build. I thought it was simply spitting out the output from mvn. Obviously not. Maybe I should abandon this Eclipse integration and use the http://maven.apache.org/guides/mini/guide-id

Assembly: Export jar dependency list to xml file

2006-11-17 Thread Timo Wolf
Hi guys, I am using the assembly plugin to create a Mac OS X java application. OS X applications are using an xml file to describe the application, containing the main class and the jar files that are in the classpath. Currently I have to change the xml file by hand if I add a new jar file or if

RE: Execute phase in weblogic:appc

2006-11-17 Thread Scott Ryan
Another fix might be to use weblogic:appc rather than ear:ear and that would trigger the ear build automatically. Are you using the one of the default commands like mvn install or mvn package rather than directly the ear:ear command. Id you rn ear:ear it will run twice but if you use something li

Re: Maven Java Compiler Output?

2006-11-17 Thread Jeff Mutonho
On 11/17/06, Robert Harper <[EMAIL PROTECTED]> wrote: Hi all, I'm sorry if this obvious question has been asked before. I couldn't find an answer in the mailing list. When I compile my maven project, I get the following output ... Compiling 14 source files to C:\Research\Foundation\target\cla

Re: [Maven 2.0.4] Profiles

2006-11-17 Thread Adam Hardy
Rémy Sanlaville wrote: Are you using the maven plugin snapshots repository? If you are, then many of the maven plugins could have been updated. Not directly but others projects yes. For information, here, is my test pom.xml - http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http:/

Maven Java Compiler Output?

2006-11-17 Thread Robert Harper
Hi all, I'm sorry if this obvious question has been asked before. I couldn't find an answer in the mailing list. When I compile my maven project, I get the following output ... Compiling 14 source files to C:\Research\Foundation\target\classes [ERROR] mojo-execute : compiler:compile Diagnosis

[M2] omitting elements from parent pom?

2006-11-17 Thread CodingPlayer
Hi, I'm using a parent pom.xml for my project poms. myartifactid mygroupid 1.0-SNAPSHOT I just wonder, how can i get rid of an element that is declared in the parent pom, but should not appear in the child pom? is there any possibility to exclude specific elements/tags that s

[m2] Maven 2 Intergration for Intellij IDEA

2006-11-17 Thread ben short
Hi, I was looking for a plugin today and stumbled across this plugin. http://plugins.intellij.net/plugin/?id=1166 I thought I would share it in case anyone was interested. Regards Ben - To unsubscribe, e-mail: [EMAIL PROTECT

Re: Release Plugin: Include assemblies for deploying

2006-11-17 Thread Timo Wolf
Hi, I created a reactor project with a super pom and with many modules and module dependencies. To some modules are complete applications so I added the assembly plugin to build the executable application including scripts, jars, properties, etc. So each module creates a jar file that is ne

RE: Continuum reports incorrect failure

2006-11-17 Thread Morgovsky, Alexander \(US - Glen Mills\)
Actually, I think the problem was that it did not locate the external repositories, but everything works now. Thanks. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Friday, November 17, 2006 3:41 AM To: continuum-users@maven.apache.org Subject: Re: Continuum re

Re : Re : Generate source code with a JavaCC parser.

2006-11-17 Thread Julien HENRY
Finally, it works with another module. I just have to use the javacc plugin in the generate-sources phase of this new module. In the module where I want to generate source, I use the exec plugin to run the Parser. The only problem is I have to generate the new source file in src/main/java becaus

How to get default plugin configuration back ?

2006-11-17 Thread LECAN Damien
Hello, In my parent pom : maven-compiler-plugin 1.1 So, in child's projects, target is forced at 1.1 I can override configuration in child's pom : maven-compiler-plugin 1.5 But I don't really want 1.5, I just

RE: Archive Repository

2006-11-17 Thread Peter . Pilgrim
> -Original Message- > From: Pilgrim, Peter > Sent: 17 November 2006 12:03 > To: 'archiva-users@maven.apache.org' > Subject: RE: Archive Repository > > > -Original Message- > > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > ==== ==== > Having moved from Jetty when I browse

RE: Release Plugin: Include assemblies for deploying

2006-11-17 Thread LECAN Damien
> I did this and it does not work. It only works when all dependencies > are already installed. I found in another > mail that binding the assembly to the package phase does not work in > a multi module project. > I must somehow configure maven to call mvn assembly:attached at the > top level

Re: Reset Archiva Repository to Default

2006-11-17 Thread Raphaël Piéroni
That file is named archiva.xml Just remove it (or move for security) to reset all the repositories/proxies definitions. The content are still existing. Raphaël 2006/11/17, Stephen Duncan <[EMAIL PROTECTED]>: I believe (from memory) that repository definitions are stored in an xml file in your

RE: Archive Repository

2006-11-17 Thread Peter . Pilgrim
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] ==== > > On 11/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > How do you access the repository through the jetty:run? > > > > I set up the guest as an observer role and I tried to > access it like > > thi

Help on profiles

2006-11-17 Thread Deluigi Marcus
Hi I have the following scenario: I have a project with several modules. One of the modules starts a container with Cargo in the pre-integration-phase, tests something in the integration phase and stops Tomcat in the post-integration-phase. There is a profile called 'tomcat' which is activated

Re: site-deploy

2006-11-17 Thread Francois Le Fevre
Paul, i have made a false copy and paste : the post was http://jira.codehaus.org/browse/WAGONSSH-44 a more precise question: where can I overwrite the version of wagon-ssh-external or wagin-ssh ? in which pom ? in which parapgraph. Thanks a lot. Francois Dear Paul, You are right but I

[M2] IssueManagement - how configure "no issue management" in child-project, when parent project has an issue managament?

2006-11-17 Thread CodingPlayer
Hi, i currently use a master pom.xml from which all of my other project poms are derived. in this master i use an issue management block: Mantis http://anyurl but in my child pom i DON'T HAVE an issue management. myartifactid mygroupid 1.0-SNAPSHOT so how do i

Re: site-deploy

2006-11-17 Thread Francois Le Fevre
Dear Paul, You are right but I could find the solution. I have founded this post : http://jira.codehaus.org/browse/MASSEMBLY-153 "Upgrading wagon to version 1.0-beta-1 seems to have solved this issue for us. Just replace the wagon*.jar files in the maven/lib directory with the newer versions."

be sensitive to every change?

2006-11-17 Thread jiangshachina
Hi guys, I have a Web application project, and using JBoss 4.0.2. There is a requirement, after deploy the Web application to JBoss at start time, then every change on Java codes, configuration files(.xml, .properties)..., the App Server would be sensitive to it. Namely, I just change the app at d

Why must set version?

2006-11-17 Thread jiangshachina
Hi guys, I encounter a very strange problem. I have two pom.xml(represented as A and B), B extends A; the packaging of A is pom, the packaging of B is jar. I add many artifacts to A as dependency management, and add some of them to B as real dependencies. I use following pattern statements in A,

Re: how to combine minijar with webstart ?

2006-11-17 Thread Jerome Lacoste
On 11/8/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote: hello everyone, i successfully used the webstart plugin to produce a jnlp file and bundle it (and required jars) within my webapp. works like a charm. Nice! the problem is: imported jars are way too big: the whole application requires

Re : Generate source code with a JavaCC parser.

2006-11-17 Thread Julien HENRY
Thanks for the reply. I'm currently have a multi-module layout. Could it be possible to put the parser in a new module? The problem I see is the Parser.jar should be installed in the local repository before the generate-sources phase of the module that need it to generate the .java file. Actua

Re: How can I resolve ${...} in assembly descriptors?

2006-11-17 Thread Jochen Wiedmann
On 11/17/06, Christian Goetze <[EMAIL PROTECTED]> wrote: I'd like to pass in something either via the environment or via -D on the mvn command line, and have that be visible within the assembly description. How do I do that? Use a filtered resource to create the actual assembly descriptor. In