RE: Antwort: RE: Antwort: RE: Proxy settings

2006-12-04 Thread Mohni, Daniel
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] My position is that the POMs which come from the main sites can (and will) contain anything (even illegal XML, broken checksums, etc). The proxy has to handle all these case gracefully or at least to support

Re: Re: Newbie Question about repository access protocols

2006-12-04 Thread Stefan Arentz
Aaron, did you ever find a solution for this? I'm trying to do the same .. I would like to access an internal repository through one of these: * https with basic auth on it * https with a client side certificate * ssh/scp with public key auth None seem to be supported by Maven at the moment?

FindBugs and Out of Memory

2006-12-04 Thread gbois
Hello, I have configured my pom.xml like this reporting plugins plugin groupIdorg.codehaus.mojo/groupId

Re: Putting resources to somewhere else

2006-12-04 Thread Aaron Digulla
Wendy Smoak-3 wrote: You can use resources in the pom to identify things to copy into the jar. Is there a simple way to have the resources next to the Java classes (ie. in src/main/java)? When developing with Hibernate, it's tedious to switch back and forth between the directories. I've

Re: How to disable a goal

2006-12-04 Thread Aaron Digulla
MartinAhrer wrote: I have a parent POM using the pluginManagement element for configuring plugins for sub modules. The plugin configuration contains instructions for which goals to execute. Maven doesn't support to remove elements from parent POMs, you can only extend it in sub-modules.

IDEA Plugin and non-existing module artifacts

2006-12-04 Thread Stefan Arentz
I use the IDEA plugin to generate project files for my Maven projects. Works pretty good but there is one thing that bugs me. It seems that you first need to build and install the project before the IDEA plugin can create the project files. In other words, the plugin requires the artifacts to be

Re: FindBugs and Out of Memory

2006-12-04 Thread Aaron Digulla
gbois wrote: I have add this line, in the 'mvn.bat file of the maven 2 installation directory : set MAVEN_OPTS = %MAVEN_OPTS% -Xmx1024M but no change. This just gives maven itself more memory. Some of the plugins fork a sub-process (another Java VM) which means changes to the maven

Re: IDEA Plugin and non-existing module artifacts

2006-12-04 Thread Trygve Laugstøl
Stefan Arentz wrote: I use the IDEA plugin to generate project files for my Maven projects. Works pretty good but there is one thing that bugs me. It seems that you first need to build and install the project before the IDEA plugin can create the project files. In other words, the plugin

Re: Re: IDEA Plugin and non-existing module artifacts

2006-12-04 Thread Stefan Arentz
On 12/4/06, Trygve Laugstøl [EMAIL PROTECTED] wrote: Stefan Arentz wrote: I use the IDEA plugin to generate project files for my Maven projects. Works pretty good but there is one thing that bugs me. It seems that you first need to build and install the project before the IDEA plugin can

Proxy settings

2006-12-04 Thread Aaron . Digulla
Hello, We're using maven for internal development. Since the internet as a whole and our connection to it especially are not always reliable (for example, a new version of a virus checker sometimes starts to block out maven downloads), we wanted to use Archiva as a local cache of the central

maven-javadoc-plugin fails to find packages and classes

