RE: Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Sridhar Laxmipuram Srinivasan

Configure log4j to print on console, that's the ideal way of printing data 
transactions on console

Thnkx
sridharl

-Original Message-
From: Bogdan Calmac [mailto:bcal...@gmail.com] 
Sent: Wednesday, September 01, 2010 10:24 PM
To: users@maven.apache.org
Subject: Re: Surefire - can you print TestNG results to stdout?


redirectTestOutputToFile is false by default so the output already goes to
the console, just as I want. However this does not include the test results.

The solution is useFile=false (I missed this).

However, this is a misnomer, it should be called enableConsoleTestResults,
because the HTML test results are created anyway, irrespective of the value
of useFile (according to my tests).

Also, I think that it should print the test results to stdout by default.
It's a lot more likely to want to see the test results in the console than
considering it as too much info and disabling it. For me at least, the test
results are this only thing I care about when I run "mvn test".
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Surefire-can-you-print-TestNG-results-to-stdout-tp2798556p2799607.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: Install project with dependencies

2010-09-01 Thread Adkins, Michael J.
Actually Marcelo, what you want is fairly simple. Use either
appassembler:assemble (which autopackages everything and includes a .bat
to run it with), or if you want more control, use
dependencies:copy-dependencies to copy the dependencies to the location
of your choice. You could then use dependencies:copy to copy the main
jar file to the location of your choice. 

Granted that's likely not the most efficient way to do it but it works
for me and my uses.

Example of the dependency copy:

   org.apache.maven.plugins
   maven-dependency-plugin
   
  
 install-copydependencies
 install
 
copy-dependencies
 
 
 
${project.build.directory}/${project.build.finalName}/l
ib
 
  
   


If you wanted to get bonus points and the chance for a one-up, try using
assembly:single with the descriptorRef set to "project" and point the
archiveBaseDirectory to the directory the main jar and the dependencies
are in (in this case:
"${project.build.directory}/${project.build.finalName") to produce 3
archived versions of it.

Links of varying degrees of importance:
http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencie
s-mojo.html
http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/

-Michael J.




Assembly and Shade putz all the source code into the jar file. 

Is there a way to have maven create a jar file and point to the
/.m2/repository for the dependencies ??
-- 
View this message in context:
http://maven.40175.n5.nabble.com/Install-project-with-dependencies-tp279
8374p2798583.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn site - inherit src/site/site.xml in child modules instead of copy/paste?

2010-09-01 Thread Dennis Lundberg
See the section called "Inheritance" at
http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html


On 2010-09-01 14:36, torsten.reinh...@gi-de.com wrote:
> Hi, 
> 
> I have some (test)modules, containing only a few test sources and their 
> pom.xml:
> 
> src\
> TS_xx_1\pom.xml
> \src\test\java
> 
> TS_xx_2
> ...
> TS_xx_n
> 
> I now want an "overall-view" (site), especially about the test-results, 
> therefore I put
> 
> a pom,.xml to the directory root, containing:
> 
> 
> 
> 
>  org.apache.maven.plugins
>  maven-surefire-report-plugin
> 2.5
> 
>true
> 
> 
>  
> 
> 
> and the modules:
> 
> 
> TS_xx_1
> TS_xx_n
> 
> 
> I also put a src\site\site.xml to the directory root containing:
> 
> 
>  
> 
>  
>   
> 
> The site is now generated, I found the aggregated surefire-report and the 
> additionally configured menus like "modules" and "reports"
> 
> Now the question:
> 
> Is there any possibility to "inherit" the src\site\site.xml configuration 
> to all my submodules, based on a (company) parent pom.xml ?
> My actually workaround is to "copy & paste" the src\site\site.xml (and 
> images) into all my submodules .- blowing up the directory trees.
> 
> Thanx for any hint how to do this 
> 
> Torsten 
> 
> 


-- 
Dennis Lundberg

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Invoke exec-maven-plugin only for package and release:perform

2010-09-01 Thread C. Benson Manica
I have a Maven project whose sole purpose is to synthesize a deployable
artifact by executing some time-consuming Java code.  I'd like it to build
this artifact on package and deploy, but I really don't want it to build it
once for release:prepare and again for release:perform.  How can I
accomplish that?

