Re: [M2] Problem with maven-ear-plugin: Artifact[_:_:ejb] is not a dependency of the project.

2006-11-21 Thread ClaudioLazo
Hi, You will also need to specify version2.1/version in the dependency declaration. That worked for me, Claudio Henry S. Isidro wrote: Hi Stefan, Try adding typeejb/type in your dependency declarations. HTH, Henry Stefan Rademacher wrote: Hello, I have a problem, when I try

Re: execute project

2006-11-21 Thread Rémy Sanlaville
I think, you are looking for the exec-maven-plugin http://mojo.codehaus.org/exec-maven-plugin/index.html Rémy 2006/11/20, Neeraj Bisht [EMAIL PROTECTED]: On 11/20/06, tohid noroozi [EMAIL PROTECTED] wrote: i am using maven2 and have successfull in build my project. after the compile , i

Re: Maven cyclic dependecy issue

2006-11-21 Thread Los Morales
Christian Goetze wrote: The trouble is that you need a -reference- to the parent's version in the children, and that reference does not seem to resolve any ${...} substitutions, so it needs to be hard coded. Hmm... Was this the intended design or could this be fixed up in later revisions?

Re: Apply license to all java files?

2006-11-21 Thread Alexandre Russel
It is a checkstyle feature. It is probably possible to do it with this plugin alex On Tuesday 21 November 2006 12:16, Wim Deblauwe wrote: Hi, does anybody know of a Maven plugin (or some other tool) that makes sure the approperiate header for a certain license is present in every java file?

debian start up

2006-11-21 Thread Tony Heal
I am having problems getting continuum (v1.0.3) to start on a debian (sarge v3.1) system. If the server is restarted continuum tries to start up, but receives a shutdown signal from something I can not find. After I log back in I can start up continuum without any problems at all. Has anyone had

Re: Instrument code for integration test with Cobertura and Cargo

2006-11-21 Thread gbois
I rewrite my question. I want a code coverage for my integration test (the integration test with selenium instruments the war module). I have a it (integration test) module and i want a dashboard on code coverage for my sources on my war module. How you do that? Thanks Grégory gbois wrote:

Re: Archetype Question

2006-11-21 Thread Michael Schlotfeldt
Found out there is a filtered and a encoding attribute on the resource tag. Had to read through the source code though. Michael Schlotfeldt wrote: Easy questions (hopefully): 1. When creating a custom archetype how do you list resources to *not *replace variables from? Or in other

[m2] NP when developing a plugin

2006-11-21 Thread Rohnny Moland
Hi! Under development, when I develop my maven plugin, I run mvn clean install in the plugin dev dir, and then mvn goal in another directory which contains my test pom.xml. But, if I switch fast beween building/installing the plugin and trying it out, I get a nullpointer exception. I would guess

Surefire and ClassLoading with URLS SystemClassLoader

