Re: What is the Best practice for generating variations of an artifacts?

2007-04-22 Thread franz see
:-) Cheers, Franz [1] http://maven.apache.org/plugins/maven-remote-resources-plugin/process-mojo.html#properties vmassol wrote: Hi Franz, On Apr 20, 2007, at 4:50 AM, franz see wrote: Good day, If the only thing different with the variations are the config files and some

Re: What is the Best practice for generating variations of an artifacts?

2007-04-19 Thread franz see
Good day, If the only thing different with the variations are the config files and some dependencies, then I suggest you use #2. With regards to the shared resources, you can do that now with the maven-remote-resources-plugin. So you now have something like... . |-- core `-- variations

Re: List for plugin developer?

2007-04-19 Thread franz see
Good day, Aside from what's already been mentioned, You can find out the developers of a particular maven project by visiting its project site. Then go to Project Information Project Team. For example, if you're interested with the developers of maven-clean-plugin, go to [1], then

RE: Specifying repository in the install goal

2007-04-17 Thread franz see
Good day, Btw, if the problem simply was you want to change the location of your local repository from ~/.m2/repository to /somwhere/else/path, you'd just have to specify that in your settings.xml ( either in ~/.m2/settings.xml or in $M2_HOME/conf/settings.xml ) to something like... settings

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

2007-04-17 Thread franz see
Good day, How about using the antrun plugin instead? ( see [1] ) Cheers, Franz [1] http://maven.apache.org/plugins/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

Re: Applet with maven 2

2007-04-17 Thread franz see
Good day, What archiva does with its applet is that in archiva-webapp, it declares archiva-applet as a dependency ( with scope set to provided ). Then it uses dependency-maven-plugin ( though you can now use maven-dependency-plugin since i think it's much more updated now ) to copy the applet to

Re: Core Module - Customer spcific Module. How to set up in Maven2?

2007-04-17 Thread franz see
Good day, You may want to use maven-remote-resources-plugin. You use the bundle goal on the project that contains those files to generate a manifest file ( META-INF/maven/remote-resources.xml ) which would contain the list of files in your jar that are extractable. Then you use the process goal

Re: Problem getting offline to work in settings.xml

2007-04-16 Thread franz see
Good day, I am not sure if that is by design or if it's a bug. But if it is a bug, I've just created an issue ( see [1] ) for that and submitted a patch for it. Cheers, Franz [1] http://jira.codehaus.org/browse/MNG-2949 eirik.lygre wrote: Hi, I'm having trouble getting offline to work

Re: how can i compile a multiple directories with pom.xml?

2007-04-13 Thread franz see
? Thanks. A. On 4/11/07, franz see [EMAIL PROTECTED] wrote: Good day, Try [1]. Cheers, Franz [1] http://mojo.codehaus.org/build-helper-maven-plugin/howto.html Wayne Fay wrote: Ideally you would just make multiple poms ie: toplevel/pom.xml (modules a, b, c) toplevel/a/pom.xml

Re: relativePath not working

2007-04-13 Thread franz see
, the groupId is all the same (as far as I can tell). Thanks for looking! Davis On 4/13/07, franz see [EMAIL PROTECTED] wrote: Good day, I got your email and I think I saw the bug ( see [1] ). As for a workaround, I can't think of anything right now. Cheers, Franz [1] http

Re: Excluding certain modules in a profile

2007-04-13 Thread franz see
Good day, Not really sure what's happening. But you may want to file a jira issue for that :-) Cheers, Franz takai wrote: Exactly. franz see wrote: Good day, Are you saying that you added plugin dependencies for your antrun, and your antrun cannot see it if it's in the profile

Re: Analyze dependency tree without compiling

2007-04-13 Thread franz see
Good day, Try project-info-reports:dependencies to generate the dependency report ( which you can only see from mvn site ). The generated report would be in target\site\dependencies.html Cheers, Franz Jerome Lacoste-2 wrote: On 4/13/07, Geoffrey De Smet [EMAIL PROTECTED] wrote: Hi all,

Re: Newbie: running mvn test problem with configuration files and current directory

2007-04-12 Thread franz see
Good day, In addition to Sudheendra's message, you'd for your test resources project ... build ... testResources testResource directorysrc/test/java/resources/directory /testResource /testResources /build /project Btw, the default resource directories for

Re: Problem when installing Maven 2.0

2007-04-12 Thread franz see
Good day, You can also try mvn resources:resources -X -cpu Note: -X sets the log to debug mode, and -cpu checks for plugin updates. Cheers, Franz Mick Knutson-4 wrote: try this first: mvn compile -e The issue is that you have NOT created your local repository (*/.m2/repository)

RE: Multiple artifacts

2007-04-12 Thread franz see
it does the resolution, the packaging comes as .zip and not .jar and then it doesn't gets added to the classpath. Is there any example where such a strategy is being used i.e. a zip file that has a jar file that then gets added to classpath? -Original Message- From: franz see

Re: How to generate manifest ClassPath entries for a web project?

2007-04-12 Thread franz see
Good day, If you have a war project and you want some of its dependencies not to be included in your WEB-INF/lib, add project ... dependencies ... dependency ... scopeprovided/scope /dependency /dependencies /project Cheers, Franz Johan Eltes-3 wrote:

Re: Multi-module not picking up modules

2007-04-12 Thread franz see
Good day, The modules/ tag actually refers to directories from the ${basedir}. Thus if you have project ... modules ... modulemodules/parent/module modulemodules/java2wsdl/module /modules /project Maven will try to find ${basedir}/modules/parent/pom.xml and

Re: Reuse plug-in code

2007-04-12 Thread franz see
Good day, I'd suggest you checkout the source code of maven-install-plugin [1], change its version to something like 2.2-goel. And then do your changes, and use that by specifying in your pluginManagement the version of maven-install-plugin to use ( this will also solve your problem of using

Re: [MAVEN][2.0.6] Add files to META-INF with JAR Plugin

2007-04-12 Thread franz see
Good day, Try project ... build resources resource directorysrc/main/resources/archive-files/directory targetPathMETA-INF/targetPath /resource /resources /build /project Wherein src/main/resources/archive-files contains the additional files you want

Re: Problem with snapshot libraries

2007-04-12 Thread franz see
Good day, Is this a regression? If so, you may want to bring this up in the maven dev list :) Cheers, Franz Orford, Ian-3 wrote: Hi, I've just noticed a change that must have been introduced in a recent maven update (in the last 2 days). When I assemble my deliverable project,