-- 
C. Benson Manica
cbman...@gmail.com


Re: Dependency:sources skipping files

2010-09-01 Thread C. Benson Manica
I see, that explains it, although I'm a little sad that -U doesn't force it
to download the sources again.

On Tue, Aug 31, 2010 at 4:15 PM, Brian Fox  wrote:

> They don't exist and the dependency plugin has remembered this fact.
> It stores marker files in /target/dependency so if you run it many
> times it won't try to get the missing ones over and over. This goal
> dates to the days when the connection to central was unreliable and I
> was tired of having eclipse:eclipse -DdownloadSources=true fail in the
> middle.
>
> On Mon, Aug 30, 2010 at 11:01 AM, C. Benson Manica 
> wrote:
> > I run mvn -U dependency:sources, and all my source jars are on an
> > Artifactory build server, but all the sources are "skipped" and nothing
> gets
> > downloaded.  What causes Maven to "skip" downloading sources?
> >
> > --
> > C. Benson Manica
> > cbman...@gmail.com
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


-- 
C. Benson Manica
cbman...@gmail.com


Re: Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Bogdan Calmac

redirectTestOutputToFile is false by default so the output already goes to
the console, just as I want. However this does not include the test results.

The solution is useFile=false (I missed this).

However, this is a misnomer, it should be called enableConsoleTestResults,
because the HTML test results are created anyway, irrespective of the value
of useFile (according to my tests).

Also, I think that it should print the test results to stdout by default.
It's a lot more likely to want to see the test results in the console than
considering it as too much info and disabling it. For me at least, the test
results are this only thing I care about when I run "mvn test".
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Surefire-can-you-print-TestNG-results-to-stdout-tp2798556p2799607.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Release of the site plugin?

2010-09-01 Thread Olivier Lamy
Hi,
This is something I will do when 3.0-beta-3 release will be out.

BTW you can try with 3.0-beta-2-SNAPSHOT of the site plugin to ensure
everything is still fine.

2010/9/1 Steve Jerman :
> Hi,
>
> I have tried out Maven-3 Beta-3, and the site plugin is failing due to a API 
> change from beta-2 to beta-3. Does anyone know if/when a release of the site 
> plugin will be made to match the Beta-3 API?
>
> Steve
>
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] XMP-IM Modules  FAILURE [0.866s]
> [INFO] Artifacts Parent .. SKIPPED
> [INFO] xmp-im-foundation-module artifacts  SKIPPED
> [INFO] xmp-im-location-module artifacts .. SKIPPED
> [INFO] xmp-im-party-module artifacts . SKIPPED
> [INFO] xmp-im-physical-resource-module artifacts . SKIPPED
> [INFO] xmp-im-connectivity-module artifacts .. SKIPPED
> [INFO] xmp-im-logical-resource-module artifacts .. SKIPPED
> [INFO] xmp-im-res-mgr-module artifacts ... SKIPPED
> [INFO] ca-im-module artifacts  SKIPPED
> [INFO] xmp-im-discovery-module artifacts . SKIPPED
> [INFO] xmp-im-events-alarms artifacts  SKIPPED
> [INFO] xmp-im-file-system-module artifacts ... SKIPPED
> [INFO] xmp-im-job-module artifacts ... SKIPPED
> [INFO] xmp-im-link-aggregation-module artifacts .. SKIPPED
> [INFO] xmp-im-software artifacts . SKIPPED
> [INFO] xmp-im-process artifacts .. SKIPPED
> [INFO] xmp-im-sensor-module artifacts  SKIPPED
> [INFO] xmp-im-switch-module artifacts  SKIPPED
> [INFO] xmp-im-vlan-module artifacts .. SKIPPED
> [INFO] xmp-im-test ... SKIPPED
> [INFO] Update site creation parent POM ... SKIPPED
> [INFO] Common Models Feature . SKIPPED
> [INFO] Common Modules Update Site  SKIPPED
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 9.501s
> [INFO] Finished at: Wed Sep 01 07:35:53 PDT 2010
> [INFO] Final Memory: 28M/554M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.0-beta-1:site (default-site) on 
> project aggregate: Execution default-site of goal 
> org.apache.maven.plugins:maven-site-plugin:3.0-beta-1:site failed: An API 
> incompatibility was encountered while executing 
> org.apache.maven.plugins:maven-site-plugin:3.0-beta-1:site: 
> java.lang.NoSuchMethodError: 
> org.apache.maven.plugin.MavenPluginManager.getPluginDescriptor(Lorg/apache/maven/model/Plugin;Lorg/apache/maven/artifact/repository/RepositoryRequest;)Lorg/apache/maven/plugin/descriptor/PluginDescriptor;
> -
> realm =    plugin>org.apache.maven.plugins:maven-site-plugin:3.0-beta-1
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = 
> file:/Users/steve/.m2/repository/org/apache/maven/plugins/maven-site-plugin/3.0-beta-1/maven-site-plugin-3.0-beta-1.jar
> urls[1] = 
> file:/Users/steve/.m2/repository/com/cisco/build/doxia-macros/0.0.3/doxia-macros-0.0.3.jar
> urls[2] = 
> file:/Users/steve/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
> urls[3] = 
> file:/Users/steve/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
> urls[4] = 
> file:/Users/steve/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
> urls[5] = 
> file:/Users/steve/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> urls[6] = 
> file:/Users/steve/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> urls[7] = 
> file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1.3/doxia-sink-api-1.1.3.jar
> urls[8] = 
> file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1.3/doxia-logging-api-1.1.3.jar
> urls[9] = 
> file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.3/doxia-core-1.1.3.jar
> urls[10] = 
> file:/Users/steve/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
> urls[11] = 
> file:/Users/steve/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
> urls[12] = 
> file:/Users/steve/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
> urls[13] = 
> file:/Users/steve/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpcl

Release of the site plugin?

2010-09-01 Thread Steve Jerman
Hi,

I have tried out Maven-3 Beta-3, and the site plugin is failing due to a API 
change from beta-2 to beta-3. Does anyone know if/when a release of the site 
plugin will be made to match the Beta-3 API?

Steve

[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] XMP-IM Modules  FAILURE [0.866s]
[INFO] Artifacts Parent .. SKIPPED
[INFO] xmp-im-foundation-module artifacts  SKIPPED
[INFO] xmp-im-location-module artifacts .. SKIPPED
[INFO] xmp-im-party-module artifacts . SKIPPED
[INFO] xmp-im-physical-resource-module artifacts . SKIPPED
[INFO] xmp-im-connectivity-module artifacts .. SKIPPED
[INFO] xmp-im-logical-resource-module artifacts .. SKIPPED
[INFO] xmp-im-res-mgr-module artifacts ... SKIPPED
[INFO] ca-im-module artifacts  SKIPPED
[INFO] xmp-im-discovery-module artifacts . SKIPPED
[INFO] xmp-im-events-alarms artifacts  SKIPPED
[INFO] xmp-im-file-system-module artifacts ... SKIPPED
[INFO] xmp-im-job-module artifacts ... SKIPPED
[INFO] xmp-im-link-aggregation-module artifacts .. SKIPPED
[INFO] xmp-im-software artifacts . SKIPPED
[INFO] xmp-im-process artifacts .. SKIPPED
[INFO] xmp-im-sensor-module artifacts  SKIPPED
[INFO] xmp-im-switch-module artifacts  SKIPPED
[INFO] xmp-im-vlan-module artifacts .. SKIPPED
[INFO] xmp-im-test ... SKIPPED
[INFO] Update site creation parent POM ... SKIPPED
[INFO] Common Models Feature . SKIPPED
[INFO] Common Modules Update Site  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 9.501s
[INFO] Finished at: Wed Sep 01 07:35:53 PDT 2010
[INFO] Final Memory: 28M/554M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.0-beta-1:site (default-site) on 
project aggregate: Execution default-site of goal 
org.apache.maven.plugins:maven-site-plugin:3.0-beta-1:site failed: An API 
incompatibility was encountered while executing 
org.apache.maven.plugins:maven-site-plugin:3.0-beta-1:site: 
java.lang.NoSuchMethodError: 
org.apache.maven.plugin.MavenPluginManager.getPluginDescriptor(Lorg/apache/maven/model/Plugin;Lorg/apache/maven/artifact/repository/RepositoryRequest;)Lorg/apache/maven/plugin/descriptor/PluginDescriptor;
-
realm =plugin>org.apache.maven.plugins:maven-site-plugin:3.0-beta-1
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = 
file:/Users/steve/.m2/repository/org/apache/maven/plugins/maven-site-plugin/3.0-beta-1/maven-site-plugin-3.0-beta-1.jar
urls[1] = 
file:/Users/steve/.m2/repository/com/cisco/build/doxia-macros/0.0.3/doxia-macros-0.0.3.jar
urls[2] = 
file:/Users/steve/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
urls[3] = 
file:/Users/steve/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar
urls[4] = 
file:/Users/steve/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
urls[5] = 
file:/Users/steve/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[6] = 
file:/Users/steve/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[7] = 
file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.1.3/doxia-sink-api-1.1.3.jar
urls[8] = 
file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1.3/doxia-logging-api-1.1.3.jar
urls[9] = 
file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-core/1.1.3/doxia-core-1.1.3.jar
urls[10] = 
file:/Users/steve/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar
urls[11] = 
file:/Users/steve/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar
urls[12] = 
file:/Users/steve/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
urls[13] = 
file:/Users/steve/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
urls[14] = 
file:/Users/steve/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[15] = 
file:/Users/steve/.m2/repository/commons-codec/commons-codec/1.2/commons-codec-1.2.jar
urls[16] = 
file:/Users/steve/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.1.3/doxia-module-xhtml-1.1.3.jar
urls[17] = 
file:/

