Re: Deploy error

2007-06-28 Thread Tim Kettler
Hi, sounds like a bug in the commons-net library (or in your ftp server implementation). The source code line causing the exception is this: reply = reply.substring(reply.indexOf('(') + 1, reply.indexOf(')')).trim(); which parses a server reply and probably doesn't

Re: Using Maven to Rename a Package

2007-06-28 Thread Tim Kettler
Hi, as far as I can tell you can't do this with the current archetype plugin. However, there is currently a successor in development over at the mojo project that should support this kind of things. Currently no website is set up for it and I can't tell if there are any binary releases of it

Re: [maven-remote-resources-plugin] weird behavior on NOTICE and LICENSE files ?

2007-06-28 Thread Daniel Kulp
Matthias, On Sunday 24 June 2007 07:01, Matthias Wessendorf wrote: > I used the maven-remote-resources-plugin in the past to add NOTICE and > LICENSE to regular JAR and: > a) source JAR > b) javadoc JAR > > Now, running this command > > mvn clean source:jar javadoc:jar install deploy > -DaltDepl

Missing dependancies

2007-06-28 Thread Nicolas Cochard
Hello I am new to maven. I just installed the maven plugin for eclipse as described at http://maven.apache.org/eclipse-plugin.html. I have then created a small project with the following dependency. org.hibernate hibernate-entitymanager 3.3.1.ga When maven download the dependenc

Maven SCM resolution problem when used with parent pom

2007-06-28 Thread Nicky Sandhu
Here's the problem I have a parent pom defining the scm url http://svn/repository scm:svn:${svn-repository}/${artifactId}/trunk ${svn-repository}/${artifactId} This works fine for the parent pom project Output on debug >> Configuring mojo 'org.apache.maven.

Re: How to get findbugs plugin to fail a build

2007-06-28 Thread Wayne Fay
I'm not certain this is a supported feature of the Findbugs plugin. I use findbugs but have never felt the need (personally) to fail a build based on the results of the analysis. So if you are unable to find documentation explaining how to do this, I'd assume/suggest that it is simply not a suppo

Re: URGENT: Renaming files during compile time

2007-06-28 Thread Wayne Fay
As others have mentioned, profiles are the proper way to proceed with this requirement. This same thing was just discussed in the last day or two, so check the archives or Nabble.com and you're bound to find more examples and discussion on this topic. About the "URGENT" in your subject -- I'd lea

RE: URGENT: Renaming files during compile time

2007-06-28 Thread Terala, Satish \(IS Consultant\)
You should do this using profiles. Typically you would define a profile for each environment dev target-env dev src/main/filters/dev.filter.properties

Re: URGENT: Renaming files during compile time

2007-06-28 Thread Steven Rowe
How about maven-antrun-plugin, using the Ant task? About the variable naming, it depends on where the information comes from - can it be set on the cmdline? Is it available as an environment variable? Profiles are a standard Maven mechanism to get the build to respond differently to different c

URGENT: Renaming files during compile time

2007-06-28 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: Here is what needs to be achieved: I have 3 different configuration files: application-dev.properties, application-int.properties, application-prod.properties. Depending on the value taken by a certain variable (where and how do shoudl I define this variable??), I need to have one of the ab

How to get findbugs plugin to fail a build

2007-06-28 Thread CDickson
Hi, I want to incorporate the FindBugs tool into my builds and get it to fail my builds if it finds issues. I am using the plugin from http://mojo.codehaus.org/findbugs-maven-plugin/ Does anyone know how to configure it to fail builds, I do not see any settings for it. Right now it is generati

RE: Exception configuring javadoc with yDoc ...

2007-06-28 Thread Giovanni Azua
The only way to solve the issue was to add all required ydoc library and resource files under the CLASSPATH environment variable ... Strange as it should not be that way. Anyways how can I overwrite classpath info within a profile? examples? TIA, Regards, Giovanni

two schedules at diferents times