2006-11-21 Thread Ryan Eccles
I've noticed a lot of discussion on ClassLoading with respect to resources, but little on loading classes themselves. Of the following tests, only the test useObjectClassLoader() works in surefire. In normal TestNG both tests will pass. I've noticed a test using URLClassloader (ie plugin

Re: Surefire and ClassLoading with URLS SystemClassLoader

2006-11-21 Thread JC Walmetz
Maybe you should try to play with the forkMode. See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#forkMode. By default it is once, so a classloader is created for tests. Maybe with never it would works. I have not tried that one. Robert Harper-2 wrote: I've noticed a

Re: Maven cyclic dependecy issue

2006-11-21 Thread Wayne Fay
Its a chicken and egg problem. If you don't hard-code parent version in child = which parent version should I use? Keep in mind the /parent/module layout in the filesystem (with relativePath) is not an absolute requirement ie parent poms could/should be checked into a Maven repo and resolved

Modifying dependency tree

2006-11-21 Thread Martin Vysny
Hello, I have a M2 project and I want to create a zip with dependencies using assembly. Let's say that one of transitive dependencies is org.springframework:spring-beans. However, spring-beans with all its dependencies will be provided by the runtime environment so I don't need them to be

Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts
Read 'specifying a new packaging' in the 'Introduction to the lifecycle' http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Don't forget to set extensionstrueextensions on the plugin defining your new lifecycle. Tom On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote:

Re: Maven cyclic dependecy issue

2006-11-21 Thread Christian Goetze
Wayne Fay wrote: Its a chicken and egg problem. If you don't hard-code parent version in child = which parent version should I use? Keep in mind the /parent/module layout in the filesystem (with relativePath) is not an absolute requirement ie parent poms could/should be checked into a Maven

Re: Archetype Question

2006-11-21 Thread Wendy Smoak
On 11/21/06, Michael Schlotfeldt [EMAIL PROTECTED] wrote: Found out there is a filtered and a encoding attribute on the resource tag. Had to read through the source code though. This still doesn't address the problem of filtering some, but not all, expressions in a file, right? Has anyone

Maven release plugin question

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is it required to have SNAPSHOT in the version number of the Maven project in order to use the Maven release plugin with it? For example, if I have a version like 2.0.0 and I would like to create a tag called 2.0.0.0, it looks like I am not able to do this using the plugin. Is this correct?

Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread Julien HENRY
Hi, This morning, I try to generate my project site and it failed. Yesterday it works... Any idea? ++ Julien [INFO] Generate Dependencies report. [INFO] [ERROR] FATAL ERROR [INFO]

[M2] Assembly Multi Modules

2006-11-21 Thread Peter . Pilgrim
Hi I got a multi-module project that looks like this: Top | +build/master || |\--pom.xml |\--src/assembly/dep.xml | +adapters | +---Core | +--foo1 | | | \--pom.xml | +--foo2

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Larry Meadors
Hmm, no, not really. I have dependencies on oracle (ojdbc), spring, mail, activation, commons-net, log4j, ibatis-common, and ibatis-sqlmap in my project. I want to have my jar, and all of the jars required to run it somewhere in the target directory. Larry On 11/20/06, pjungwir [EMAIL

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Larry Meadors
OK, I got it. I added a section to my pom for snapshot plugins like this: project ... ... pluginRepositories pluginRepository idmaven-snaps/id urlhttp://people.apache.org/repo/m2-snapshot-repository/url snapshots enabledtrue/enabled

Re: Loading a POM from the Respository

2006-11-21 Thread Tom Huybrechts
If you want to do this in a mojo, look at 'resolving an artifact' in the Mojo Developer Cookbook: http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Use an artifact of type 'pom'. On 11/21/06, Ole Ersoy [EMAIL PROTECTED] wrote: Hi, I need to to create a path string

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

2006-11-21 Thread Adam Lally
Thanks for the suggestions guys, but I eventually did figure out my problem after much suffering. It looks to me like the javadoc plugin has a bug where it gives very misleading error messages. The source of all my errors seems to have been an invalid package.html file somewhere in one of my

Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Larry Meadors
Hi, I am using maven for the first time, so I apologize if this is a retarded question, but I can't find it anywhere in the docs. I have an app that is a command line app. I want to create an assembly that has my jar, along with the other jars that are listed as dependencies on it. I tried the

Re: Don't add dependency?

2006-11-21 Thread dawn.angelito
Hi Sha Jiang, Did you declare this dependency in your pom? If so, please show us a snippet of your pom.xml. Thanks, Dawn jiangshachina wrote: Hi guys, I have a Web application project. I added javax.transaction:jta:jta-1.0.1B.jar to dependency, but in fact my project doesn't need the

Re: generating site from parent

2006-11-21 Thread Christian Goetze
Wayne Fay wrote: This is discussed a couple times every week. Please search this list for parent site or just check out this recent thread: from Morgovsky, Alexander (US - Glen Mills) to users@maven.apache.org date Nov 9, 2006 4:03 PM subject Aggregate site generation I did that, and

Compiler Plugin Extension

2006-11-21 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Group, is there a way for a custom plugin to add some internal dependencies to the compiler classpath which are not available as maven plugins? In other words is there an API to dynamically add external jars to the compiler classpath? Thanks for

RE: Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thanks for the good news. -Original Message- From: Christian Edward Gruber [mailto:[EMAIL PROTECTED] Sent: Monday, November 20, 2006 4:20 PM To: continuum-users@maven.apache.org Subject: Re: Forced builds Complex projects with lots of external dependencies, particularly dependencies on

calling an archetype goal from embedder

2006-11-21 Thread Israel Klein
Hello List, How can I call an archetype:create goal using the embedder? Do I have to have a fake pom.xml for that? how can I pass the parameters? (archetypeGroupId, for example) Thanks, -- Israel Klein

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi guys, I found the key. In management-1.0.pom, I excludes jta from hibernate dependency. At beginning, I didn't use jta-1.0.1B, but j2ee-1.4.jar, because jta-1.0.1B.jar isn't at central repository. But jta is transitive dependency of yy another dependency hibernate-3.0.jar, so I excludes it.

Trouble with aggregate javadoc

2006-11-21 Thread Christian Goetze
running the javadoc plugin with aggregate set to true fails with unresolved dependency errors. I note that the unresolved dependencies stem from a portion of the source tree to be compiled and run with the 1.4 JRE. Could that affect javadoc and how can I fix it? Here are the types of messages

Maven cyclic dependecy issue

2006-11-21 Thread Los Morales
Hi, I’m a bit frustrated on how Maven cycles through its dependency. Currently I have a project consisting of multiple sub projects—2 levels deep. Here’s a hierarchy: --main -- sub1 -- sub1sub1 -- sub1sub2 -- sub2 The main project has a POM looking like this: project

Generate Script or Batch file

2006-11-21 Thread Mirko Leschikar
Hi, I am evaluating maven2 to replace our mixture of a custom build tool and ant files. Therefore I have a couple of questions which I could answer by reading manuals and mailing lists posts. We have used a few scripts and batch files (for Windows) to call certain main classes in our project.

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

2006-11-21 Thread Josh Long
THATS IT?? good news. Thanks again, Tom. Forgive my novice question. Josh On 11/18/06, Tom Huybrechts [EMAIL PROTECTED] wrote: Use an alternate deployment repository: mvn deploy -DaltDeploymentRepository=myrepo::default::myurl See

Re: Maven cyclic dependecy issue

2006-11-21 Thread Christian Goetze
Eric Redmond wrote: I see what you are trying to do... but why? If you do not define a child project's version, it automatically inherits from its parent. Just take version${main.version}/version out. The trouble is that you need a -reference- to the parent's version in the children, and

generating site from parent

2006-11-21 Thread Christian Goetze
How come generating the site from the parent project does not result in a collection of all the sites of all the sub-projects? Is there no aggregate site, or what is the magic XML for that? TIA -- cg - To unsubscribe, e-mail:

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

2006-11-21 Thread Julien HENRY
It's ok, I think I got it thanks to plugin dependency. Just have to fix the problem with aggregated Javadoc... FYI, the interesting part of my pom : build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions

RE: Getting changelog-plugin to Generate 'change.xml' File

2006-11-21 Thread Brad Harper
-Original Message- From: Emmanuel Hugonnet [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 21, 2006 3:50 AM To: Maven Users List Subject: Re: Getting changelog-plugin to Generate 'change.xml' File Brad Harper a écrit : Hello: Has there been any attempt to link the

Re: Maven release plugin question

2006-11-21 Thread Dan Tran
yes, your artifact version must be SNAPSHOT, however your dependencies can not be SNAPSHOT. -D On 11/20/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Is it required to have SNAPSHOT in the version number of the Maven project in order to use the Maven release plugin with

Re: Compiler Plugin Extension

2006-11-21 Thread Wayne Fay
You can always add dependencies directly to the plugin node, but this assumes that you have the artifacts available in your repo. You're going to need to provide more information about these external jars, I think, for us to help you much. Wayne On 11/21/06, Markus Wolf [EMAIL PROTECTED]

Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Terrific - I think I finally have all my puzzle pieces lined up now. Thanks again, - Ole --- Tom Huybrechts [EMAIL PROTECTED] wrote: Read 'specifying a new packaging' in the 'Introduction to the lifecycle' http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Barrie Treloar
On 11/21/06, Larry Meadors [EMAIL PROTECTED] wrote: Hi, I am using maven for the first time, so I apologize if this is a retarded question, but I can't find it anywhere in the docs. I have an app that is a command line app. I want to create an assembly that has my jar, along with the other jars

Maven help plugin

2006-11-21 Thread Trevor Torrez
Is there a way to get the help plugin to cough up the goals that a plugin supports? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Classpath

2006-11-21 Thread Barrie Treloar
On 11/21/06, Deluigi Marcus [EMAIL PROTECTED] wrote: We ported an existing project from ant to maven and it seems as if the classpath of one module is different to the classpath to the parent modules which causes the junit tests to fail in the parent modules. Since the junit tests fail, it is

starting, then deploying to JBoss?

2006-11-21 Thread Mick Knutson
I am wanting to start JBoss the deploy my ear and I can't seem to get a connection: plugin groupIdorg.codehaus.mojo/groupId artifactIdjboss-maven-plugin/artifactId version1.0/version executions

Re: Don't add dependency?

2006-11-21 Thread Bengt-Erik Fröberg
Hi Check out this, it should be the reason jta isn't added you have to install it manually! http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Greetings, 2006/11/21, jiangshachina [EMAIL PROTECTED]: Hi guys, I have a Web application project. I added

Creating a web project from a custom archetype

2006-11-21 Thread Anthony Ryan
Hi all, I've recently created an archetype for web projects and it seemed to install correctly (due mainly to the help of this user group!). Now I would like to test it by trying to create a project from it. I am trying to use the command below to do this: C:\New Foldermvn archetype:create

[m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Thomas Will
We've got an inhouse mirror of the central repository (MyCompanyCentral). We also publish a company-specific maven-plugin to that same repository. We face the problem that the latest version of our plugin is not downloaded to the local maven repository, if there is already an old version, even

Re: release:prepare without user intervention

2006-11-21 Thread Lara Brian
Hi Dan, Thanks a lot for the info. - Sponsored Link Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo - Calculate new house payment

RE: was5-plugin for Maven2: documentation?

2006-11-21 Thread hermod.opstvedt
Hi If you get the source from subversion, and then run mvn site on it, you will get the documentation for it. This includes examples of how to use it. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marco Ponzi Sent: Tuesday, November 21, 2006 2:26

Update Documentation on Integration Test Resources

2006-11-21 Thread Tony Truong
Hi guys, I would just like to inform you guys that your documentation does not talk about the directory src/it/resources being the test resources for integration tests. Can this be updated please? Tony -- View this message in context:

Re: Classpath

2006-11-21 Thread Eric Redmond
Try something like this in your POM (or external profiles.xml file... which would probably be better) build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution goalsgoalrun/goal/goals phasecompilephase /execution

Re: generating site from parent

2006-11-21 Thread Wayne Fay
This is discussed a couple times every week. Please search this list for parent site or just check out this recent thread: from Morgovsky, Alexander (US - Glen Mills) to users@maven.apache.org date Nov 9, 2006 4:03 PM subject Aggregate site generation Wayne On 11/21/06, Christian Goetze

RE: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread hermod.opstvedt
Hi I have looked into this, and it seems that somebody has deleted (or it was never there) the org.apache.maven.shared.jar.Jar.java class from subversion, meaning that the maven-shared.jar file does not have this class. Hence the error. Hermod -Original Message- From: [EMAIL

Don't add dependency?

2006-11-21 Thread jiangshachina
Hi guys, I have a Web application project. I added javax.transaction:jta:jta-1.0.1B.jar to dependency, but in fact my project doesn't need the jar. Namely, I don't need it on compile-time, test-time or runtime. I run mvn package, and the build was sucessful. I checked WEB-INF/lib directory, but

Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is it possible to have Continuum force build every n hours even if the code in the source code repository hasn't changed? 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

Apply license to all java files?

2006-11-21 Thread Wim Deblauwe
Hi, does anybody know of a Maven plugin (or some other tool) that makes sure the approperiate header for a certain license is present in every java file? I could ofcourse manually add the notice to every file, but this seems like such a common thing that somebody must have made something

Maven repositories: metadata vs pom files?

2006-11-21 Thread Victor Okunev
Hello, Does Maven2 need a pom file in repository to download a jar from there? After examining the repositories' contents it seems that some jars are provided with both pom and metadata files while others only contain metadata files. Specifically, if I have this dependency in my project:

Re: [m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Eric Redmond
Just as an idea, try going to the user account that you build under's .m2 directory (${user.dir}/.m2) and delete the plugin-registry.xml file, and re-run. It might be causing you some problems. Eric On 11/20/06, Thomas Will [EMAIL PROTECTED] wrote: We've got an inhouse mirror of the central

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi Dawn, Thanks for your reply. I have three POM files, and all of them are very simply. I show the snippets of them. managment-1.0.pom just includes dependency management. modelVersion4.0.0/modelVersion groupIdmygroup/groupId artifactIdmanagement/artifactId packagingpom/packaging

Re: Apply license to all java files?

2006-11-21 Thread Lee Meador
Jalopy will do this. It allows searching each Java file for a header using some query string you define. If not there, it adds a header of your choosing to the file. It will also do the same thing with a trailer, at the end of the file. Jalopy will also reformat the files, indenting and such. It

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread pjungwir
Hi Larry, I'm doing this, too. I think you'll need to create your own assembly descriptor. Here is mine: assembly idbin/id formats formattar.gz/format formatzip/format /formats fileSets fileSet directorytarget/directory

Re: Maven cyclic dependecy issue

2006-11-21 Thread Eric Redmond
I see what you are trying to do... but why? If you do not define a child project's version, it automatically inherits from its parent. Just take version${main.version}/version out. On 11/21/06, Los Morales [EMAIL PROTECTED] wrote: Hi, I'm a bit frustrated on how Maven cycles through its

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi, I'm sorry that I didin't represent myself clearly. I have installed jta by manual, and jta-1.0.1B.jar is in my local repository now. If the jar file isn't existent, my build would be failed. a cup of Java, cheers! Sha Jiang Bengt-Erik Fröberg-2 wrote: Hi Check out this, it should be

Re: Loading a POM from the Respository

2006-11-21 Thread Ole Ersoy
Wow, Tom - It certainly looks like you hit the nail right on the head there. Terrific. Would you by chance happen to know how I go about configuring the project lifecycle to support a a different artifact type as well? I'm writing a mojo for the JPackage project, and creating a corresponding

Re: Apply license to all java files?

2006-11-21 Thread Wim Deblauwe
Thank you for the pointer to the intellij plugin. It is what I needed! regards, Wim 2006/11/21, Wayne Fay [EMAIL PROTECTED]: This was recently under discussion on the Maven Dev list -- the subject is Plugin license injection. A plugin might be in the works (unsure) but they also suggested

Re: Maven cyclic dependecy issue

2006-11-21 Thread Los Morales
Thanks for the reply. Well... My most (if not all) of my subprojects will be on the same version. Since I currently have about a dozen sub projects (and there will be more), I hate to go into each sub project and change the version number in the POM. I would rather change it in one place

Re: Specialized test / deploy preparation (RESOLVED)

2006-11-21 Thread Trevor Torrez
nevermind -- using the maven dependency plugin and instructions from http://docs.codehaus.org/display/MAVENUSER/Maven+and+Selenium got me where i needed to go. On 11/20/06, Trevor Torrez [EMAIL PROTECTED] wrote: Hi again; In part of our framework we are using BIRT (Business Intelligence

RE: mevenide vs. m2eclipse?

2006-11-21 Thread McNaught, Duncan
Are there instructions for compiling the latest m2eclipse code from trunk and providing a private update site? I've created a maven-embedder with the fix I would like in the plugin, and I don't know how to create the plugin with it in? org.maven.ide.eclipse\notes.txt seems to be missing

Instrument code for integration test with Cobertura and Cargo

2006-11-21 Thread gbois
Hi, I use Maven 2 with Cargo and Corbertura (for the moment). I want a dashboard on code coverage for my intergration test (my integration test is selenium test). I have bind my integration test to the test phase. My code is plugin groupIdorg.codehaus.cargo/groupId

Re: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread Wendy Smoak
On 11/21/06, Julien HENRY [EMAIL PROTECTED] wrote: This morning, I try to generate my project site and it failed. Yesterday it works... Any idea? [ERROR] FATAL ERROR [INFO] [INFO] org/apache/maven/shared/jar/Jar [INFO]

Re: Forced builds

2006-11-21 Thread Wayne Fay
No changes in code == no reason to build, right? I don't see the usefulness of this enhancement, personally... Unless of course some PHB has laid down a build all projects every 3 hrs kind of mandate in your organization. Wayne On 11/20/06, Emmanuel Venisse [EMAIL PROTECTED] wrote: Not yet,

RE: Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Well, for example, if a Maven dependency changes on the Maven repository but the version stays the same, the pom.xml will not change, but we will need to rebuild to get the new dependency into the build. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: Forced builds

2006-11-21 Thread Morgovsky, Alexander \(US - Glen Mills\)
Well, if dependencies change but the pom.xml's do not change, we would need to do a new build, like if a version of some dependency stays the same but the artifact changes at the Maven repository. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, November 20,

Re: Pulling jars into local repository

2006-11-21 Thread Steinar Bang
Brian E. Fox [EMAIL PROTECTED]: The copy mojo doesn't care about the scope because it will copy the artifacts listed in the artifactItems element. The scope is used by copy-dependencies to decide which ones from the project need to be copied since it starts from the entire dependency

RE: Classpath

2006-11-21 Thread Deluigi Marcus
I tried that within my java project: System.out.println(System.property(..)) Unfortunately, it's not working. All I see is a global classpath which points to a Maven jar. Maven is using a customized classloader, so it's hard to get the module-specific classpath. When using the '-X' switch, the

Re: Forced builds

2006-11-21 Thread Emmanuel Venisse
Not yet, why? Emmanuel Morgovsky, Alexander (US - Glen Mills) a écrit : Is it possible to have Continuum force build every n hours even if the code in the source code repository hasn't changed? This message (including any attachments) contains confidential information intended for a

Getting changelog-plugin to Generate 'change.xml' File

2006-11-21 Thread Brad Harper
Hello: Has there been any attempt to link the change-log plugin with the changes-plugin via the 'changes.xml' document format. We're considering adding some sort of mark-up to the SCM commit log messages to identify issue ids and differentiate between additions, fixes, etc. [The goal is to yank

Re: starting, then deploying to JBoss?

2006-11-21 Thread Max Cooper
Two things come to mind: * It looks like you are missing the 'configure' goal for jboss-maven-plugin. * My team has had trouble with the jboss:start and jboss:stop goals on Windows. The Windows users on my team run the following scripts directly to start and stop the jboss instance:

Re: Generate Script or Batch file

2006-11-21 Thread Mirko Leschikar
Hi Siegfried, Siegfried Goeschl schrieb: You can also get the classpath using ANT and maven-artifact-ant-2.0.4-dep.jar and then run your stuff. Thanks for your answer, I will try that. Regards Mirko - To unsubscribe,

Print customized messages on failure

2006-11-21 Thread Deluigi Marcus
Hi. Is there any method to let Maven print a customized message if a phase fails? I want to give a list with the most common configuration mistakes which lead to JUnit test failures. Greetings, Marcus - To unsubscribe, e-mail:

Manage project version with modules

2006-11-21 Thread gbois
Hi, I use Maven 2 and i have a root pom.xml with modules (ear, war, it) I want to manage only one version per project, i.e the version module must be the version of the project (the version declared in the root pom.xml) I my pom.xml, i have namemyproj-globals/name

Re: Maven repositories: metadata vs pom files?

2006-11-21 Thread Wendy Smoak
On 11/20/06, Wayne Fay [EMAIL PROTECTED] wrote: This isn't a case of repo has pom but no jar, instead its the opposite, jar with no pom. So I don't think its an artifact which cannot be redistributed. ;-) Oops. Not quite paying enough attention there. :) -- Wendy

Re: Internal problem with version number?

2006-11-21 Thread David Leangen
Surely you need to ensure the server SSL certificate has the correct name in it. Or, configure the sun SSL library to ignore it. I guess you could google for how to do that. Yes, you're right! Sorry I didn't notice that. However, the URL: https://username:[EMAIL PROTECTED]/... Only

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread Larry Meadors
Thanks, Paul - I added that as a file named assembly.xml in the directory with my pom.xml in it. I then added this to my pom (in the build/plugins section): === plugin artifactIdmaven-assembly-plugin/artifactId version2.0-beta-1/version

[m2] use case problem

2006-11-21 Thread Remy.Coqueugniot
Hi maven users, I would like to setup a global environment with maven2 for two differents teams: development and integration/support team. The first one would describe their project with a pom.xml and access to the central and other public repositories trough a proxy (proximity) with no

Advanced issues with directory structure

2006-11-21 Thread Jakub Hozak
Greetings I've got some questions about directory structure of the Maven2. I am building a web application with many dependencies and I am not sure how to organize the resources to as maven2-friendly as possible. Where should I put XSL templates XSD schemas I suppose they should fit in

RE: Error when generating Dependencies report (SNAPSHOT)

2006-11-21 Thread hermod.opstvedt
Hi Somebody has made a dependency to the maven sandbox componenet maven-shared in the maven-project-info-reports-plugin. Set the maven-project-info-reports-plugin version to 2.0.1 to circumvate it. Hermod -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday,

NoClassDefFoundError when using mvn site

2006-11-21 Thread DJP JEAN-PROST Dominique
Hello, I'm trying to to a mvn site. It used to work but it seems I got a new snaphost version of something, and I now get this stacktrace when inoking mvn site : ... [INFO] Cobertura Report generation was successful. [INFO] Generate JDepend report. [INFO] Generate Tag List report. [INFO]

Re: Why don't need maven-scm-plugin and password?

2006-11-21 Thread jiangshachina
Hello, I checked the matter carefully. Then found that all is my fault. In fact, Maven had downloaed maven-scm-plugin, occasionally, I didn't monitor the action at that time. And I have serveral local repositories, and I searched a wrong one. God! a cup of Java, cheers! Sha Jiang jiangshachina

Re: excluding/including tests in surefire-plugin in different phases

2006-11-21 Thread Yann Le Du
diroussel, Try adding skiptrue/skip in pluginconfiguration (not in execution) and please let me know if it works. I too experienced this behaviour and found it pretty strange. - Yann 2006/11/15, diroussel [EMAIL PROTECTED]: Jan, did you find a solution to this? It looks to me that the

Use of non-standard directory structure

2006-11-21 Thread David Leangen
Hello! It appears that we're using a non-standard directory structure. Due to our hierarchy of projects, we wanted to use short names for our directories, but longer names for the project names. So, our project names do not necessarily have the same value as the directory in which it sits.

Re: [m2] problem getting latest plugin version to local maven repository

2006-11-21 Thread Tom Huybrechts
How did you deploy your plugin ? Did you use the release plugin ? If you just do a deploy, add -DupdateReleaseInfo=true Tom On 11/21/06, Tom Will [EMAIL PROTECTED] wrote: We've got an inhouse mirror of the central repository. We also deploy a company-specific maven-plugin to that inhouse

Re: Buiding a simple plugin :(

2006-11-21 Thread Emmanuel Hugonnet
zze- HUGONNET E ext RD-BIZZ a écrit : Hi, I am trying to build a simple report building. My first error was to use jdk 1.5 enumerations. Thanks to Andrew Williams, it all seems to come from some bad dependency on jdox, and I tried to set it to the correct 1.6.1 version. But my dependecy was

RE: Re: Pulling jars into local repository

2006-11-21 Thread Brian E. Fox
ExcludeScope is only available in the 2.0 version, which is snapshot currently and moved to apache. (http://maven.apache.org/plugins/maven-dependency-plugin/). A release is pending very soon. To use the new one: grouporg.apache.maven.plugins/group artifactIdmaven-dependency-plugin/artifactId

Re: Don't add dependency?

2006-11-21 Thread jiangshachina
Hi, I have four tests just now. [1]I added following artifact to dependency dependency groupIdasm/groupId artifactIdasm/artifactId version1.5.3/version /dependency then run mvn package, asm-1.5.3.jar was in WEB-INF/lib [2]I added following scripts to pom.xml dependency

Re: Using the assembly plugin to build a stand-alone application

2006-11-21 Thread pjungwir
Hi Larry, I believe the descriptorId is required. You must also reference assembly.xml from your POM by giving the assembly plugin a configuration like this: configuration descriptorassembly.xml/descriptor /configuration But the 4 files result is correct, I think. What's in them? The

RE: Archive Repository

2006-11-21 Thread Mohni, Daniel
Hello Peter I did nothing with the frontend, I just submitted a documentation on how to setup repositories, I didn't try the latest builds from yesterday, just updated the source repo - svn update your setup looks correct, as you can browse the repository maven should see it. what you can try

RE: [M2] Howto Set Up Quickly an Offline Internal Repository?

2006-11-21 Thread Peter . Pilgrim
Hi With my local to remote M2 Repo converter tool I hit a crunch. I am trying to figure why the maven is going to the internet, even though the maven-metadata.xml is set correctly. Is there another tag paremeter in maven-metadata.xml that I am missing? I do have all the POM/JARs for jetty and

Re: Getting changelog-plugin to Generate 'change.xml' File

2006-11-21 Thread Emmanuel Hugonnet
Brad Harper a écrit : Hello: Has there been any attempt to link the change-log plugin with the changes-plugin via the 'changes.xml' document format. We're considering adding some sort of mark-up to the SCM commit log messages to identify issue ids and differentiate between additions, fixes,

Re: APT: Images and links

2006-11-21 Thread Wim Deblauwe
I want this too. Is there already support for this? regards, Wim 2006/6/2, Erhard Schultchen [EMAIL PROTECTED]: Hi, I noticed that with APT, the following constructs are supported: {{}} for hyperlinks, [] to place images in the generated site. Is there some way to combine those, like

  1   2   >