2006-12-04 Thread Steinar Bang
Platform: Intel Pentium M, Ubuntu Dapper Drake, Sun java 1.5.0_06, maven 2.0.4, maven-javadoc-plugin 2.0 I'm trying to run aggregate javadoc on a multiproject, and I'm getting errors when it runs into packages and classes outside of the project (ie. from

RE: Proxy settings

2006-12-04 Thread Mohni, Daniel
Hello Aaron this can be done setting the mirror in settings.xml mirrors mirror idproxy.central/id mirrorOfcentral/mirrorOf nameInternal Mirror of central./name urlhttp://archiva/proxy/maven_release/url /mirror /mirrors - if you use proxy in the url then

Re: dependencies on eclipse 3.2 plugins

2006-12-04 Thread Bhupendra Bhardwaj
Thanks Tom, That was very helpful. Regards, Bhupendra On 12/2/06, Tom Huybrechts [EMAIL PROTECTED] wrote: There is a Maven repository with the Eclipse bundles at http://repo1.maven.org/eclipse/ I don't expect this to be around forever, but I guess it will eventually be integrated in the

Continuum Clearcase

2006-12-04 Thread Robert Langridge
Hi All, I have a project that uses clearcase for scm. The viewstore location is not the default so I created a .scm folder in the location of the pom.xml file and added a clearcase-settings.xml file with the location of the viewstore as instructed by the maven site. However when I come to run

Surefire tests occasionally failing because the classpath is wrong

2006-12-04 Thread Nigel Magnay
In my multiproject, I use commons-lang. In my pom.xml (atend) I have the dependency set (excluded once to avoid a conflict). However, the build sometimes fails, but not always, trying to find a class in commons-lang. Doing a mvn -X shows it isn't present on the test classpath. Is there some way

AW: Re: dependencies on eclipse 3.2 plugins

2006-12-04 Thread thorsten
Hi, which maven plugin do you use for building your rcp application or eclipse plugins? Do you have a sample pom.xml for me? Best Regards, Thorsten Thanks Tom, That was very helpful. Regards, Bhupendra On 12/2/06, Tom Huybrechts [EMAIL PROTECTED] wrote: There is a Maven repository

maven and jar

2006-12-04 Thread Khabot, Zakaria
Hi all, I'm new in maven. I'm trying to execute maven withing eclipse. How to customise jar-plugin so to put src directory, the name of the jar Thanks This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material,

EAR plugin problem

2006-12-04 Thread Lars Rosenberg Nielsen
I have a problem with configuring the EAR plugin so it copies the depended jar files to by APP-INF/lib directory in the EAR file; the plugin places the jar files in the root directory, which makes my deployment fail. See the configuration of the EAR file below. Can anyone point me to a fix?

Re: EAR plugin problem

2006-12-04 Thread Alexander Sack
Try defaultJavaBundleDirAPP-INF/lib/defaultJavaBundleDir instead. I believe the BBwMaven book is inaccurate at this point. -aps On 12/4/06, Lars Rosenberg Nielsen [EMAIL PROTECTED] wrote: I have a problem with configuring the EAR plugin so it copies the depended jar files to by APP-INF/lib

[M2] Unable Disable a Repository?

2006-12-04 Thread Peter . Pilgrim
Hi I need to find out how to undisable a repository, when Maven thinks it is unavailable. (Testing an internal repository with an artifacts which Maven claims it is missing, but actually does exist. ) [DEBUG] Skipping disabled repository ptsp-internal [INFO] snapshot

Antwort: RE: Proxy settings

2006-12-04 Thread Aaron . Digulla
Hi Daniel, What do I do if POM.xml of a plugin says this: repositories repository idapache-snapshots/id nameSnapshot repository/name urlhttp://people.apache.org/maven-snapshot-repository//url /repository /repositories but the plugin cannot be found in this

RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-04 Thread Peter . Pilgrim
-Original Message- From: Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) ==== -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 01, 2006 2:53 AM To: users@maven.apache.org Subject: RE:

RE: Antwort: RE: Proxy settings

2006-12-04 Thread Mohni, Daniel
Hello again all I can say about this is that a lot of the current maven2 plugins are still in development and not in release state. this is also why they have this snapshot repositories in their pom... but they are going to be stable quite soon, hopefully... using snapshot dependency that you

[M2] list of available goals (for all plugins)?

2006-12-04 Thread CodingPlayer
Hi, i'm searching for a plugin that lists all available goals of ALL Maven2 plugins? If this feature is not implemented yet, will it be taken into consideration? i know about the 'maven-projecthelp-plugin' and the 'maven-help-plugin', but they don't show available goals... thx 4 help R.C. --