RE: Re: Problem when installing Maven 2.0

2007-04-12 Thread franz see
Hello, I tried both commands and I am still getting the same messages of Build Error Is there any other tips? Thanks Zoheir -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 10:05 AM To: [EMAIL PROTECTED] Subject: Spam:Re: Problem

Re: Maven site-plugin

2007-04-12 Thread franz see
Good day, No idea when 2.0-beta-6 would be release, but as of today, there are still 6 outstanding issues for 2.0-beta-6 ( seee [1] ). If you can't wait, you can check out its trunk code ( see [2] ). And change the version to something like 2.0-sudhoff and use that instead. [1]

Re: Multi-module not picking up modules

2007-04-12 Thread franz see
/axis2-java2wsdl/1.1/ there is no pom.xml! Only a axis2-java2wsdl-1.1.pom...but that file looks pretty close to a pom.xml...? Wow, I'm so confused. Please help! Thanks. franz see wrote: Good day, The modules/ tag actually refers to directories from the ${basedir}. Thus if you have

Re: Maven 2 ear plugin doesn't pick up resources

2007-04-12 Thread franz see
Good day, If you're saying you have something like target/artifactName-version/classes/ibm-application-bnd.xmi Then I guess your resources are configured as follows project ... build ... resources ... resource directorysrc/main/resources/META-INF//directory

Re: Excluding certain modules in a profile

2007-04-12 Thread franz see
Good day, Which project does not include its dependencies...the aggregating or the profile-added module? ..And which classpath? Cheers, Franz takai wrote: This seems to work. However i found that putting modules in the profile somehow breaks the dependency mechanism. I use the antrun