using other compilers for the maven compiler plugin

2010-09-01 Thread Andrew Eisenberg
Hi all,

I have a small extension to the Eclipse JDT compiler that I would like to
start using as an alternative compiler for the Maven compiler plugin.  My
understanding is that this is possible to do.

I looked at 
http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.ht
ml but there was no specific information on how to do this.  Can someone
please point me in the right direction?

thanks,
--a


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: maven-dependency-plugin (version 2.1) question

2010-09-01 Thread EJ Ciramella


Actually, it very specifically says nothing about dependencies under
the copy goal. It merely says "artifacts." There is a difference...


This is why maven is so polarizing - either you love it or hate it.

"specifically saying nothing" - it should be explicit...

Thanks again all for the clarifications - I appreciate it!


CONFIDENTIALITY NOTICE:  This e-mail and the information transmitted within 
including any attachments is only for the recipient(s) to which it is intended 
and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of; or taking of any action in 
reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please send the e-mail 
back by replying to the sender and permanently delete the entire message and 
its attachments from all computers and network systems involved in its receipt.


Maven Resource plugin help

2010-09-01 Thread Meenakshi Khatri
Hello everyone,

In my maven pom, I have profiles defined and I have a environment file which
changes a variable according to the profile name.

When I build maven within my SpringSource Tool Suite, in my target folder,
the variable defined in the environment file doesnt not change according to
the profile name. But in my target / project/environment.conf file, I do see
the change.

When I try to use mvn clean install command from the command prompt, It
still does not change. what could I be missing?

Thanks and Regards,
Meenakshi


mvn site - inherit src/site/site.xml in child modules instead of copy/paste?

2010-09-01 Thread torsten . reinhard
Hi, 

I have some (test)modules, containing only a few test sources and their 
pom.xml:

src\
TS_xx_1\pom.xml
\src\test\java

TS_xx_2
...
TS_xx_n

I now want an "overall-view" (site), especially about the test-results, 
therefore I put

a pom,.xml to the directory root, containing:




 org.apache.maven.plugins
 maven-surefire-report-plugin
2.5

   true


 


and the modules:


TS_xx_1
TS_xx_n


I also put a src\site\site.xml to the directory root containing:


 

 
  

The site is now generated, I found the aggregated surefire-report and the 
additionally configured menus like "modules" and "reports"

Now the question:

Is there any possibility to "inherit" the src\site\site.xml configuration 
to all my submodules, based on a (company) parent pom.xml ?
My actually workaround is to "copy & paste" the src\site\site.xml (and 
images) into all my submodules .- blowing up the directory trees.

Thanx for any hint how to do this 

