Re: how to push .zip from assembly to repo?

2014-03-27 Thread Jvsrvcs
I do not see anything in the assembly .xml or the release plugin that would push the zip created to a local maven repo. There must be something missing. I looked at the release plugin options and it appears to be related to SCM, but not a maven repo. If you have more information, it would be

Maven profiles question

2013-10-15 Thread Jvsrvcs
I really do not understand any of the documentation related to the execution plugin. If I do something like: $mvn -P deploy I need to: 1. build the project (meaning I just want target/myproj.jar to exist 2. Run a java program like: $java -jar target/myproj.jar some_options so I want to

How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread jvsrvcs
When I run Maven junit tests (surefire plugin) I have errors and a message that I should go open a file that is in /target/surefire-reports/ This takes a lot of time to navigate to the directory, open the file, scroll or search to find the problem, go fix the problem, close the tool I used to

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread jvsrvcs
OK, that worked. I was looking for a surefire property that could be set in the pom.xml. rynam0 wrote: Try passing -Dsurefire.useFile=false On 12/21/09, jvsrvcs jvsr...@gmail.com wrote: When I run Maven junit tests (surefire plugin) I have errors and a message that I should go open

Re: How to print surefire errors (junit errors) to stdout? possible?

2009-12-21 Thread jvsrvcs
I do not use my IDE to run unit tests. I use maven. What I would like to know is... just read what I originally posted please. Alexander-129 wrote: Any IDE has built-in support for launching JUnit tests. 2009/12/22 jvsrvcs jvsr...@gmail.com When I run Maven junit tests (surefire

Where are Sun java jars in any public maven2 repo?

2009-11-30 Thread jvsrvcs
I'm looking for the latest and greates servlet.jar so I can put a dependency in my maven2 pom.xml and am pointed by this page: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html to http://download.java.net/maven/2/javax/servlet/ But nothing but

Need emma plugin for maven2 (and instructions on how to use)

2009-09-10 Thread jvsrvcs
I'm looking for someone with advanced expertise in using the latest / maintained emma code coverage plugin for maven2. I am looking for documentaiton on how to include the plugin in a pom and how to use it. Please do not do a google search and send me some links. I have done that and have been

Re: How to install jars into local maven repo (with $mvn target) - want to configure init profile in pom.xml

2009-07-30 Thread jvsrvcs
I'm not sure that the mvn install is what I need. It looks like you have to run mvn install options such that all of the options are on the command line. I do not want to write a script, but rather a maven profile that will execute to install all the jars into the local repository. I have seen

Re: How to install jars into local maven repo (with $mvn target) - want to configure init profile in pom.xml

2009-07-30 Thread jvsrvcs
are not available in any public maven repository. thanks jvsrvcs Tim O'Brien wrote: On Wed, Jul 29, 2009 at 6:06 PM, jvsrvcsjvsr...@gmail.com wrote: I want to create a maven profile called init, such that a person would type:   $mvn init This won't work, Maven has a lifecycle

How to use mvn install but have all options in the pom.xml?

2009-07-30 Thread jvsrvcs
The docs on the mvn install plugin state: mvn install:install-file -Dfile=your-artifact-1.0.jar \ [-DpomFile=your-pom.xml] \ [-Dsources=src.jar] \ [-Djavadoc=apidocs.jar] \

How to invoke ant target using maven - single command without creating a pom.xml

2009-07-30 Thread jvsrvcs
I have a build.xml file with a note inside the build.xml that the target can only be invoked from maven. Is there a way to run a single $mvn options command to invoke this target in the build.xml file without create a pom.xml and invoking from there? thanks jvsrvcs -- View this message

Re: How to invoke ant target using maven - single command without creating a pom.xml

2009-07-30 Thread jvsrvcs
any maven-type context? Dont it looks similar to run ant task via ant? [?] 2009/7/30 jvsrvcs jvsr...@gmail.com I have a build.xml file with a note inside the build.xml that the target can only be invoked from maven. Is there a way to run a single $mvn options command to invoke

RE: How to use mvn install but have all options in the pom.xml?

2009-07-30 Thread jvsrvcs
a) it's very verbose compared with doing it on the command line and b) install-file only needs to be run once, so including it in the build isn't necessary. Justin -Original Message- From: jvsrvcs [mailto:jvsr...@gmail.com] Sent: Thursday, July 30, 2009 10:51 AM To: users

RE: How to use mvn install but have all options in the pom.xml?

2009-07-30 Thread jvsrvcs
- From: jvsrvcs [mailto:jvsr...@gmail.com] Sent: Thursday, July 30, 2009 10:51 AM To: users@maven.apache.org Subject: How to use mvn install but have all options in the pom.xml? The docs on the mvn install plugin state: mvn install:install

Re: How to use mvn install but have all options in the pom.xml?

2009-07-30 Thread jvsrvcs
only needs to be run once, so including it in the build isn't necessary. Justin -Original Message- From: jvsrvcs [mailto:jvsr...@gmail.com] Sent: Thursday, July 30, 2009 10:51 AM To: users@maven.apache.org Subject: How to use mvn

Re: How to use mvn install but have all options in the pom.xml?

2009-07-30 Thread jvsrvcs
compared with doing it on the command line and b) install-file only needs to be run once, so including it in the build isn't necessary. Justin -Original Message- From: jvsrvcs [mailto:jvsr...@gmail.com] Sent: Thursday, July 30, 2009 10:51 AM To: users@maven.apache.org Subject: How

How to install jars into local maven repo (with $mvn target) - want to configure init profile in pom.xml

2009-07-29 Thread jvsrvcs
I want to create a maven profile called init, such that a person would type: $mvn init and this profile would take jars from the lib/ directory (on the same level as the pom.xml) and install every jar in the lib (and subdirectories) into the local maven repo only. I have many docs on maven