Re: relativePath not working

2007-04-12 Thread franz see
Good day, I just tried creating a simple project with inheritance and I cannot duplicate your problem. I ran mvn validate, mvn package, mvn compiler:compile and it builds just fine with my Maven 2.0.6, and Java 1.5.0_11, running under Windows XP. I've attached here that simple project, kindly

Re: Excluding certain modules in a profile

2007-04-12 Thread franz see
dependencies are not accessible to the ant build files (and therefore, i suppose, to the plugin). Cheers, Daniel franz see wrote: Good day, Which project does not include its dependencies...the aggregating or the profile-added module? ..And which classpath? Cheers, Franz takai wrote

Re: relativePath not working

2007-04-12 Thread franz see
Good day, I got your email and I think I saw the bug ( see [1] ). As for a workaround, I can't think of anything right now. Cheers, Franz [1] http://jira.codehaus.org/browse/MNG-2068 franz see wrote: Good day, I just tried creating a simple project with inheritance and I cannot

Re: q on mvn dependency plugin

2007-04-12 Thread franz see
Good, AFAIK, there's none. But please feel free to file a request in the jira for that :-) Cheers, Franz davis wrote: hi, i know that mvn depenendency:resolve depdendency:build-classpath will dump a classpath list of all transitive/non-transitive jars. i was wondering if there was some

Re: Using maven directly from a java application ?

2007-04-11 Thread franz see
: Unable to download the artifact from any repository org.apache.maven:maven:pom:2.1-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) On 4/10/07, franz see [EMAIL PROTECTED] wrote: Good day, Try [1]. Also you can check out

RE: Multiple artifacts

2007-04-11 Thread franz see
issue? -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 10, 2007 8:07 PM To: [EMAIL PROTECTED] Subject: Re: Multiple artifacts Good day, AFAIU, you have a single maven project that packages several binaries and adds them to the classpaths via

RE: Multiple artifacts

2007-04-11 Thread franz see
Pardon, [1] is http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin :) franz see wrote: Good day, After a quick browse through the eclipse plugin's code ( see [1] ), I'd suggest you do a getProject().getDependencies().addAll( your dependencies ). It seems

Re: how can i compile a multiple directories with pom.xml?

2007-04-11 Thread franz see
Good day, Try [1]. Cheers, Franz [1] http://mojo.codehaus.org/build-helper-maven-plugin/howto.html Wayne Fay wrote: Ideally you would just make multiple poms ie: toplevel/pom.xml (modules a, b, c) toplevel/a/pom.xml (no dependencies) toplevel/b/pom.xml (depends on a)

Re: How to specify where to copy particular files

2007-04-10 Thread franz see
Good day, In addition, there's a difference between resource directorysrc/main/resources//directory includes includefoo/bar.xml/include /includes /resource And resource directorysrc/main/resources/foo/directory includes includebar.xml/include /includes /resource The first

Re: Using maven directly from a java application ?

2007-04-10 Thread franz see
Good day, Try [1]. Also you can check out the the latest maven-embedder ( from [2] ) and take a look at its examples and tests. You may also want to run mvn site against [2] to get the latest version of the guide presented in [1]. Cheers, Franz [1]

Re: Maven and 3rd Party Libraries

2007-04-10 Thread franz see
Good day, Kindly take a look at [1]. You will see there the dependency tag and the scope and systemPath elements Eric mentioned. Cheers, Franz [1] http://maven.apache.org/ref/current/maven-model/maven.html Wayne Fay wrote: Yes. Search the list archives (at Nabble.com) for more

Re: Maven 2.x in quiet mode

2007-04-10 Thread franz see
Good day, Nope. You'd have to use at least maven 2.0.5 :) As to running 2.0.4 in quiet mode, I know no such way to do so :) Cheers, Franz uma_rk wrote: Was the -q option introduced post 2.0.4? $ mvn -version Maven version: 2.0.4 $ $ mvn -q Unable to parse command line options:

Re: Maven mojo Compilation failure

