Re: [m2] maven does not launch on ubuntu 9.10

2009-11-30 Thread Adrian Herscu
to remove Sun JDK5, which may leave you without a modern JDK without knowing it. Make sure you install a suitable JDK and set PATH and JAVA_HOME. Please post the output of mvn --version if still in doubt. Best Brett On Mon, Nov 30, 2009 at 6:32 AM, Adrian Herscu bmf1...@fastmail.fm wrote: Hi all

Re: [m2] maven does not launch on ubuntu 9.10

2009-11-30 Thread Adrian Herscu
bundle? What does `which mvn` produce? I recommend you try a non-bundled binary install. Brett On Mon, Nov 30, 2009 at 7:04 PM, Adrian Herscu bmf1...@fastmail.fm wrote: Thanks for your fast reply, Brett. Currently I have: p...@ubuntu-desktop:~$ java -version java version 1.6.0_16 Java(TM) SE

Re: [m2] maven does not launch on ubuntu 9.10

2009-11-30 Thread Adrian Herscu
-upstream bundle? What does `which mvn` produce? I recommend you try a non-bundled binary install. Brett On Mon, Nov 30, 2009 at 7:04 PM, Adrian Herscu bmf1...@fastmail.fm wrote: Thanks for your fast reply, Brett. Currently I have: p...@ubuntu-desktop:~$ java -version java version

[m2] maven does not launch on ubuntu 9.10

2009-11-29 Thread Adrian Herscu
Hi all, After upgrading from Ubuntu 9.04 to 9.10 Maven suddenly failed to launch with the following exception: p...@ubuntu-desktop:~/wirexn$ mvn --version java.io.FileNotFoundException: /usr/share/maven2/bin/m2.conf (No such file or directory) at java.io.FileInputStream.open(Native

Re: [m2.2.1] BUILD ERROR -- (attached a test case)

2009-10-10 Thread Adrian Herscu
PING! Adrian Herscu wrote: Test case attached in root.7z Adrian. Adrian Herscu wrote: Hi all, I have the following multi-project structure: root +my-maven-plugin +my-component My component requires my Maven plugin in order to build. Hence it declares: build ... plugins

[m2] multi-project with plugin dependencies fails to build

2009-10-10 Thread Adrian Herscu
Hi all, I am trying to set up a multi-project build in which one module depends on the Maven plugin created by other module. So far, the only way I could build the project is by building the Maven plugin module and then activate the multi-project build. Is there any possibility to define

[m2.2.1] BUILD ERROR -- Plugin could not be found

2009-10-02 Thread Adrian Herscu
Hi all, I have the following multi-project structure: root +my-maven-plugin +my-component My component requires my Maven plugin in order to build. Hence it declares: build ... plugins plugin groupIdorg.foo/groupId artifactIdmy-maven-plugin/artifactId

Re: [m2.2.1] BUILD ERROR -- (attached a test case)

2009-10-02 Thread Adrian Herscu
Test case attached in root.7z Adrian. Adrian Herscu wrote: Hi all, I have the following multi-project structure: root +my-maven-plugin +my-component My component requires my Maven plugin in order to build. Hence it declares: build ... plugins plugin groupIdorg.foo

[m2] yet another cyclic dependency issue

2009-10-01 Thread Adrian Herscu
Hi all, (I already read all post regarding cyclic dependencies) My project has two modules: 1) generator -- depends on the samples for testing 2) sample -- depends on the generator for building I used to unpack the samples artifact into the target directory of the generator before running

Re: [m2] yet another cyclic dependency issue

2009-10-01 Thread Adrian Herscu
Thanks. Stephen Connolly wrote: create a generator-test module for testing the generator 2009/10/1 Adrian Herscu adrian.her...@gmail.com Hi all, (I already read all post regarding cyclic dependencies) My project has two modules: 1) generator -- depends on the samples for testing 2) sample

Re: mvn deploy -- CHECKSUM FAILED

2009-08-25 Thread Adrian Herscu
deleting the contents of specified artifact from the repository . Some metadata xml file must have got corrupted . Thanks, Saritha On Sun, Aug 23, 2009 at 10:02 PM, Adrian Herscu adrian.her...@gmail.comwrote: Hi all, I am using Maven 2.2.1 on Sun JDK 1.6.0_16. When I am running mvn deploy I am