2007-06-28 Thread Martin Alejandro Villalobos
Hello, I've a question. I want add two diferentes schedules to a project in continuum, actually is using 1.1-alpha-2. I want that one schedule that throw each five minutes and the second schedule will be throw one time at midnight. The problem es that, when the last build is generated before the

i wan subscribe

2007-06-28 Thread Martin Alejandro Villalobos
subscribe

war:war exception

2007-06-28 Thread Timothy Reilly
I am wondering how I can get to the bottom of this exception/build error. I am already running the -e option: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Assembling webapp cmsl-war in C:\Work3\cmsl-app\cmsl-war\target\cmsl-war-1.0-SNAPSHOT [INFO] Copy webapp webResources to C:\Work3\c

[M2] Properties not being expanded/interpolated in local repository POMs

2007-06-28 Thread George Armhold
Hello, There seem to be a number of JIRA issues that may be manifestations of the same problem- properties not being interpolated in the POM during install:install to the local repository. I am a new maven user, so perhaps I am misunderstanding something fundamental, but I think that pom files ins

Deploy error

2007-06-28 Thread Adam
Greetings: I am trying to ftp a JAR over to a remote repository. I am able to upload the JAR (ie, I can FTP) but keeping getting this error: [ERROR] FATAL ERROR [INFO] --- [INFO] String index out of range: -27 [INFO] --

Re: Filtering resources into a directory other than classes for a webapp?

2007-06-28 Thread Jared Blitzstein
Yeah, looks like 2.0 doesn't work and when I switched it to 2.0.2 it worked right away. On May 7, 2007, at 12:31 PM, stig.lau wrote: I was looking for the same solution, and the war-plugin seemed right. But my config files were always put in the war root instead of the folder i specified.

Wagon FTP 1.0

2007-06-28 Thread Siegmann Daniel, NY
Any plans to release Wagon FTP 1.0? I see that WAGONFTP-7 [1] was fixed months ago, and targetted for 1.0, but there has not yet been a release. [1] http://jira.codehaus.org/browse/WAGONFTP-7 -- Daniel Siegmann FJA-US, Inc. 512 Seventh Ave., New York, NY 10018 (212) 840-2618 ext. 139 --

RE: Reminder to vote for 2.0.8 issues

2007-06-28 Thread Siegmann Daniel, NY
I expect I would've run into that bug very soon. I guess I should be thankful for the forewarning. ;-) I have voted for the issue. -Original Message- From: Paul Spencer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 1:49 PM To: Maven Users List Subject: Re: Reminder to vote for

Re: OSGi bundles as dependencies

2007-06-28 Thread Craig Ching
On 6/28/07, Steven E. Harris <[EMAIL PROTECTED]> wrote: Craig Ching <[EMAIL PROTECTED]> writes: > Would the best way to approach this be to jar up the bundle and > shove into the maven repo with a groupId and artifactId? Yes, I'd do that first. > Then have some way to pull and unpack the jar

RE: 1.1-alpha-2 Web application unresponsive

2007-06-28 Thread Madsen,Bryan
I'm using the default install with no modifications. This started happening more frequently over the last few days and caused the builds to hang while maxing out the CPU on the machine. This morning I deleted the contents of the ..\apps\continuum\webapp\WEB-INF\build-output-directory and 20 proj

Re: OSGi bundles as dependencies

2007-06-28 Thread Steven E. Harris
Craig Ching <[EMAIL PROTECTED]> writes: > Would the best way to approach this be to jar up the bundle and > shove into the maven repo with a groupId and artifactId? Yes, I'd do that first. > Then have some way to pull and unpack the jar in the right place > during the maven install goal? Actual

Re: Reminder to vote for 2.0.8 issues