2007-04-10 Thread franz see
Good day, Try running mvn clean compile -X and showing us the logs starting from [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:some version:compile' up to the end. The first part of the logs would consists of the maven-compiler-plugin's configuration while the next

Re: overriding version of dependent library

2007-04-10 Thread franz see
Good day, In addition, you can simply specify jta 1.1 as a direct dependency of your maven project ( without excluding jta from your hibernate dependnecy) and maven won't bother looking for other versions of jta :) Cheers, Franz oching wrote: You could try exclusions in your hiberrnate

Re: Multiple artifacts

2007-04-10 Thread franz see
Good day, AFAIU, you have a single maven project that packages several binaries and adds them to the classpaths via a plugin that you've created. But the binary that you add via your plugin gets overriden by the binary added via maven's transitive dependencyDid I get that right? Curious,

Re: Packing up configurations for various servers

2007-04-10 Thread franz see
Good day, Create a maven project for your configurations. Then use remote-resources:bundle on it. And on the maven projects that need those configurations file, use remote-resources:process ( with reference to your configuration maven project ) to retrieve those resources. See [1] for more

Re: Property

2007-04-05 Thread franz see
Good day to you, Christian, You cannot do that AFAIK. However, you can do something like this. project ... dependencies dependency ... version${some.var}/version /dependency /dependencies properties some.varput version here/some.var /properties /project Then

Re: Maven : generate my own project structure

2007-04-05 Thread franz see
Good day, Furthermore, you can create that by running archetype:create several times in one module by placing the following in your archetype.xml archetype ... allowPartialtrue/allowPartial ... /archetype This will allow your archetype to be created on a directory that already contains a

Re: Maven : generate my own project structure

2007-04-05 Thread franz see
:) Cheers, Franz franz see wrote: Good day, Furthermore, you can create that by running archetype:create several times in one module by placing the following in your archetype.xml archetype ... allowPartialtrue/allowPartial ... /archetype This will allow your archetype

Re: Adding the same resource dir in a profile ends up twice in the effective pom

2007-04-05 Thread franz see
Good day to you, dir, If you do this ( your pom resources setup without the profiles ) project build resources resource directorysrc/main/resources/directory /resource /resources resources resource directorysrc/main/resources/directory

Re: Parent build clean issue

2007-04-05 Thread franz see
Good day to you, amorgovsky, No need for that. Usually, you delcare the maven-clean-plugin in your pom if you have something to clean that is outside your target directory. Other than that, you don't have to put it in :) Cheers, Franz amorgovsky wrote: Thank you, I will try this. Do you

Re: Local Repository

2007-04-05 Thread franz see
Good day to you, Petr, You may want to setup your own Archiva ( see [1] ). Cheers, Franz [1] http://maven.apache.org/archiva/ Great Man wrote: Greetings, We have some jar files that are not found from ibiblio repository such as Microsoft sqa jar etc. What we are thinking that we

Re: Problems installing 3rd party jar

2007-04-05 Thread franz see
Good day to you, Colin, You should be able to see that jar in your localRepository/relique/csvjdbc/1.0.0/csvjdbc-1.0.0.jar . If you can't, then your install-file probably failed. If you do, then I guess you have to recheck how you add reference to that with your eclipse. Btw, if the project

Re: ver number conflict in transitive dependency

2007-04-04 Thread franz see
Good day, There seems to be a typo in your message :) It seems to me you're saying that you have servlet-2.2.jar in WEB-INF/lib...I am not sure how that is possible ( one should have overwritten the other ). What are those two binaries you were referring to? Cheers, Franz thinkboy wrote:

Re: How to build multiple webapps that share resources

2007-04-04 Thread franz see
Good day, Aside from those that are already mentioned, you could do the following: 1. Package your 'resource' project into a war and use war-overlay ( see [1] ), or 2. Use maven remote-resources:bundle to create a 'resource' project ( which is a jar ), then use remote-resources:process to

Re: maven.dependency.classpath seems to be corrupt

2007-04-04 Thread franz see
Good day to you, Andreas, If you want to see the classpath, try using mvn dependency:build-classpath ( see the The dependency:build-classpath mojo of [1] ). Cheers, Franz [1] http://maven.apache.org/plugins/maven-dependency-plugin/usage.html Kanzlers, Andreas wrote: Hi, I tried to