Re: [M2] list of available goals (for all plugins)?

2006-12-04 Thread ir. ing. Jan Dockx
Define ALL Maven2 plugins. Since Maven is an open system of plugins, the best answer is probably Google ;-). If you mean all build lifecycle phases, they are static, and can be found at http:// cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html and at other places. On 4

[M2] different maven-...help-plugins?

2006-12-04 Thread CodingPlayer
Hi, does anyone know about the difference of these two plugins? http://maven.apache.org/plugins/maven-help-plugin/ http://maven.apache.org/plugins/maven-projecthelp-plugin/ Which one is used most common? thx R.C. -- View this message in context:

Re: [M2] different maven-...help-plugins?

2006-12-04 Thread Mark Hobson
On 04/12/06, CodingPlayer [EMAIL PROTECTED] wrote: does anyone know about the difference of these two plugins? http://maven.apache.org/plugins/maven-help-plugin/ http://maven.apache.org/plugins/maven-projecthelp-plugin/ maven-projecthelp-plugin was renamed to maven-help-plugin a while back.

Re: Re: dependencies on eclipse 3.2 plugins

2006-12-04 Thread Bhupendra Bhardwaj
Hi, I could compile using the repository repo1.maven.org/eclipse but later I found a problem. The plugins are in format pluginname-version and in the eclipse plugins are in format pluginname_version. because of change in plugin names my RCP didn't run. i still couldn't find why the plugin jar

Re: [M2] list of available goals (for all plugins)?

2006-12-04 Thread CodingPlayer
hi, What i mean is, that i would love to write something like, e.g. mvn list-goals and get an output like: phase: XXX goals: AAA, BBB, CCC phase: YYY goals: DDD, EEE e.g.: phase: compile goals: compile, test-compile, ... ... phase: package goals: package, jar:jar, jar:test-jar,

Re: [M2] different maven-...help-plugins?

2006-12-04 Thread CodingPlayer
Mark, thx 4 help, that was what i expected. R.C. Mark Hobson wrote: On 04/12/06, CodingPlayer [EMAIL PROTECTED] wrote: does anyone know about the difference of these two plugins? http://maven.apache.org/plugins/maven-help-plugin/ http://maven.apache.org/plugins/maven-projecthelp-plugin/

RE: Antwort: RE: Proxy settings

2006-12-04 Thread Sam Wilson
I completely agree with both statements: 1) snapshot dependency that you can not control is a mess, in a customer project ... build the plugin from source with your custom artifactId and deploy it to your repository and 2) A released plugin should not have a repository entry in his pom.xml I

[M2] pluginManagement vs. plugin in parent pom.xml

2006-12-04 Thread CodingPlayer
Hi, i just found out about the existence of the pluginManagement section in a pom.xml. But i wonder, what is the difference to a plugin section?? Until now, i only use a plugin section in my parent pom.xml, and all of the plugins still work in my sub-projects. So, why should i put these

Re: [M2] pluginManagement vs. plugin in parent pom.xml

2006-12-04 Thread nicolas de loof
AFAIK the plugins section is inherited by modules, and the pluginmanagement only defines a common configuration for plugins BUT does not enable them on child modules. You can then configure commons plugin for all your modules in plugins and define a common configuration for some plugin that are

Re: [M2] different maven-...help-plugins?

2006-12-04 Thread Wendy Smoak
On 12/4/06, Mark Hobson [EMAIL PROTECTED] wrote: On 04/12/06, CodingPlayer [EMAIL PROTECTED] wrote: does anyone know about the difference of these two plugins? http://maven.apache.org/plugins/maven-help-plugin/ http://maven.apache.org/plugins/maven-projecthelp-plugin/

[M2] Some troubles with maven-surefire-plugin and testng