2007-06-28 Thread Paul Spencer
Jason, Jira will not let you vote for an issue you created :( If it would, I would vote for MNG-2075 [1] Paul Spencer [1] http://jira.codehaus.org/browse/MNG-3075 Jason van Zyl wrote: Just a reminder for anyone lurking who wants issues addressed in 2.0.8 to vote for issues in JIRA. Thanks,

Re: OSGi bundles as dependencies

2007-06-28 Thread Craig Ching
On 6/28/07, Steven E. Harris <[EMAIL PROTECTED]> wrote: Craig Ching <[EMAIL PROTECTED]> writes: > AFAICT, the OSGi bundles aren't packaged as a single jar, they > appear to be much more complex (or maybe I am lacking some > understanding of how these bundles are packaged). For instance, in > W

Deactivate one profile when activating another

2007-06-28 Thread Lara Brian
Hi All, I have couple of profiles, one of which is activeByDefault. I want to activate another one by using properties, but that should deactivate the other one? IS this possible in maven now? Here is the section from settings.xml debug true BV debug d

How to activate one profile that deactivates another profile.

2007-06-28 Thread Lara Brian
Hi All, I have couple of profiles, one of which is activeByDefault. I want to activate another one by using properties, but that should deactivate the other one? IS this possible in maven now? Here is the section from settings.xml debug true BV debug

Re: OSGi bundles as dependencies

2007-06-28 Thread Steven E. Harris
Craig Ching <[EMAIL PROTECTED]> writes: > AFAICT, the OSGi bundles aren't packaged as a single jar, they > appear to be much more complex (or maybe I am lacking some > understanding of how these bundles are packaged). For instance, in > WEB-INF/platform/plugins there are a number of directories w

Re: dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-28 Thread Heinrich Nirschl
On Thu, 2007-06-28 at 10:20 +0930, Barrie Treloar wrote: > When I run dependency:analyze on my module I get: > > [INFO] Found Resolved Dependency / DependencyManagement mismatches: > [INFO] Ignoring Direct Dependencies. > [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but > version

Re: Copy file

2007-06-28 Thread Nathan Maves
I think the following solution should work for you. Here are two example profiles env-qa env qa qa env-prod

Maven embedder examples

2007-06-28 Thread Ravi Luthra
I want to use the Maven Embedder but I am having trouble with the online example. The dependencies I have on my project are: org.apache.maven maven-core 2.0.7 org.apache.maven maven-project 2.0.7

Creating jars with and without debug information

2007-06-28 Thread Rahamim, Zvi (Zvi)
Hi, By default maven creates a jar with debug information. I would like that for each project that I build, it will create two jars - one with debug information and one without. I don't want to configure all my pom.xml files. I assume one option is to have a parent pom.xml (correct me if I'm wrong)

Different classpaths in multi-module build

2007-06-28 Thread lunchbox
I have a multi module project. In one of my submodules, I have a plugin defined (mapped to the compile phase) with dependencies on the plugin. If I do a compile from the module, it works fine. If I do a compile from the top level of the project, it fails. Specifically, it's the antrun plugin.

Re: [M2] cobertura-maven-plugin: cobertura.ser does not exist

2007-06-28 Thread Steven Rowe
Hi R.C., If your project has no real sources, then you don't need the reporting provided by coberatura-maven-plugin, right? Just remove mention of it from the section of your POM. Steve CodingPlayer wrote: > Hi, > > i'm trying to run 'mvn site' for my archetype-project, but always get the > f

Re: What is syntax for beanshell condition in the enforcer plugin?

2007-06-28 Thread Paul Spencer
Brian, Below is my working configuration org.apache.maven.plugins maven-enforcer-plugin 1.0-alpha-3-SNAPSHOT enforce-java enforce-once

Re: Copy file

2007-06-28 Thread Manos Batsis
AFAIK this can only be done with the antrun plugin. Ahmet Aytekin wrote: Hi, Did you find an answer for your problem below? I am trying to do the same thing here. I 'd appreciate it if anyone can answer this. Regards, geirgp wrote: Thanks for replying, but I can't see how configuring th

Re: Copy file

2007-06-28 Thread Ahmet Aytekin
Hi, Did you find an answer for your problem below? I am trying to do the same thing here. I 'd appreciate it if anyone can answer this. Regards, geirgp wrote: Thanks for replying, but I can't see how configuring this plugin can help me copy a file during the process-sources phase. What I

Error deploying

2007-06-28 Thread Jon Strayer
What does this error mean: [INFO] [site:deploy] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Unsupported protocol: 'ftp' Embedded error: Cannot find wagon

Re: OSGi bundles as dependencies

2007-06-28 Thread Craig Ching
Hi Martin and Rahul, Thanks for the tip! I'll definitely keep my eye on felix. Cheers, Craig On 6/28/07, Martin Gilday <[EMAIL PROTECTED]> wrote: http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html This is outdated but hints that something was/is being worked on. - Original mess

Re: OSGi bundles as dependencies

2007-06-28 Thread Craig Ching
I apologize in advance for the quoting, I'm thinking I should have used my normal mail account instead of gmail now. On 6/27/07, Steven E. Harris <[EMAIL PROTECTED]> wrote: Craig Ching <[EMAIL PROTECTED]> writes: > I am looking for a more practical, though obviously less than ideal, > solution

Re: migrating to Maven2, but some issues.

2007-06-28 Thread Graham Leggett
On Thu, June 28, 2007 3:36 pm, martin_CY wrote: > I just wonder how I should proceed. Because we really don't like dealing > with all the jars in the lib/ !! and also having the main application's > jars > versioned and in an internal repository would make life a lot easier for > the > web/Tapestr

Forking compiler does not honor JAVA_HOME. Is this a Bug?

2007-06-28 Thread Paul Spencer
When the compiler is forked, the jdk in the PATH is used, not the one defined by JAVA_HOME. org.apache.maven.plugins maven-compiler-plugin true true Is this a bug? Paul Spencer

[M2] cobertura-maven-plugin: cobertura.ser does not exist

2007-06-28 Thread CodingPlayer
Hi, i'm trying to run 'mvn site' for my archetype-project, but always get the following error. The archetype itself has no REAL sources, but defines some source templates. I believe the cobertura-maven-plugin detects those sources and beliefs that they are part of the project. [INFO] --

Using Maven to Rename a Package

2007-06-28 Thread Ferguson, Jason M TSgt 375 CSPTS/SCE
Sorry, I'm a newbie at Maven 2, I admit it. I have a project template that I use for all new development projects. The package directory (under the java directory) will look like this: org.jason.sample.dao org.jason.sample.service org.jason.sample.model org.jason.sample.web (etc) My test di

RE: FML DTD or schema?

2007-06-28 Thread Jeff Jensen
http://maven.apache.org/reference/plugins/faq/faq.xsd -Original Message- From: Dave Syer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 28, 2007 8:36 AM To: users@maven.apache.org Subject: FML DTD or schema? Is there a DTD or a schema for FML format? I can't find any documentation on

Re: FML DTD or schema?

2007-06-28 Thread Lukas Theussl
The maven 1 faq plugin has a schema: http://maven.apache.org/maven-1.x/plugins/faq/faq.xsd I think it's compatible with the format used in m2, but I'm not sure. HTH, -Lukas Dave Syer wrote: Is there a DTD or a schema for FML format? I can't find any documentation on it at all.

RE: migrating to Maven2, but some issues.

2007-06-28 Thread Chris Helck
Hi Martin, Perhaps it's a dumb idea, but why not create the jumbo jar and then as a separate step split it apart into separate jars by filtering on package names? It seems to me that the multiple jar files is more of a deployment issue then anything else. It might be possible to use tools like rsy

FML DTD or schema?

2007-06-28 Thread Dave Syer
Is there a DTD or a schema for FML format? I can't find any documentation on it at all. -- View this message in context: http://www.nabble.com/FML-DTD-or-schema--tf3994410s177.html#a11343182 Sent from the Maven - Users mailing list archive at Nabble.com. --

migrating to Maven2, but some issues.

2007-06-28 Thread martin_CY
Hi, I've been put in charge of investigating the possibilities to migrate to Maven 2 for my company. we have been using ant up until now and it has worked pretty well, except that about a year ago we started to make part of our java application functionality available on the net using Tapestry. (

Re: OSGi bundles as dependencies

2007-06-28 Thread Martin Gilday
http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html This is outdated but hints that something was/is being worked on. - Original message - From: "Craig Ching" <[EMAIL PROTECTED]> To: "Maven Users List" Date: Wed, 27 Jun 2007 17:52:49 -0500 Subject: Re: OSGi bundles as dependencies

Massive number of threads being created on project shutdown ??

2007-06-28 Thread Nigel Magnay
Hi I've recently switched to using OS X. Our project that builds fine on Windows displays some rather odd behaviour. When maven closes down (after a BUILD FAILURE) message, the machine slows down. Observing the process in activity monitor shows that the number of java threads leaps from about 10,

Plugin for making graphical dependency graph?

2007-06-28 Thread Vanja Petreski
Hi, is there any such plugin which is capable for generating dependency graph image based on the maven multi module project? V

Error with cobertura

2007-06-28 Thread Martin Alejandro Villalobos
I've been building with maven 2.0.4 my projects since a long time with out problems. Yesterday, I did get the following message : [ERROR] BUILD ERROR [INFO] [INFO] Error executing ant tasks Embedded error: The following e

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread Damien Lecan
thx for this hint. i already tried ${settings.localRepository} but since i use the default (and no ${settings.localRepository} is specified in my settings.xml) maven can't resolve the property. I'm using default local repository location, and it's working ! ${settings.localRepository} can be use

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread CodingPlayer
Hi Damien, thx for this hint. i already tried ${settings.localRepository} but since i use the default (and no ${settings.localRepository} is specified in my settings.xml) maven can't resolve the property. and the second reason why i didn't investigate more time to get rid of the ${env.WTK_HOME}

Documentation incorrect?: guide-ant-plugin-development --> Advanced Usage --> Forking new LifeCycles

2007-06-28 Thread maarten roosendaal
Hi, I'm trying to fork a new Lifecycle when calling my custom plugin. I've followed the instructions sited in the documentation on http://maven.apache.org/guides/plugin/guide-ant-development.html --> Forking new Lifecycles, but when running mvn install the tag execute or lifecycle are not reco

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread Damien Lecan
${env.WTK_HOME}/lib/cldcapi11.jar;${env.WTK_HOME }/lib/midpapi20.jar Glad to see that working. At least, if you have an internal maven repository, you might have a more portable build system. You could deploy cldcapi11.jar and midpapi20.jar into your interna

Re: [M2] j2me-maven-plugin: preverification error

2007-06-28 Thread CodingPlayer
Hi Damien, i just found some time to try out your hint (configuring the compile plugin to use a bootclasspath). here is the config, that worked for me finally: org.apache.maven.plugins maven-compiler-plugin ${env.WTK_HOME}/lib/cldcapi11.jar;$

Problem with execution of eclipse mojo on packaging type ear

2007-06-28 Thread Kürpig , Jürgen
Hi all, I'm using the maven-eclipse-plugin to create the project meta files like .project or .classpath for eclipse. Basically, the intention of the maven-eclipse-plugin was not to use the default dependency resolution, instead the maven-eclipse-plugin uses its own dependency resolution. Especi

multi module assembly problems

2007-06-28 Thread Brian Williams
I'm trying to assemble the artifacts from a few projects into one zip file, using 2.2-beta-1 of the Assembly plugin. The error message I keep getting is: WARNING] The following patterns were never triggered in this artifact inclusion filter: o '*:Aperia:*' o '*:apcs' o 'aperia:utilities' I'v