RE: Maven archetype

2007-04-04 Thread franz see
in the archetype. ?? how can I do that .? In the archetype pom.xml I can put parameter like ${param} but in the archetype.xml can I do that ??? Thx in advance -Message d'origine- De : franz see [mailto:[EMAIL PROTECTED] Envoyé : mercredi 4 avril 2007 01:11 À : users

RE: Call Ant Tasks from Maven2

2007-04-04 Thread franz see
/goals /plugin The above works for mvn antrun:run and not for mvn install. I tried mentioning the execution phase as install but that didn't work either. Any thoughts? Sri -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 03, 2007 9:23 PM

Re: How to access a dependency path in the pom?

2007-04-04 Thread franz see
Good day to you, Neil , On top of my head, 1. Copy your tomcat-zip somewhere in your target ( probably using the maven-dependency-plugin ). 2. Set ${XXX} to the location where you copied tomcat-zip Cheers, Franz neilb wrote: Hello, I am starting to use Cargo for functional testing

Re: Compile fails during install, while running compile succeeds

2007-04-04 Thread franz see
Good day, My suggestion is to do a mvn clean first before compile or install ( to narrow down the problem )...i.e. mvn clean compile, mvn clean install. If doing both mvn clean compile and mvn clean install fails, then I guess it was working awhile ago due to some files produced by a previous

Re: Parent build clean issue

2007-04-04 Thread franz see
Good day to you, amorgovsky, The only thing I can think of right now is that something in your parent project ( a goal perhaps ) is accessing that class, hence the maven-clean-plugin could not delete it. Try doing a mvn clean:clean ( instead of a mvn clean ). If this works, then my guess

Re: How can i run the junit in Maven 2.0?

