Re: Mvn command line options

2012-03-24 Thread Martin Schayna
Hi, I don't know much about Windows cmd.exe, but I remember something like call command: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/call.mspx Martin Schayna On Sat, Mar 24, 2012 at 4:45 PM, sarmahdi wrote: > Hello, > > I did the mvn.bat --he

Re: Difference between compile and provided scope for jar artifacts

2012-01-20 Thread Martin Schayna
testing. Martin Schayna On 01/20/2012 05:45 PM, chad.da...@emc.com wrote: When I build a jar file, the compile dependencies are not packaged into the jar. So, this means that they are expected to be provided somewhere else in the run time environment, doesn't it? Which means that it doesn&#

Re: Rtrieving version info

2011-02-02 Thread Martin Schayna
ceAsStream("/META-INF/MANIFEST.MF")); } catch (Exception e) { manifest = new Manifest(); } String version = getAttribute(manifest, "Implementation-Version"); Just curious if this solution is ok or exists bette

Re: Release Plugin Failing on Commit

2010-09-06 Thread Martin Schayna
output: svn: Path 'svn:///data/svn/client/myapp/tags/myapp-1.1.rc4' does not exist in revision 5218 Have you correctly configured tag in your pom.xml before releasing? I have seen similar errors when I had mistake in tag. Mart

Re: Using Subversion and Maven

2010-08-25 Thread Martin Schayna
It depends on actual pom.xml. Some Maven plugins operate with Subversion through 'svn' comannd line, for example buildnumber-maven-plugin (my favorite) is called during each build and it emits errors like this if there is no svn client installed. Martin Schayna On 08/25/201

Re: I need to share how to improve maven's performance

2010-08-23 Thread Martin Schayna
long-term running of the application (because it outperforms the Client compiler for this). http://en.wikipedia.org/wiki/Java_performance#Future_improvements Martin Schayna - To unsubscribe, e-mail: users-unsubscr...@maven.apac

Re: release:perform ignore profile for its goals

2010-08-10 Thread Martin Schayna
I am using this configuration for firing goal 'install' instead of 'deploy' in 'release:perform': ... ... maven-release-plugin 2.0-beta-9 true install false M. On 08/10/2010 06:38 AM, Sergio Oliveira wrote: I change goals from release:perform to install instead of the default d

Re: how can i build a jar file without doing junit test?

2010-05-26 Thread Martin Schayna
This form is compatible with Maven 1: C:\\"%MAVEN_HOME%\bin\maven" -Dmaven.test.skip=true jar On 26.5.2010 12:48, A. Fuat Sungur wrote: that is amazing, lots of people answered immediately. But i did not mention which version i am using. I am using maven 1.0.2, i know this is older but i

Re: Sharing a version among different modules

2010-05-24 Thread Martin Schayna
You can use {$parent.version} variable in modules poms. But if you are using release plugin http://maven.apache.org/plugins/maven-release-plugin/ for releasing versions, same version numbers in poms are updating automatically. There is no need to have only one. See http://maven.apache.org/p

Re: Maven and WTP integration

2010-03-15 Thread Martin Schayna
a heads up. On Mar 15, 2010, at 12:58 PM, Martin Schayna wrote: Hi, after some by-hand editing of configuration files, that have been mentioned here, it works. But when I try to run eclipse:eclipse goal of maven-eclipse-plugin again, it breaks and I have to revert changes. We can live with that

Re: Maven and WTP integration

2010-03-15 Thread Martin Schayna
have the same issue, have you found a solution or reported a bug ? Thank you in advance Martin Schayna-2 wrote: Hi all, we have pretty large project, successfully "mavenized" with Maven 2, split into several module projects under one parent pom. We are using m2eclipse plugin in E

Re: Resources used in multiple projects