Torsten 



Re: Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Wim Deblauwe
Have you tried configuring this?

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile


2010/8/31 Bogdan Calmac 

>
> In the old ant world, the testng plugin would print the test results to
> stdout (in addition to the HTML report). This was very convenient when
> running the build from eclipse; I could see the failures right in the
> console window and click on the links for stacktraces.
>
> In contrast, the surefire plugin does not print any test results to stdout,
> so I have to go through this tedious workflow:
>  - run "maven test" from eclipse
>  - browse to the target\surefire-reports directory and open index.html
>  - browse through the HTML pages down to the failing test
>  - copy the stacktrace from the browser and paste it in the eclipse "Java
> StackTrace Console"
>  - finally get to the failing code
>
> Is there any way to configure the surefire plugin to print the test results
> (including stacktraces) to stdout?
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Surefire-can-you-print-TestNG-results-to-stdout-tp2798556p2798556.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Install project with dependencies

2010-09-01 Thread Wendy Smoak
On Tue, Aug 31, 2010 at 3:35 PM, marcelo  wrote:

> Is there a way to have maven create a jar file and point to the
> /.m2/repository for the dependencies ??

What are you actually trying to do with this code?  (Not 'create a jar
file' ... what problem are you trying to solve?)

You've said your maven project generates a jar file and you want to
execute it.  Now you want it to pull dependencies from the Maven repo
for execution.  That starts sounding like you'd want to write a Maven
plugin.

Otherwise, maybe you'd want to hook into the parts of Maven that
resolve and download dependencies so that your project can use them?

It's hard to say with only the info we have so far.

-- 
Wendy

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



archetype-catalog.xml and its properties and goals elements, what populates them?

2010-09-01 Thread Luke Patterson
archetype-catalog.xml[1] has support for adding properties and goals

I'm especially interested in the goals portion.  I have some setup
logic that should always be executed after archetype creation.  If I
manually create the archetype-catalog.xml file and add goals, the
archetype:generate CLI interface does recognize and run the goals
after project creation (m2e does not, unfortunately).

How do goals normally get inserted into the archetype-catalog file?
Is that a manual process?   are neither in the old[2] nor
new[3] archetype descriptors.  How does that work if the Nexus plugin
[4] is handling the catalog file?

The properties part makes a little more sense, because
 is in the archetype metadata file, so I can see
where it might come from.  (although none of the archetypes listed in
central have properties in the main catalog file[5], so that also is
broken in m2e because m2e does not "see" the the non-standard
properties until the archetype is locally installed, which does not
happen until after the "set properties" wizard page, by then it's too
late)

Any insights?


[1] http://maven.apache.org/archetype/archetype-common/archetype-catalog.html
[2] http://maven.apache.org/archetype/archetype-common/archetype.html
[3] http://maven.apache.org/archetype/archetype-common/archetype-descriptor.html
[4] https://docs.sonatype.org/display/Nexus/Nexus+Archetype+Plugin
[5] http://repo1.maven.org/maven2/archetype-catalog.xml

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Surefire - can you print TestNG results to stdout?

2010-09-01 Thread Bogdan Calmac

In the old ant world, the testng plugin would print the test results to
stdout (in addition to the HTML report). This was very convenient when
running the build from eclipse; I could see the failures right in the
console window and click on the links for stacktraces.

In contrast, the surefire plugin does not print any test results to stdout,
so I have to go through this tedious workflow:
 - run "maven test" from eclipse 
 - browse to the target\surefire-reports directory and open index.html
 - browse through the HTML pages down to the failing test
 - copy the stacktrace from the browser and paste it in the eclipse "Java
StackTrace Console"
 - finally get to the failing code

Is there any way to configure the surefire plugin to print the test results
(including stacktraces) to stdout?
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Surefire-can-you-print-TestNG-results-to-stdout-tp2798556p2798556.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Install project with dependencies

2010-09-01 Thread marcelo

Assembly and Shade putz all the source code into the jar file. 

Is there a way to have maven create a jar file and point to the
/.m2/repository for the dependencies ??
-- 
View this message in context: 
http://maven.40175.n5.nabble.com/Install-project-with-dependencies-tp2798374p2798583.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org