2007-04-04 Thread franz see
Good day to you, B., Maven goes through different build phases. One of them is test. In this test phase, the goal surefire:test is invoked ( See [1] for more info on lifecycles and phases). This will run your test cases ( which are your java files which has the following pattern: Test*.java,

Re: Unable to run it

2007-04-03 Thread franz see
Good day, ( I assume you're on windows ) Check your M2_HOME, what did you set it into ? ..Did you set it with D:\my\path\to\maven, or to D:\my\path\to\maven\ ? ..If you did the second one, remove the last \. Cheers, Franz Sagar Yerunkar wrote: Hello, I have installed apache maven on my

Re: Unable to run it

2007-04-03 Thread franz see
. Yerunkar franz see [EMAIL PROTECTED] 04/03/2007 12:55 PM Please respond to Maven Users List users@maven.apache.org To users@maven.apache.org cc Subject Re: Unable to run it Good day, ( I assume you're on windows ) Check your M2_HOME, what did you set

Re: Dependency problem

2007-04-03 Thread franz see
Good day to you, Raghu , Possible explanations to why that is happening: 1. hibernate-3.0 was already there when you ran your maven command ( do a mvn clean first to be sure ) 2. The binaries hibernate-3.0 and hibernate-3.0.5 does not have the same groupId and artifactId. 3. It was added there

Re: Is it possible to execute maven-jar-plugin in a different lifecycle phase than package phase?

2007-04-03 Thread franz see
Good day to you, Wei, You may want to bind your post-packaging tests in the integration-test phase. Cheers, Franz Zhou, Wei wrote: Hi, I need to build the jar file before my test code can be run. But Maven 2 only packages the jar file after the test code is run successfully. I

Re: Using containing project's classpath within mojo...

2007-04-03 Thread franz see
Good day to you, James, Not sure how you're instantiating those classes. Anyway, try adding those classes in your plugin's dependency ( see [1] ). And if you need the path to those binaries, see Getting dependency artifact path of [2]. Cheers, Franz [1]

Re: Ant Script from Maven

2007-04-03 Thread franz see
Good day to you, Petr, By default, the maven-clean-plugin is what maven uses to delete your files in target. To have it delete files other than your target, use fileset ( see [1] ). Cheers, Franz [1] http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html

Re: Attached artifacts

2007-04-03 Thread franz see
Good day to you, Paul, Feel free to file a jira issue about it :) ...And maybe even try and discuss this in the Maven Developer's List as well :) Cheers, Franz Paul Gier wrote: When working on a maven plugin, I noticed that two attached artifacts can have the same name and overwrite

Re: Maven archetype

2007-04-03 Thread franz see
Good day, Btw, you can't do this in your achetype ( AFAIK ) MyProject-Appli : -- src -- java -- com.omni.application -- ap1 -- manager -- services -- valueobject -- ap 2

Re: Call Ant Tasks from Maven2

2007-04-03 Thread franz see
Good day, ...Or follow Nap's advice in [1] ( paragraph 1 ), by placing your antrun's configuration section directly under plugin instead of under excecution :) In that way, all antrun executions of your maven project ( i.e mvn install, mvn antrun:run ) will have that configuration. Cheers,

Re: Parent build clean issue

2007-04-03 Thread franz see
Good day to you, amorgovsky, Did you do any configuration to your maven-clean-plugin? And may I ask for the build output ( from mvn clean -X ) ? Thanks, Franz amorgovsky wrote: Hello. My parent POM defines several child modules. When I call mvn clean on the parent POM, I receive a

Re: Getting the full path of a dependency in a POM

2007-04-02 Thread franz see
Good day to you, David, On top of my head, copy the dependency ( using maven-dependency-plugin ) somewhere in your target directory and add that path to your argLine. Cheers, Franz David Jackman wrote: For a particular project I have, I need to add a parameter to the JVM when running the

Re: Conditional code generation

2007-04-02 Thread franz see
Good day to you, Steffan, Yes, that would do just fine. You can have something like ... profile idadd-examples-that-compile-only-if-eclipse-is-installed/id activation property nameeclipse.dir/name /property /activation modules

Re: FML and stripped XML entities?

2007-04-02 Thread franz see
Good day to you, Manos, Try using ![CDATA[...]]. Cheers, Franz Manos Batsis wrote: Hello, Just created a FAQ for my project that includes XML snippets using entities like amp; and lt;. The less-than and greater-than (lt;, gt;) entities are stripped from the result HTML document,

Re: Trying to install sources for 3rd party library...

2007-04-02 Thread franz see
Good day, Doing mvn org.apache.maven.plugins:maven-install-plugin:2.2-SNAPSHOT:install-file should work ( just tried it myself ). And I've checked [1] and it works. Cheers, Franz [1]

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

2007-04-02 Thread franz see
Good day to you, Adrian, Trying doing this instead ... compile org.foo:foo-maven:compile, org.foo:foo-maven:validate-xml, org.foo:foo-maven:validate /compile ... For examples, see the package and install phases of the 'maven-plugin' role-hint in [1]. Cheers, Franz [1]

Re: [m2] multi project interdependencies

2007-03-06 Thread franz see
. So, I would think a best practice here would be to perform a mvn clean install at the top level pom(where the modules are listed in my single level module list) every time a dependency module is rebuilt. Do you agree? franz see wrote: Good day to you, M, The steps I mentioned in my

Re: [m2] multi project interdependencies

2007-03-05 Thread franz see
scope using the standard conventions(artifactId, groupId, etc.) and set up to use a snapshot. franz see wrote: Good day to you, M, Actually, it's subproject A - compile subproject A - test subproject A - jar subproject A - install subproject A - deploy subproject B

Re: [m2] Can anyone explain this code

2007-02-19 Thread franz see
${plugin.artifactMap} Thanks for the link. It's strange that ${plugin} is not mentioned there. Maybe nobody needs it anymore, while the code that handles plugin does exist since the very beginning of maven2. Best regards -Jiaqi franz see wrote: Good day to you, Jiaqi, Ah..yes. I also

Re: [m2] Can anyone explain this code

2007-02-19 Thread franz see
'.'. But I'm more confused by the substring part of what .indexOf(/) is for. And still, in my Mojo, the parameter with expression ${plugin} is causing PluginParameterException which indicates the value of it is null. Regards -Jiaqi franz see wrote: Good day to you, Jiaqi, Why do you say

Re: [m2] Mavan2 simple program not working.

2007-02-15 Thread franz see
Good day to you, Raj, Aside from the maven.xml that's already been mentionedtry running with -cpu to check for plugin updates (i.e. mvn clean install -cpu ). Cheers, Franz Rajmahendra wrote: hi all i am using JDK 1.5 and Maven 2.0.4 I have written a simple program but its not

Re: [m2] Excluding attribute for eclipse maven 2 plugin

2007-02-15 Thread franz see
Good day to you, Wilko, I don't think that's supported. You may want to file a jira issue for that in [1]. Cheers, Franz [1] http://jira.codehaus.org/browse/MECLIPSE Wilko.kempa wrote: Hi we are using the maven 2 eclipse plugin with eclipse:eclipse to create our eclipse project files.

Re: [m2] Can anyone explain this code

2007-02-14 Thread franz see
${plugin} is causing PluginParameterException which indicates the value of it is null. Regards -Jiaqi franz see wrote: Good day to you, Jiaqi, Why do you say that it will be evaluted to null? Cheers, Franz Jiaqi Guo wrote: Hi there, I'm trying to find out the build-in variables

Re: [m2] Maven from command-line only?

2007-02-14 Thread franz see
Good day, Personally, I still use maven in the command line, and Eclipse as an editor. What I do is that 1. I go to the directory of my maven project 2. Do mvn eclipse:clean eclipse:eclipse ( eclipse:clean is to make sure I start with a clean slate ) 3. Then create the eclipse project from an

Re: [m2] maven native

2007-02-14 Thread franz see
Good day to you, Laurent, If you're referring the eclipse plugin for maven, then I'm guessing yes. AFAIK, the only difference between the commandline maven and the IDE plugin maven is their entry point - the former uses maven-cli, the other, the ide specific component. But nonetheless, both

Re: [m2] Dependency Version Ranges. Please help!

2007-02-14 Thread franz see
Good day to you, Bernd, I don't seem to be getting that behaviour. How were you able to find out that the version it retrieved was 0.7 ? Also, what maven and java version are you using? Cheers, Franz Mau, Bernd wrote: Hello, on Tuesday, February 06 I posted the subject 'Dependency

Re: [m2] handling of optional 3rd-party-dependencies in tests

2007-02-14 Thread franz see
Good day to you, martin, I'm guessing that happened while maven was building module B. AFAIK, that's just a reminder that that jar is using the scope test only. I don't think it's anything to worry about ( not unless you did not specify that jar to be of scope test ). Cheers, Franz matinh

Re: [m2] Configuring a parameter

2007-02-14 Thread franz see
Good day to you, Jochen, Get the container by following the Accessing the Plexus Container section of [1]. Then do the look up. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Jochen Wiedmann wrote: Hi, I have a Mojo, where I would like to only

RE: Integration-test target runs integration tests twice...

2007-02-14 Thread franz see
. I'll attach the logs shortly... -Original Message- From: franz see [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 9:51 PM To: users@maven.apache.org Subject: Re: [m2] Integration-test target runs integration tests twice... Good day to you, EJ, What happens

Re: [m2] Maven from command-line only?

2007-02-14 Thread franz see
be nice as I'm just learning this... franz see wrote: Good day, Personally, I still use maven in the command line, and Eclipse as an editor. What I do is that 1. I go to the directory of my maven project 2. Do mvn eclipse:clean eclipse:eclipse ( eclipse:clean is to make sure I

Re: [m2] Configuring a parameter

2007-02-14 Thread franz see
us :) Thanks, Franz Jochen Wiedmann wrote: Hi, Franz, On 2/14/07, franz see [EMAIL PROTECTED] wrote: Get the container by following the Accessing the Plexus Container section of [1]. Then do the look up. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer

Re: [m2] Maven 2 can't find plugins

2007-02-14 Thread franz see
'org.codehaus.mojo:xfire-maven-plugin' does not exist or no valid version could be found* franz see wrote: Good day to you, Rod, The xfire-maven-plugin is in codehaus mojo-sandbox. So you either checkout the source and build it, or use the snapshot version deployed pluginRepository

Re: [m2] Running Macker with Maven 2

2007-02-14 Thread franz see
Good day to you, Rune, Nice info :) ..though I haven't tried this myself, I thought I'd create a wiki page for this :) I am not sure though where to put this so I simply placed it in see [1]. Thanks, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Running+Macker+with+Maven+2 Rune

Re: [m2] how to run a program build with maven

2007-02-13 Thread franz see
Good day, And as for finding the artifacts that you need, you may want to use Archiva. Cheers, Franz pkimber wrote: Hi Ute You can use the Maven 2 Exec plugin... http://mojo.codehaus.org/exec-maven-plugin/ Although there is a bug which will prevent you passing parameters to the

Re: [m2] How to deploy a war which is not includes directory WEB-INF/lib?

2007-02-13 Thread franz see
Good day, Try something like mvn -cpu install ( -cpu will check for plugin updates ). Cheers, Franz jiangshachina wrote: Hi, I think you can make a simply project to test the plugin. And run mvn compile. The following scripts can be used, project modelVersion4.0.0/modelVersion