2006-12-04 Thread Alexandre Touret
hello, I m trying to run maven-surefire-plugin with testng. I have some troubles: 1 - if I dont specify teh testsuites path in pom.xml, surefire doesnt find any test, even if I try to specify include elements My pattern : include**/*Test.java/include I decided to specify a testsuite in a xml

Re: [M2] list of available goals (for all plugins)?

2006-12-04 Thread Wayne Fay
This is where people new to Maven go wrong... With Ant, you need to generate such a list of available/useful targets. With Maven, assuming your project is set up by someone who knows what they're doing, the plugins should be attached to the proper phases and you will simply run mvn package or mvn

RE: Putting resources to somewhere else

2006-12-04 Thread rudy.bistrovich
In order to stop Maven from putting your resources into your jar you need to override the default targetpath directory for the resources. This is done in the POM in the resources section. If you take a look at what I have below...this is telling maven to output any files found in the

Re: [M2] Unable Disable a Repository?

2006-12-04 Thread Wendy Smoak
On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I need to find out how to undisable a repository, when Maven thinks it is unavailable. AFAIK, any 'blacklisting' only lasts for that build. -- Wendy - To unsubscribe,

Antwort: RE: Antwort: RE: Proxy settings

2006-12-04 Thread Aaron . Digulla
Mohni, Daniel [EMAIL PROTECTED] schrieb am 04.12.2006 15:15:13: A released plugin should not have a repository entry in his pom.xml !!! that's my opinion, but maybe it's wrong... My position is that the POMs which come from the main sites can (and will) contain anything (even illegal XML,

Re: Putting resources to somewhere else

2006-12-04 Thread Wendy Smoak
On 12/4/06, Aaron Digulla [EMAIL PROTECTED] wrote: Is there a simple way to have the resources next to the Java classes (ie. in src/main/java)? When developing with Hibernate, it's tedious to switch back and forth between the directories. I've checked the docs for the plugin but there is no

[M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
Hi Maven says it cant download the file from the internal repository. Anything out of the ordinary of this maven-metadata.xml file. ?xml version=1.0? metadata groupIdorg.easymock/groupId artifactIdeasymock/artifactId version2.2/version versioning latest2.2/latest

RE: Proxy settings

2006-12-04 Thread Aaron . Digulla
Sam Wilson [EMAIL PROTECTED] schrieb am 04.12.2006 16:27:59: At the very least, snapshot and release repositories should be properly labeled as such if they are going to be included. No matter how hard you wish, there will always be a broken POM out there and there should be a reliable,

RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
-Original Message- From: Pilgrim, Peter Sent: 04 December 2006 16:10 To: 'Maven Users List' Subject: [M2] Just need the open source eyes on this Hi Maven says it cant download the file from the internal repository. Anything out of the ordinary of this maven-metadata.xml

Re: [M2] Just need the open source eyes on this

2006-12-04 Thread Wayne Fay
Do you have the corresponding sha1 and md5 files next to the pom file named ie blah-1.0.pom, blah-1.0.pom.sha1, blah-1.0.pom.md5? You will need this for all files in the repository. This can cause those error messages, IIRC. Wayne On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Re: [M2] Just need the open source eyes on this

2006-12-04 Thread Wendy Smoak
On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ignore I think firewall proxy issues are preventing the routing access direct to internal repository from the machine. Based on other problems you've reported, that sounds likely. FWIW, I think releases are discovered directly, by

Including an assembly as part of another assembly

2006-12-04 Thread Eric Wang
Hi, I'm new to Maven so forgive me if this something really obvious. I looked through the assembly plugin documentation and searched the archives, but couldn't find anything covering my use case. I'm building an assembly using the built-in jar-with-dependencies descriptor. That works great. I'd

Re: checkstyles

2006-12-04 Thread Trevor Torrez
Thanks; I had thought about that, I was hoping there was something simpler and just as transparent. It kinda grates me to create a maven project and repository jar file for one file; using a simple URL is tempting, but anywhere we can stick the file we can stick the jar, and the simple URL idea

Re: Resources with different encoding

2006-12-04 Thread franz see
Good day to you, Robert, You must declare your UTF-8 files as one resource and your ISO-8859-1 files as another. For example, project ... build resources resource directorysrc/main/resources/directory encodingUTF-8/encoding includes

Re: Including an assembly as part of another assembly

2006-12-04 Thread Alexander Sack
Quick question, why can't you have two sub modules under your POM, one that generates an assembly, the other generating the final output with the other assembly included? (you get the idea) -aps On 12/4/06, Eric Wang [EMAIL PROTECTED] wrote: Hi, I'm new to Maven so forgive me if this

Re: checkstyles

2006-12-04 Thread Wendy Smoak
On 12/4/06, Trevor Torrez [EMAIL PROTECTED] wrote: Thanks; I had thought about that, I was hoping there was something simpler and just as transparent. It kinda grates me to create a maven project and repository jar file for one file; using a simple URL is tempting, but anywhere we can stick

Re: checkstyles

2006-12-04 Thread Mark Hobson
On 04/12/06, Wendy Smoak [EMAIL PROTECTED] wrote: Yep... this is one of those times when Maven is (not so) gently encouraging you to do the right thing, (version everything associated with your build) even if it seems a bit over the top to have to release a jar containing a single file. :)

RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 04 December 2006 16:50 To: Maven Users List Subject: Re: [M2] Just need the open source eyes on this On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ignore I think firewall proxy issues are

RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
Hi -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: 04 December 2006 16:48 To: Maven Users List Subject: Re: [M2] Just need the open source eyes on this Do you have the corresponding sha1 and md5 files next to the pom file named ie blah-1.0.pom,

Re: Including an assembly as part of another assembly

2006-12-04 Thread Eric Wang
My project is a simple command-line application. I didn't think it required multiple modules so I never looked into that. Is that the preferred way to accomplish what I'm describing? Basically, I just want to include my assembly jar along with a few other files inside a zip file. On 12/4/06,

Re: [M2] Just need the open source eyes on this

2006-12-04 Thread Wendy Smoak
On 12/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: That's very interesting, Wendy. In my experience you do need a maven-metadata.xml file with information that points to the versions of the artifact. If that were true across the board, no one would be able to use MyFaces 1.1.4.

RE: [M2] Just need the open source eyes on this

2006-12-04 Thread Peter . Pilgrim
-- Peter Pilgrim UBS Investment Bank, PTS Portal / IT FIRC OPS LDN, 100 Liverpool Street, London EC2M 2RH, United Kingdom +44 (0) 20 75 75692 :: Java EE / E-Commerce / Enterprise Integration / Development :: -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 04

Re: [M2] Just need the open source eyes on this

2006-12-04 Thread Tom Huybrechts
For dependencies, the path in a local or remote repository can be constructed using groupId, artifactId, version, classifier and type since all of these are always known from the POM (or parent POMs). For plugins the version is not always known. If no version is specified for a given plugin, the

Maven with XDoclet - Failing to generate code

2006-12-04 Thread Leonardo Postacchini
Hello there! I am trying to run XDoclet 2 through Maven 2 and I am getting build failures saying the acess to the diretory where the generated sources was denied. I am running it under Windows XP professional, I checked the directory permissions and all seems fine. All processes are running

Re: Including an assembly as part of another assembly

2006-12-04 Thread Alexander Sack
I won't speak for best practices but typically you would create another module to do the packaging (similar to some of the EAR examples). For a simple command-line application, my guess is one pom and one assembly descriptor will be enough. For my command-line tool I generate the jar and then

Re: Maven with XDoclet - Failing to generate code

2006-12-04 Thread Mick Knutson
Post your xdoclet code please. On 12/4/06, Leonardo Postacchini [EMAIL PROTECTED] wrote: Hello there! I am trying to run XDoclet 2 through Maven 2 and I am getting build failures saying the acess to the diretory where the generated sources was denied. I am running it under Windows XP

Re: [M2] pluginManagement vs. plugin in parent pom.xml

2006-12-04 Thread Eric Redmond
On 12/4/06, nicolas de loof [EMAIL PROTECTED] wrote: AFAIK the plugins section is inherited by modules, and the pluginmanagement only defines a common configuration for plugins BUT does not enable them on child modules. Sort of... modules don't inherit anything from their multi-module

setting dependency to a project with pom packaging?

2006-12-04 Thread Victor Okunev
Can I create a dependency to a project with pom packaging? This would be convenient rather than creating separate dependencies on each module it contains. I tried but unsuccessfully, it seems that Maven is looking for a jar. Perhaps I am missing something? Victor

Re: setting dependency to a project with pom packaging?

2006-12-04 Thread Wendy Smoak
On 12/4/06, Victor Okunev [EMAIL PROTECTED] wrote: Can I create a dependency to a project with pom packaging? This would be convenient rather than creating separate dependencies on each module it contains. I tried but unsuccessfully, it seems that Maven is looking for a jar. Perhaps I am

Re: assembly file and descriptorRefs

2006-12-04 Thread Yann Albou
Thanks Wendy it was very helpful. You're right it is working with the extensions tag. But I found another solution: use the dependencies tag inside the plugin: I think this tips should be in the assembly plugin documentation. Here is how I did: project ...

Re: assembly file and descriptorRefs

2006-12-04 Thread Wendy Smoak
On 12/3/06, Yann Albou [EMAIL PROTECTED] wrote: I think this tips should be in the assembly plugin documentation. Each plugin has a page on the wiki where we encourage users to contribute examples. It would be great if you could add this example to the Assembly plugin's page:

Re: setting dependency to a project with pom packaging?

2006-12-04 Thread Victor Okunev
What are you trying to do? It sounds like you have a pom with modules and you expect that declaring a dependency on that pom will add those modules as dependencies. Yes, that's the idea. Is it possible or I misunderstand the purpose of projects with pom packaging? --Vic On 12/4/06, Wendy

RE: setting dependency to a project with pom packaging?

2006-12-04 Thread Maven Users List
The project that depends on pom artifact will be depending on all this pom's dependencies. The pom dependency can be a replacement of a group of other dependencies. I've tried this two years back and I guess this behavior didn't change in maven 2.0.4 -Jiaqi -Original Message- From: Wendy

Re: setting dependency to a project with pom packaging?

2006-12-04 Thread Wendy Smoak
On 12/4/06, Victor Okunev [EMAIL PROTECTED] wrote: What are you trying to do? It sounds like you have a pom with modules and you expect that declaring a dependency on that pom will add those modules as dependencies. Yes, that's the idea. Is it possible or I misunderstand the purpose of

Re: Including an assembly as part of another assembly

2006-12-04 Thread Eric Wang
Does your jar have any dependencies? If not, then your case is a little bit different from mine. My (maybe not so simple) command line application depends on two jars. If I just run mvn package I get a jar in the target directory like you. However that jar doesn't include my application's two

Re: setting dependency to a project with pom packaging?

2006-12-04 Thread Daniel Kulp
On Monday 04 December 2006 14:13, Wendy Smoak wrote: On 12/4/06, Victor Okunev [EMAIL PROTECTED] wrote: Can I create a dependency to a project with pom packaging? This would be convenient rather than creating separate dependencies on each module it contains. I tried but unsuccessfully, it

Re: Including an assembly as part of another assembly

2006-12-04 Thread Alexander Sack
Eric, I have the eXACT same project. My command line tool needs a couple of runtime dependencies. Let me show how I organize a project which works for me beautifully (maybe this will help): dependencies dependency groupIdacme-depedency-1/groupId

Re: assembly file and descriptorRefs

2006-12-04 Thread Yann Albou
Done, I added a section How to create your own predefine assembly Yann. Wendy Smoak wrote: On 12/3/06, Yann Albou [EMAIL PROTECTED] wrote: I think this tips should be in the assembly plugin documentation. Each plugin has a page on the wiki where we encourage users to contribute examples.

Re: Including an assembly as part of another assembly

2006-12-04 Thread Eric Wang
Our projects are indeed pretty much the same. You just chose to package it differently than I did (or am trying to). In your case, you have your dependencies as separate jars. I used the the jar-with-dependencies descriptor to pack everything into a single jar. Unfortunately, I can't seem to

Testing Harness Exception

2006-12-04 Thread Ole Ersoy
Hi, I'm trying to use the testing harness and I get this exception: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.plugin.Mojoorg.jpackage:xml2spec.mojo:1.0-SNAPSHOT:xml2spec.mojo.

Re: checkstyles

2006-12-04 Thread Trevor Torrez
Yup; i agree; versioning everything associated with the build is a good idea, and currently we do do this; I was hoping to get rid of the duplications from project to project in an elegent manner; c'est la vie. The maven-remote-resources plugin, although it would work, doesn't seem right either.

Re: Can a Mojo configure another Mojo?

2006-12-04 Thread Dietrich Schulten
Just to close this thread, I managed to configure the compiler plugin from within my initialize-phase Mojo like so: Xpp3Dom dom = null; List plugins = project.getBuildPlugins(); Plugin plugin = null; if ( plugins != null) { for ( Iterator iterator = plugins.iterator(); iterator.hasNext(); )

Re: Testing Harness Exception

2006-12-04 Thread Dietrich Schulten
The first parameter to lookupMojo() must be a goal, not an artifact - in your case generate should get your Mojo. HTH Dietrich Ole Ersoy schrieb: Hi, I'm trying to use the testing harness and I get this exception: org.codehaus.plexus.component.repository.exception.ComponentLookupException:

RE: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-04 Thread Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
See below. I've deleted much of the thread, but the relevant bit remains. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, December 04, 2006 6:13 AM To: users@maven.apache.org Subject: RE: MAVEN_INSTALL_DIR/conf/settings.xml [ some stuff

Re: Testing Harness Exception

2006-12-04 Thread Ole Ersoy
Oooh - Thanks Dietrich! That may have taken a while to figure out. - Ole --- Dietrich Schulten [EMAIL PROTECTED] wrote: The first parameter to lookupMojo() must be a goal, not an artifact - in your case generate should get your Mojo. HTH Dietrich Ole Ersoy schrieb: Hi, I'm

Re: MAVEN_INSTALL_DIR/conf/settings.xml

2006-12-04 Thread Wendy Smoak
On 12/4/06, Marilyn Sander -X (marilysa - Digital-X, Inc. at Cisco) [EMAIL PROTECTED] Perhaps I mis-stated a bit. There is not a time dependency. There are two ways that we invoke maven. The first is with the mvn command, to do the java build. The second is later, after the mvn build has

Re: Testing Harness Exception

2006-12-04 Thread Ole Ersoy
Hmmm I tried it with generate and I still get almost the same exception: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Component descriptor cannot be found in the component repository: org.apache.maven.plugin.Mojoorg.jpackage:xml2spec.mojo:1.0-SNAPSHOT:generate.

Re: Testing Harness Exception

2006-12-04 Thread Ole Ersoy
Hey there, Never mind - I ran mvn eclipse:clean eclipse:eclipse and it fixed itself. Thanks, - Ole --- Ole Ersoy [EMAIL PROTECTED] wrote: Hmmm I tried it with generate and I still get almost the same exception:

ContainerException: Deployable failed to finish deploying within the timeout period

2006-12-04 Thread Brad Harper
Hello: Has anyone seen this error? It occurred when performing the command % mvn clean compile war:war cargo:undeploy cargo:deploy The war seems to have been properly deployed (Tomcat 5.5.9) when I look. I get a 404 error when I try the expected URL. Thanks. Brad [INFO]

Re: ContainerException: Deployable failed to finish deploying within the timeout period

2006-12-04 Thread Wendy Smoak
On 12/4/06, Brad Harper [EMAIL PROTECTED] wrote: Has anyone seen this error? It occurred when performing the command % mvn clean compile war:war cargo:undeploy cargo:deploy The war seems to have been properly deployed (Tomcat 5.5.9) when I look. I get a 404 error when I try the expected

How to run checkstyle earlier in the build lifecycle?

2006-12-04 Thread Christian Goetze
I know it runs as part of mvn site, but some people wish to see it run earlier, say as part of install, or even test. How do I do that? -- cg P.S. I'm still struggling with multi-module project site generation. I just can't get the navigation links to work. -- cg

Re: How to run checkstyle earlier in the build lifecycle?

2006-12-04 Thread Wendy Smoak
On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: I know it runs as part of mvn site, but some people wish to see it run earlier, say as part of install, or even test. How do I do that? You can bind a plugin execution to any phase of the build lifecycle.

How to ignore certain files in the source tree

2006-12-04 Thread Christian Goetze
Sorry if this is another FAQ, but I can't find an easy answer... I would like to systematically ignore certain source files in the build. I don;t want them to appear in my jars or any other artifacts. Is there a global way to exclude them? -- cg

Re: How to ignore certain files in the source tree

2006-12-04 Thread Wendy Smoak
On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: I would like to systematically ignore certain source files in the build. I don;t want them to appear in my jars or any other artifacts. Is there a global way to exclude them? Where are the files located, and what type of files are they?

Re: How to ignore certain files in the source tree

2006-12-04 Thread Christian Goetze
Wendy Smoak wrote: On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: I would like to systematically ignore certain source files in the build. I don;t want them to appear in my jars or any other artifacts. Is there a global way to exclude them? Where are the files located, and what type

Re: How to ignore certain files in the source tree

2006-12-04 Thread Wendy Smoak
On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: Where are the files located, and what type of files are they? They are . files generated by the build system into which I'm embedding maven. They contain additional metadata about the files and I do not have the option of moving them

Re: How to ignore certain files in the source tree

2006-12-04 Thread Christian Goetze
Wendy Smoak wrote: On 12/4/06, Christian Goetze [EMAIL PROTECTED] wrote: Where are the files located, and what type of files are they? They are . files generated by the build system into which I'm embedding maven. They contain additional metadata about the files and I do not have the option

perforce connectionURL example

2006-12-04 Thread Don Steffy
I'm having trouble getting the correct format for the connectionURL parameter to the mvn scm:tag command. Could anyone supply with me with an example? I'm following the examples at http://maven.apache.org/scm/perforce.html: mvn -X -Dtag=foo4 -DconnectionUrl=scm:perforce:[EMAIL

Re: How to ignore certain files in the source tree

2006-12-04 Thread Neeraj Bisht
use exclude inside the resource tag for the file which you not needed and in resource directory use the src\main\java it is worked in maven 1.x but not sure about in maven 2.x i think it will work on it also Regards Neeraj On 12/5/06, Christian Goetze [EMAIL PROTECTED] wrote: Wendy

Maven2 with VSS: Has maven scm plugin implemented scm:checkout for VSS?

2006-12-04 Thread joy.ge
try command line mvn scm:checkout following error found, Embedded error: No such command 'checkout' Anyone can help? Thanks! Regards, Joy IMPORTANT NOTICE Email from OOCL is confidential and may be legally privileged. If it is not intended for you, please delete it immediately

Re: question about maven assembly plugin

2006-12-04 Thread Stephane Nicoll
Hi Steve, Please use the maven-user list for user's questions. See kenney's response to that[1]. I guess it was a regression in 2.2-SNAPSHOT. If you're using the released version, that is 2.1, it should be fairly easy. If you want to only unpack project A, create a dependencySet with only A