mvn deploy -- CHECKSUM FAILED

2009-08-23 Thread Adrian Herscu
Hi all, I am using Maven 2.2.1 on Sun JDK 1.6.0_16. When I am running mvn deploy I am getting this output: Z:\sandboxmvn deploy -N [INFO] Scanning for projects... [INFO] [INFO] Building wireXN Sandbox [INFO]

[m2] deploying a multi-module project fails because of communication errors

2008-11-03 Thread Adrian Herscu
Hi all, I have a multi-module project project which is built nightly by Continuum with the deploy goal. Most of the time the build fails because of communication errors, such as: [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from [EMAIL

[m2] mvn install fails because of connection errors

2008-11-03 Thread Adrian Herscu
Hi all, During mvn install builds, there is a frequent connection error: Provider message: The svn command failed. Command output: --- svn: PROPFIND request failed on '/system-serialization/trunk' svn: PROPFIND of

[2.0.9] connection timed out

2008-10-14 Thread Adrian Herscu
Hi all, I have a Continuum nightly schedule that runs a mvn deploy. Sometimes the connection to the remote repository times out and I am getting an error such: [INFO] [deploy:deploy] altDeploymentRepository = null [INFO] Retrieving previous build number from [EMAIL PROTECTED] Uploading:

Re: [m2] archetype repository requires authentication

2008-09-21 Thread Adrian Herscu
the settings.xml file to query for additional repositories... Adrian. Dave Newton wrote: --- On Sat, 9/20/08, Adrian Herscu wrote: I have written an archetype and deployed to my remote repository. The repository requires authentication. The problem is when somebody runs mvn archetype:generate

[m2] archetype repository requires authentication

2008-09-20 Thread Adrian Herscu
Hi all, I have written an archetype and deployed to my remote repository. The repository requires authentication. The problem is when somebody runs mvn archetype:generate ... -DarchetypeRepository=http://my.repo he gets a 401 from the server and generation fails of course. Is there any

[m2] is it possible to package a newly archetype-generated project?

2008-09-17 Thread Adrian Herscu
Hi all, I am integrating some code generator into Maven. Currently, I have a project archetype and a plugin that wraps the generator. In the current arrangement creating a project is a three steps process: 1. mvn archetype:generate parameters 2. cd project-dir 3. mvn package/install/whatever I

Re: [m2] is it possible to package a newly archetype-generated project?

2008-09-17 Thread Adrian Herscu
Done. http://jira.codehaus.org/browse/ARCHETYPE-205 Raphaël Piéroni wrote: Hi Adrian, This is not currently implemented. Please fill a jira enhancement http://jira.codehaus.org/browse/ARCHETYPE Raphaël 2008/9/17 Adrian Herscu [EMAIL PROTECTED]: Hi all, I am integrating some code generator

Re: [m2] how to change the defaults of a lifecycle-bound plugin

2008-08-14 Thread Adrian Herscu
Anyone can help with this? Adrian. Adrian Herscu wrote: Hi all, In my build lifecycle (components.xml) I am using the maven-dependency-plugin. Here is a snippet: component-set components component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintblah

[m2] how to change the defaults of a lifecycle-bound plugin

2008-06-11 Thread Adrian Herscu
Hi all, In my build lifecycle (components.xml) I am using the maven-dependency-plugin. Here is a snippet: component-set components component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintblah/role-hint

[m2] the maven-release-plugin alters the eol style of cdata sections

2008-05-22 Thread Adrian Herscu
Hi all, Spent an hour or so to discover why subversion fails to commit the pom.xml during a release:prepare... If the pom.xml file contains CDATA sections (as required by few plugins, such as the maven-eclipse-plugin), then the end of line sequence of these lines is changed to LF. The only

Re: [m2] the maven-release-plugin alters the eol style of cdata sections

2008-05-22 Thread Adrian Herscu
was to comment out the CDATA section :( Any suggestions? Adrian Herscu wrote: Hi all, Spent an hour or so to discover why subversion fails to commit the pom.xml during a release:prepare... If the pom.xml file contains CDATA sections (as required by few plugins, such as the maven-eclipse-plugin

[m2] how to set log4j system properties for the axis2 maven plugin

2008-04-02 Thread Adrian Herscu
Hi all, I know that questions regarding setting log4j and system properties were asked many times, however I could not find anything that works for me. I am trying to make the axis2 plugin run during my build, and I am getting this error: [INFO] [axis2-wsdl2code:wsdl2code {execution: default}]

Re: [m2] compiling a generic method with maven fails

2008-03-08 Thread Adrian Herscu
VUB Stefan Seidel wrote: Now, I discovered that under Maven 2 with the following maven-compiler-plugin configuration: configuration source1.6/source target1.6/target /configuration Add forktrue/fork Stefan Why should that work? Adrian.

[m2] compiling a generic method with maven fails

2008-03-05 Thread Adrian Herscu
Hi all, I have this generic method which compiles fine under Eclipse 3.3: public abstract class AbstractApplicationM extends AbstractModel, V extends AbstractView, C extends AbstractControl { ... private V getViewFor(final Class? extends V viewClass) { class InternalRunnable

Re: [m2] compiling a generic method with maven fails

2008-03-05 Thread Adrian Herscu
, and that solved the problem with Maven. Knew that these generics are more trouble than worth! Is there some switch in Eclipse to make it compile with javac? Wayne Fay wrote: Can you try compiling with the Sun JDK 1.6 directly eg javac ...? Wayne On 3/5/08, Adrian Herscu [EMAIL PROTECTED] wrote

Re: [m2] compiling a generic method with maven fails

2008-03-05 Thread Adrian Herscu
and ANT build file. Adrian Herscu wrote: I thought about this... Problem is, that there are more than ten dependencies and the sources are stored into three different directories... Configuring javac for this, seems like a nightmare! I have changed the return type of the method from V

Re: [m2] Jetty 6 Plugin does not recognize custom webapp source directory

2008-03-03 Thread Adrian Herscu
Hi, What if I have an additional webapp source folder, like: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources resource directorysrc-gen/main/webapp/directory

Re: Javascript support

2008-02-27 Thread Adrian Herscu
scripts and place them in the packaging folder used by the war plugin to create the exploded war, before archivaing a .war. Nico 2008/2/26, Adrian Herscu [EMAIL PROTECTED]: Harlan, thanks for your fast reply. It works! However, I am not sure what the goalwar-package/goal does (as in the example here

Re: Javascript support

2008-02-26 Thread Adrian Herscu
-maven-tools/ You'll need to check out the top level, as the plugin depends on other modules. Good luck. Harlan On Mon, Feb 25, 2008 at 12:40 PM, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, In which repository is this plugin hosted? I am getting: Missing: -- 1

Re: Javascript support

2008-02-25 Thread Adrian Herscu
Hi all, In which repository is this plugin hosted? I am getting: Missing: -- 1) org.codehaus.mojo.javascript:javascript-maven-plugin:jar:1.0-alpha-1-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn

[m2] how to download a single file

2008-02-05 Thread Adrian Herscu
Hi all, I am trying to set up a build for an Axis2-based WebService client. The axis2-wsdl2code-maven-plugin works only for local WSDL files, so the next thing I want to do is to configure Maven to download the remote WSDL file before executing the wsdl2code goal. Is there any Maven plugin I

[m2] how to set log4j system properties for the axis2 maven plugin

2008-02-04 Thread Adrian Herscu
Hi all, I know that questions regarding setting log4j and system properties were asked many times, however I could not find anything that works for me. I am trying to make the axis2 plugin run during my build, and I am getting this error: [INFO] [axis2-wsdl2code:wsdl2code {execution:

[m2] how to make my custom packaging recognized by the eclipse plugin?

2007-10-25 Thread Adrian Herscu
Hi all, I am using Maven 2 to build projects based on my own framework. Because the framework requires different tools and dependency resolving mechanism, I had to create a dedicated lifecycle. Now I am thinking about some way to integrate the build of my framework with the build of a

[m2] is it possible to clean the target site deployment directory?

2007-10-23 Thread Adrian Herscu
Hi all, During the deployment of a Maven generated site the old site is still in place. Is it possible to configure Maven to delete the old site before the deployment of the new one? Adrian. - To unsubscribe, e-mail:

Re: Replacement for Ant's FixCRLF

2007-10-17 Thread Adrian Herscu
Have you found some example? Trevor Torrez wrote: As noted at the end of the antrun plugins' usage page (http://maven.apache.org/plugins/maven-antrun-plugin/usage.html) the resources plugin can be used in lieu of Ant's FixCRLF task. Any example on how to do this when the build takes place on a

Re: [m2] SSL certificate name does not match

2007-10-16 Thread Adrian Herscu
Perhaps sometime, someone will want to add a switch that turns off host name verification. This seems to be supported in the HttpClient 4.0 API. Any comments? Adrian Herscu wrote: Hi David, Thanks for your reply. I checked that blog; however the solution described there seems to belong

Re: [m2] SSL certificate name does not match

2007-10-13 Thread Adrian Herscu
replied. = ) Here's the link http://blogs.sun.com/andreas/entry/no_more_unable_to_find On 10/11/07, Adrian Herscu [EMAIL PROTECTED] wrote: Yeah... Where is the link :-)? I tried to play with the keytool program. I have imported the SSL certificate into my key store; this creates a file named

Re: [m2] SSL certificate name does not match

2007-10-11 Thread Adrian Herscu
the generated file in your JDK or JRE. Then the java keeps it as an accept cert. I have not tried this with Maven but it worked with another application where the cert didn't match the server name. Down side is that it would have to be on every user's machine. Thanks, David On 10/10/07, Adrian

[m2] SSL certificate name does not match

2007-10-10 Thread Adrian Herscu
Hi all, I am hosting my project sources and binaries with some external provider. He cannot set up an SSL certificate for my domain name... Meanwhile, the only alternative is accept those SSL warnings about domain name mismatch. I am getting them in my browser and also in my SVN client. Now I

[m2] anyone tried to run Eclipse plugin test with pde:test?

2007-06-13 Thread Adrian Herscu
Hi all, I have my tests in a src/test/java folder and launching them from the IDE works just fine. Tried to run them using maven install and the compiler cannot find the application classes (from src/main/java) :-( Tried to move the test classes into src/main/java just to make them

Re: [m2] anyone tried to run Eclipse plugin test with pde:test?

2007-06-13 Thread Adrian Herscu
: is this related to pde-maven-plugin? -D On 6/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, I have my tests in a src/test/java folder and launching them from the IDE works just fine. Tried to run them using maven install and the compiler cannot find the application classes (from src/main/java

Re: maven-eclipse-plugin and PDE: do dependencies work?

2007-06-11 Thread Adrian Herscu
Hi, I have a similar problem... Added a dependency to my PDE project run mvn eclipse:clean eclipse:eclipse and only the .project file is generated (without those linkedResources!). The .classpath file is not generated at all!!! Moreover, running mvn install on the project fails because the

Re: maven-eclipse-plugin and PDE: do dependencies work?

2007-06-11 Thread Adrian Herscu
to the compile classpath. Any suggestions? Thanks, Adrian. Graham Leggett wrote: On Mon, June 11, 2007 5:45 pm, Adrian Herscu wrote: I have a similar problem... Added a dependency to my PDE project run mvn eclipse:clean eclipse:eclipse and only the .project file is generated (without those

[m2] cyclic dependency created by build plugin?!

2007-06-10 Thread Adrian Herscu
Hi all, I have four projects: 0) root -- contains lang, lang-comp and maven-lang-plugin 1) lang -- contains a sample project written in the language lang depends on nothing but requires maven-lang-plugin to build 2) lang-comp -- contains a lang compiler depends on lang for

Re: [m2] pde-maven-plugin fails during release

2007-06-05 Thread Adrian Herscu
dependent :-( -- workingDirectory${basedir}/../${groupId}-checkout/workingDirectory /configuration /plugin /plugins /pluginManagement Adrian. Adrian Herscu wrote: I am aware about there are some badly coded Java programs that cannot deal with spaces in Windoze paths

[m2] pde-maven-plugin fails during release

2007-06-04 Thread Adrian Herscu
Hi all, I am trying to release my Eclipse plugins and I am getting lots of The import some.eclipse.package cannot be resolved compilation errors during the release:perform goal. I have tried to run mvn package on the target/checkout directory and I am getting the same errors... It seems

Re: [m2] pde-maven-plugin fails during release

2007-06-04 Thread Adrian Herscu
structure look like? -D On 6/4/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, I am trying to release my Eclipse plugins and I am getting lots of The import some.eclipse.package cannot be resolved compilation errors during the release:perform goal. I have tried to run mvn package on the target

Re: [m2] pde-maven-plugin fails during release

2007-06-04 Thread Adrian Herscu
/project Dan Tran wrote: how many features you do you have? could you post the pom on for the feature? I see you are using Program Files on your path , this make me nervous, even thou it should work :-) -D On 6/4/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi Dan, and thanks for the fast

[m2] archetype resources generated in wrong directory

2007-05-28 Thread Adrian Herscu
Hi all, I am trying to write an archetype for my project and discovered that the resources are always copied into the src/main/resources/ generated directory instead of being copied into the src/main/resource/my/groupid/ (in parallel with the sources src/main/mylang/my/groupid/). I have

Re: [m2] archetype resources generated in wrong directory

2007-05-28 Thread Adrian Herscu
but not anymore. The only solution I found is to use the archetypeng code at mojo.codehaus.org that will eventually replace the current archetype codebase anyway (I hope so at least) Milos Kleint On 5/28/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, I am trying to write an archetype for my

[m2] looking for link checker

2007-05-28 Thread Adrian Herscu
Hi all, As part of my M2 projects I am maintaining their documentation in HTML format. I am looking for a M2 (or ANT) plugin that checks HTML links given a root directory. Anyone knows about such a thing? TIA, Adrian. P.S. I have googled about and found nothing except the Maven (1.x)

[m2.0.6] seems like a classloader issue...

2007-05-15 Thread Adrian Herscu
Hi all, In a multi-project P, child #1 (cP1) runs before child #2 (cP2). In cP1 the build uses the maven-antrun-plugin:1.1 and in cP2 the build uses maven-antrun-plugin:1.1-INTERNAL (which patches version of 1.1 in order to use ant-1.7.0 instead of ant-1.6.5). When running mvn install on P,

Re: [m2.0.6] seems like a classloader issue...

2007-05-15 Thread Adrian Herscu
Very sad... Plexus... Forehead... Bunches of classloaders... and still it cannot use different versions of plugins... Max Bowsher wrote: Adrian Herscu wrote: Hi all, In a multi-project P, child #1 (cP1) runs before child #2 (cP2). In cP1 the build uses the maven-antrun-plugin:1.1 and in cP2

Re: [m2] how to call a mojo from other mojo

2007-05-14 Thread Adrian Herscu
the other mojo directly; 2) do some trick in the plexus components.xml descriptor, or somewhere else, to pass the other mojo the right parameters. Please help, Adrian. Wendy Smoak wrote: On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: How is this related to my problem? You'll probably

[m2] Configuring mojo parameters

2007-05-13 Thread Adrian Herscu
Hi all, I am building a M2 plugin to handle my special artifacts. For this purpose I have defined a custom lifecycle and bound my mojos and additional mojos to it. One of the additional mojos is the maven-dependencies-plugin:unpack-dependencies. This mojo has an outputDirectory parameter

[m2] how to call a mojo from other mojo

2007-05-13 Thread Adrian Herscu
Hi all, After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [m2] how to call a mojo from other mojo

2007-05-13 Thread Adrian Herscu
How is this related to my problem? Jochen Wiedmann wrote: On 5/13/07, Adrian Herscu [EMAIL PROTECTED] wrote: After digging an hour in the documentation and sources I have no example of calling other mojos from an ANT-based mojo. Is it possible? How? I have recently developed a subclass

Re: [m2] adding classpathentry with maven-eclipse-plugin

2007-04-27 Thread Adrian Herscu
the project in Eclipse -- the resource will *not* be found In order to run/test/debug the project in Eclipse, you will have to manually add that resource folder to the .classpath descriptor file. The maven-eclipse-plugin could automatically add that resource folder as a classpathentry. Adrian. Adrian

Re: [m2] cobertura-maven-plugin specify: '-Dinstrumentation=VALUE'

2007-04-24 Thread Adrian Herscu
reason you're using 2.0 instead of 2.1? Give it a try and see if it works any better. Also, perhaps try wrapping your ignore node(s) inside an ignores node: ignores ignore.../ignore /ignores Wayne On 4/22/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, I am using the cobertura-maven-plugin

[m2] [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation.

2007-04-23 Thread Adrian Herscu
Hi all, Using Maven 2.0.6 and the exec-maven-plugin 1.1-beta-1, the following messages appear during the java goal execution: [INFO] Preparing exec:java [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO]

Re: [m2] adding classpathentry with maven-eclipse-plugin

2007-04-23 Thread Adrian Herscu
Solved by adding that classpath using the build-helper-maven-plugin. Thorsten Heit wrote: Hi Adrian, Is there some way to add a classpathentry such as classpathentry kind=src path=target/generated-sources/antlr/ to the .classpath file? It seems that the plugin knows only about classpath

[m2] maven-antlr-plugin searches for generated files in the source directory

2007-04-23 Thread Adrian Herscu
Hi all, Using Maven 2.0.6 and maven-antlr-plugin 2.0-beta-2-SNAPSHOT configured as follows: configuration sourceDirectory${basedir}/src/main/antlr/com/acme/lang/compiler/sourceDirectory !-- NOTE: I had to make the output go to source otherwise the build fails --

Re: [m2] [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation.

2007-04-23 Thread Adrian Herscu
On 4/23/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, Using Maven 2.0.6 and the exec-maven-plugin 1.1-beta-1, the following messages appear during the java goal execution: [INFO] Preparing exec:java [WARNING] Removing: java from forked lifecycle, to prevent recursive invocation. [INFO

[m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Adrian Herscu
Hi all, I am using the exec-maven-plugin to run some Java program. The java goal is bound to the process-test-resource build phase. The exec-maven-plugin:java runs at the designated phase but no other thing runs afterwards -- the build finishes with this message: BUILD SUCCESSFUL Total time:

[m2] repo connection timeout too high

2007-04-22 Thread Adrian Herscu
Hi all, Is it possible to reduce the repository connection timeout? Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] cobertura-maven-plugin specify: '-Dinstrumentation=VALUE'

2007-04-22 Thread Adrian Herscu
Hi all, I am using the cobertura-maven-plugin 2.0 and I want to make it ignore the classes in some package, so I am specifying: configuration instrumentation ignoreorg.foo.*/ignore /instrumentation /configuration This causes the build to fail

Re: [m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Adrian Herscu
Adrian Herscu wrote: Hi all, I am using the exec-maven-plugin to run some Java program. The java goal is bound to the process-test-resource build phase. The exec-maven-plugin:java runs at the designated phase but no other thing runs afterwards -- the build finishes with this message: BUILD

Re: [m2] exec-maven-plugin java goal stops the build lifecycle

2007-04-22 Thread Adrian Herscu
OK -- I am posting the issue on the [EMAIL PROTECTED] list. Adrian. Jerome Lacoste wrote: On 4/22/07, Adrian Herscu [EMAIL PROTECTED] wrote: Hi Steven, I am invoking Maven as usual: mvn clean install If I am removing the exec-maven-plugin then the build lifecycle completes as expected

[m2] adding classpathentry with maven-eclipse-plugin

2007-04-18 Thread Adrian Herscu
Hi all, Is there some way to add a classpathentry such as classpathentry kind=src path=target/generated-sources/antlr/ to the .classpath file? It seems that the plugin knows only about classpath containers :-( Adrian. -

[m2] exec-maven-plugin in a multiproject

2007-04-17 Thread Adrian Herscu
Hi all, I am using Maven 2.0.6 with the exec-maven-plugin 1.1-beta-1. My project has a structure similar to this: root +child1 +child2 In child2 I am using the java goal and in child1 I am using the exec goal. When I am building child2 alone everything works fine. When I am

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-17 Thread Adrian Herscu
/maven-antrun-plugin/ Adrian Herscu-2 wrote: Added localRepositoryC:\DOCUME~1\pm\M2639C~1\REPOSI~1/localRepository to the M2 install settings.xml. But, this may require changes in other machines as well :-( Phill Moran wrote: Surround them in quotes or use the dos short for. For instance

[m2] exec-maven-plugin fails because path containing spaces

2007-04-16 Thread Adrian Herscu
Hi all, I am trying to run Ant 1.7 from within Maven 2 using the exec-maven-plugin. plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution phaseprocess-test-resources/phase goals

Re: [m2] exec-maven-plugin fails because path containing spaces

2007-04-16 Thread Adrian Herscu
-Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: April 16, 2007 3:07 PM To: users@maven.apache.org Subject: [m2] exec-maven-plugin fails because path containing spaces Hi all, I am trying to run Ant 1.7 from within Maven 2 using the exec-maven-plugin

Re: [m2] is it possible to bind multiple mojos to a build phase?

2007-04-04 Thread Adrian Herscu
-plugin' role-hint in [1]. Cheers, Franz [1] http://svn.apache.org/repos/asf/maven/components/trunk/maven-core/src/main/resources/META-INF/plexus/components.xml Adrian Herscu-2 wrote: Hi all, I tried to bind several mojos to the same build phase component-set components component

[m2] is it possible to bind multiple mojos to a build phase?

2007-04-01 Thread Adrian Herscu
Hi all, I tried to bind several mojos to the same build phase component-set components component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintfoo/role-hint implementationorg.apache.maven.lifecycle.mapping.DefaultLifecycleMapping/implementation

Re: [m2][maven-dependency-plugin] unpack-dependencies issue

2007-03-28 Thread Adrian Herscu
, you should see it copying all dependencies of this project. You can then start narrowing it down. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: Tuesday, March 27, 2007 1:39 PM To: users@maven.apache.org Subject: Re: [m2][maven-dependency-plugin

Re: [m2] Release:perform fails becuase of checkstyle plugin

2007-03-27 Thread Adrian Herscu
This happens whenever the maven-checkstyle-plugin does not find the specified configuration file. Adrian. Ziv Ben-Eliahu wrote: Short description of the problem * When running mvn release:perform, Checkstyle report plugin fails on: [WARNING] Unable to load

[m2][maven-dependency-plugin] unpack-dependencies issue

2007-03-27 Thread Adrian Herscu
Hi all, When running the maven-dependency-plugin in a multi-project, it works only for the first child project. The following messages appear on the console: [INFO] [dependency:unpack-dependencies {execution: default}] [INFO] Expanding: C:\some.war into C:\target\somefiles It does not work

Re: [m2][maven-dependency-plugin] unpack-dependencies issue

2007-03-27 Thread Adrian Herscu
... /build Thanks for your fast reply, Adrian. Brian E. Fox wrote: Can you paste your config? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu Sent: Tuesday, March 27, 2007 8:14 AM To: users@maven.apache.org Subject: [m2][maven-dependency-plugin] unpack

[m2] incorrect dependency during test

2007-03-25 Thread Adrian Herscu
Hi all, I have a very interesting issue with M2 tests... The project structure looks like this: Parent-1.0-alpha-3-SNAPSHOT +A-1.0-alpha-3-SNAPSHOT +B-1.0-alpha-3-SNAPSHOT A-1.0-alpha-3-SNAPSHOT depends on B-1.0-alpha-2 (not on the SNAPSHOT!) B-1.0-alpha-3-SNAPSHOT has some

[m2] binding to the site phase

2007-02-27 Thread Adrian Herscu
Hi all, Is it possible to bind something to the site phase? In META-INF/plexus/components.xml I have tried: component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintfoo/role-hint

[m2] artifacts are not resolved when mirror is not available

2007-02-13 Thread Adrian Herscu
Hi all, I am trying to setup an internal Maven mirror for our company using Proximity. Proximity seems to work for the predefined repositories. I still having trouble with defining additional repositories (Proximity fails to start when those additional repositories are added...). Went

[m2] eclipse:make-artifacts does not exists?!

2006-12-25 Thread Adrian Herscu
Hi all, I am trying to use Eclipse jars in my M2 project. The mvn eclipse:make-artifacts (http://maven.apache.org/plugins/maven-eclipse-plugin/make-artifacts-mojo.html) returns: [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO]

Re: [m2] HOWTO release with a snapshot parent

2006-12-07 Thread Adrian Herscu
snapshot ( ie parent ) -D On 12/6/06, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, I am trying to release a module using the maven-release-plugin. The module has a parent which was not released yet (its siblings are not released also). When running release:prepare on that module Maven

[m2] HOWTO release with a snapshot parent

2006-12-06 Thread Adrian Herscu
Hi all, I am trying to release a module using the maven-release-plugin. The module has a parent which was not released yet (its siblings are not released also). When running release:prepare on that module Maven complains that its parent is a SNAPSHOT, so it cannot complete the release preparation

[m2] HOWTO release with a snapshot parent

2006-12-06 Thread Adrian Herscu
Hi all, I am trying to release a module using the maven-release-plugin. The module has a parent which was not released yet (its siblings are not released also). When running release:prepare on that module Maven complains that its parent is a SNAPSHOT, so it cannot complete the release preparation

svn: Caught signal

2006-10-23 Thread Adrian Herscu
Hi all, I am using Subversion 1.3.2 through Apache 2.0.55. Sometimes my Continuum builds fail with the following error message: Provider message: The svn command failed. Command output: --- svn: Caught signal

Re: can't remove project

2006-10-19 Thread Adrian Herscu
Hi all, Tried not to touch the keyboard/mouse at all during the add operation of some multi-module project, and the same thing happened again but with different project (now I have two projects duplicated instead of one -- the conclusion might be that it is better to do a refresh while adding

[m2] Packaging as directory

2006-09-23 Thread Adrian Herscu
Hi all, I have a project which contains only XML schema files. Other project files depend on these XML schemas for validation, i.e. there must be some fixed URL for the XML validator to find the appropriate XML schema for each one of the validating XML files (this URL is contained by the XML

Re: [m2] Packaging as directory

2006-09-23 Thread Adrian Herscu
, you can use schemaLocation. -- Olivier -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Adrian Herscu Envoyé : samedi 23 septembre 2006 13:54 À : users@maven.apache.org Objet : [m2] Packaging as directory Hi all, I have a project which contains only

General Build Question

2006-09-04 Thread Adrian Herscu
Hi all, I apologize if this is not the right place to ask these kind of questions but could not think about anything better. My scenario is as follows: - one hosted svn repo for daily work - one local svn repo as fallback, synchronized daily against the hosted repo The problem is with the

Re: [m2] problem w/ dependency-maven-plugin:unpack-dependencies

2006-06-08 Thread Adrian Herscu
] On Behalf Of Adrian Herscu Sent: Monday, March 20, 2006 6:24 PM To: users@maven.apache.org Subject: [m2] problem w/ dependency-maven-plugin:unpack-dependencies Hi all, I have a project with two war modules (app1, app2) that depend one on the other. I have defined a parent pom.xml (root

Re: [m2] problem w/ antcall in ANT-based mojo

2006-03-21 Thread Adrian Herscu
On 3/19/06, Adrian Herscu [EMAIL PROTECTED] wrote: Hi all, When using antcall in an ANT-based mojo the build fails with [ERROR] BUILD ERROR [INFO] - --- [INFO] Failed to execute: Executing Ant script: /my/plugin

[m2] problem w/ dependency-maven-plugin:unpack-dependencies

2006-03-20 Thread Adrian Herscu
Hi all, I have a project with two war modules (app1, app2) that depend one on the other. I have defined a parent pom.xml (root) in order to be able to build both project modules at once. In one of the war modules (app2) I am using the dependency-maven-plugin in order to merge the artifact

[m2] problem w/ antcall in ANT-based mojo

2006-03-19 Thread Adrian Herscu
Hi all, When using antcall in an ANT-based mojo the build fails with [ERROR] BUILD ERROR [INFO] - --- [INFO] Failed to execute: Executing Ant script: /my/plugin/path/mymojo.build.xml [my-target]: Failed to execute.

[m2] How to get the plugin's root path

2006-03-19 Thread Adrian Herscu
Hi all, I am writing an ANT-based plugin which needs to validate a set of XML files. I would like to have the schema files packaged inside the plugin JAR and wondered how to reference those files. Please help, Adrian. - To

[m2][ibiblio-upload-request] ant-testutil-1.6.5.jar

2006-03-09 Thread Adrian Herscu
Hi all, Can someone upload the ant-testutil.jar to IBiblio? This jar is not distributed as part of the ANT binary distribution. I have built it today from ANT 1.6.5 sources (and it works now from my local repository). Attached the ant-testutil-1.6.5.jar and its maven-metadata-local.xml as it

[m2] Does MINSTALL-12 fix MINSTALL-14 ?

2006-03-09 Thread Adrian Herscu
Hi all, It seems like http://jira.codehaus.org/browse/MINSTALL-12 fixes http://jira.codehaus.org/browse/MINSTALL-14 -- is it true? Is there an fixed version of the maven-install-plugin? Thanks, Adrian. - To unsubscribe,

  1   2   >