Re: [m2] Dependency management by license (type)

2007-02-13 Thread franz see
Good day, There's none that I know of. Cheers, Franz Trevor Torrez wrote: Is there a way, or are there some features in planning, to manage dependencies based on the license? What I would like is a report of licenses used by all dependencies (transitives included) and perhaps a means

Re: [m2] profiles / text substitution

2007-02-13 Thread franz see
Good day to you, los, Do something like this project ... build resources resource directorysrc/main/config/directory includes includehibernate.cfg.xml/include /includes filteringtrue/filtering /resource /resources /build

Re: [m2] Can I get MavenProject instance of plugin itself within a Mojo?

2007-02-13 Thread franz see
Good day to you, Jiaqi, See the http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook; section in [1]. Cheers, Franz [1] http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook Jiaqi Guo wrote: I need some of the maven2 plugin's dependencies during execute() method

Re: [m2] Error getting POM - Failed to resolve artifact

2007-02-13 Thread franz see
Good day, Try adding [1] ( or your proxy to it ) to your pluginRepository ( not just in your repostiroy ) in your settings.xml or in the poms using the snapshot plugins. From your stack trace, it seems to me that [2] is the only pluginRepository known to your builds. Cheers, Franz [1]

Re: [m2] Can anyone explain this code

2007-02-13 Thread franz see
Good day to you, Jiaqi, Why do you say that it will be evaluted to null? Cheers, Franz Jiaqi Guo wrote: Hi there, I'm trying to find out the build-in variables for a maven2 plugin and found the following code in

Re: [m2] Access dependency properties inside pom.

2007-02-13 Thread franz see
is the best way to do it, but I need to try something to solve my problem. How I must do it? What is the right way? Thanks... On 2/13/07, franz see [EMAIL PROTECTED] wrote: Good day to you, Marcos, I do not know if this is the best way to to do it, but you may want to take a look

Re: [m2] maven embedder

2007-02-13 Thread franz see
MavenEmbedder.readModel() declaring throws XmlPullParserException D. On 2/12/07, franz see [EMAIL PROTECTED] wrote: Good day, Odd. I just tried it and it works fine with me. Also, I have just checked the source code of MavenEmbedder() and it does not use XmlPullParserException, so I am not sure

RE: Deploy to repository | Windows network file url

2007-02-13 Thread franz see
Good day, You may want to try first with file:, then file:/, then file://, till you get to file:/ :) Not really sure what the problem is, but I've experienced that before as well. Cheers, Franz Kevan Dunsmore wrote: Brian, This works for me: file:host/share/path Kevan.

Re: [m2] Maven 2 can't find plugins

2007-02-13 Thread franz see
Good day to you, Rod, The xfire-maven-plugin is in codehaus mojo-sandbox. So you either checkout the source and build it, or use the snapshot version deployed pluginRepository idCodehaus Snapshots/id urlhttp://snapshots.repository.codehaus.org//url snapshots

  1   2   3   4   >