2010-02-09 Thread Martin Schayna
Hi Matthew, Sure, we are developing apps in Eclipse and these projects are sucessfully "eclipse:eclipse-ed". But eclipse maven plugin is not ideal, so I had to change some .settings/* files after that, especially org.eclipse.wst.common.component -- for shared resources I had to use "linked re

Re: Resources used in multiple projects

2010-02-08 Thread Martin Schayna
Martin Schayna Matthew McCullough wrote: For resources used in multiple projects on a multi-module build, I'm trying to figure out possible/best practice approaches. My client wants the files to be stored only once in VCS. So, right now they are doing maven-ant or

Re: Maven and WTP integration

2010-02-03 Thread Martin Schayna
I am able to debug this project inside Eclipse in Jetty server. What I want now is only add support for debugging same project in Tomcat container inside Eclipse (aka WTP). Martin Antonio Petrelli wrote: 2010/2/2 Martin Schayna : Maybe "Checkout as Maven" in m2eclipse plugin ca

Re: Maven and WTP integration

2010-02-03 Thread Martin Schayna
ke these, but I have seen some in some projects on Google Code Search. Thank you Martin Manuel Grau wrote: Hi Martin, My setup is similar to yours. Enter each appN folder and type this: mvn -Dwtpversion=2.0 eclipse:m2eclipse Is what I did and it works for me. 2010/2/1 Martin Schayna H

Re: Maven and WTP integration

2010-02-02 Thread Martin Schayna
e. ability to debug project in Tomcat inside Eclipse). Very simple single module project works for me in WTP, but not multi module project. Martin Antonio Petrelli wrote: 2010/2/1 Martin Schayna : run Eclipse, convert WTP configuration (Ctrl+1 QuickFix), add Maven dependecies to WTP (Ctrl+

Re: Maven and WTP integration

2010-02-01 Thread Martin Schayna
ce (NOT OK) After some tricky editing of file .settings/org.eclipse.wst.common.component I'm able to publish shared webapps folder, but not for jar project dependencies... Any ideas? Thank you Martin Schayna Antonio Petrelli wrote: 2010/2/1 Martin Schayna : we have pretty large projec

Maven and WTP integration

2010-02-01 Thread Martin Schayna
and shared resources? Or is there any documentation for file org.eclipse.wst.common.component? I'm going little bit crazy... thank God debugging with Jetty works like a charm, either with shared resources (must hack with WebAppContext.setResourceBase() in starter class). Thanks a lot. Martin Schayna

Re: Problem with maven-release-plugin

2009-11-19 Thread Martin Schayna
Ah, sorry. I looked and it seems that I was wrong. We have the version specified in each pom.xml, even in modules. But actually that is not problem, because only maven-release-plugin does change version, not people. Hence it that I did not remember right. Martin Schayna Peter Niederwieser

Re: Problem with maven-release-plugin

2009-11-19 Thread Martin Schayna
We have same scenario. Release plugin only warns "can't change version" on dependent projects. Released deliveries are OK. Martin Schayna Peter Niederwieser wrote: In my multi-module project, I have a Maven plugin A and a module B that uses version ${project.version} of A (all m

Re: pom builds empty jar, but only on release:perform

2009-11-06 Thread Martin Schayna
Hi, check and elements in your pom.xml. Typically it points to real SVN path, not "tags" directory. Both "release" goals works with these settings instead of SVN path in your current working copy. Martin Schayna C. Benson Manica wrote: Hi, I have a simple POM tha

Re: Maven looks for pom files outside first before getting it from my local Nexus repository.

2009-09-21 Thread Martin Schayna
Look at // in your pom.xml. Should be "never" in this element. Martin Schayna Oberoi, Ashoo wrote: When I run 'mvn install' Maven looks outside for the files first, e.g. http://org.apache.openejb, before it looks for the file in my local nexus repository. I want Maven t

Re: Maven2 jsf-web project on Eclipse

2009-09-17 Thread Martin Schayna
ebuilding Eclipse stuff :) good luck Martin Schayna MavenZede wrote: I have been trying to run a maven2 jsf project on Eclipse Galileo, but I did not unfortunately. I tried a lot of ways, read thousands of web pages. My first problem is that I cannot import my maven2 web project into Eclipse.