Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Andrew Robinson
alo...@flordeutopia.pt wrote: Em 12-05-2011 12:02, Tim Pizey escreveu: On 12 May 2011 11:50, Alex Lopez wrote: Em 12-05-2011 01:22, Andrew Robinson escreveu: I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Andrew Robinson
Archiva is being used to serve our internal packages of our company, it is not being used to serve dependencies from internet repositories. So no I cannot send all requests through Archiva. It may be as simple as a linux kernel issue with e1000e driver (dell latitude E6410). It has caused me

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Andrew Robinson
They are going through my proxy, why would you think I am hitting them directly? I have my proxy setup in my settings.xml. It is working most of the time, if it were the fact that my proxy was not used, it would fail 100% of the time (all internet traffic must go through our proxy at work).

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-12 Thread Andrew Robinson
Okay, good to know, I'll forward that question onto the fellas that configured our settings.xml and pom.xml files for mvn3. On Thu, May 12, 2011 at 10:12 AM, Wayne Fay wayne...@gmail.com wrote: They are going through my proxy, why would you think I am hitting them directly? I'm OK with the

Maven 3.0.3 hanging / having timeouts often?

2011-05-11 Thread Andrew Robinson
I have been using maven 2.2.1 for a while at my company and we just switched to maven 3. I have rebuilt my computer (ubuntu maverick 10.04 32-bit == ubuntu natty 11.04 64-bit) and installed maven 3. In maven 3.0.3, (I have not seen it with maven 2.2.1), it stops downloading after a few to several

Using maven-exec-plugin as a non-reusable plugin?

2011-03-31 Thread Andrew Robinson
It is sometimes very convenient to have a java class with a main method used to help build a maven project, but one that is so specific to that project that it is too large of an overhead to author it as a reusable maven plugin. Using maven-exec-plugin, the class can be run, but then the question

Re: maven-site-plugin no longer multi-module?

2010-10-07 Thread Andrew Robinson
Thanks, I'll take the ., maven. and .version into consideration for our pom, but that is unrelated to the issue at hand. Either way it is done, the site 2.1.1 plug-in does not execute the site for the modules, only for the parent projects site directory. When I get a chance, I will put together a

maven-site-plugin no longer multi-module?

2010-10-05 Thread Andrew Robinson
I am trying to get our build system moved over from maven 2.0.8 to 2.2.1, but we have been having problems with the site plugin. While converting over, I am supporting a profile that changes the plugin version. Here is the setup: properties ...

http://jira.codehaus.org/browse/MPIR-194 is killing the build

2010-08-24 Thread Andrew Robinson
I am having problems getting our maven site build to work in any but 2.0.8. In builds after 2.0.8 (including maven 2.2.1), we are getting the exception java.lang.ArrayIndexOutOfBoundsException: 1 (see below). This appears to be the error in http://jira.codehaus.org/browse/MPIR-194 [INFO]

Re: http://jira.codehaus.org/browse/MPIR-194 is killing the build

2010-08-24 Thread Andrew Robinson
/exclusions /dependency /dependencies /plugin The warnings still print, but the build succeeded. On Tue, Aug 24, 2010 at 4:14 PM, Andrew Robinson arobinso...@apache.org wrote: I am having problems getting our maven site build to work in any but 2.0.8

Activation based on maven version?

2010-08-24 Thread Andrew Robinson
I would like to perform an activation based on maven version (for my needs I would like to know maven 2.0.8). Is there any way to do this? I noticed this has been filed and not resolved: http://jira.codehaus.org/browse/MNG-4760 Basically I want to change a plugin to use a certain version for

Generating an XPI file from maven2?

2010-01-13 Thread Andrew Robinson
I have looked over Google, and I have not seen a satisfactory answer to this extremely simple requirement. I am trying to produce an XPI file for a firefox extension. An XPI file is simply a zip file with a different extension. I have looked at the maven-jar-plugin and the maven-assembly-plugin

Re: Wierd issue with getting a resource from inside a jar

2008-10-27 Thread Andrew Robinson
How is this a weird issue? URL != file. Just because some URLs can be converted to valid files doesn't mean all can. If you need the file contents use getResourceStream. If you need information on the file, use the java.util.zip package Sent from my iPod On Oct 26, 2008, at 4:34 AM,

Re: command line debug args for jetty plugin?

2008-10-02 Thread Andrew Robinson
jetty runs inside of maven, so just pass those settings in your MAVEN_OPTS environment variable and attach to maven. That has worked for me. -Andrew On Thu, Oct 2, 2008 at 1:48 PM, Mick Knutson [EMAIL PROTECTED] wrote: I am trying to connect to my Jetty application, but want to know how to add

Re: Launching more than one program

2008-10-02 Thread Andrew Robinson
configure 2 executions of the maven-exec-plugin, one for each of you classes. Instead of using plugin/configuration use plugin/executions/execution/configuration to setup the settings. -Andrew On Thu, Oct 2, 2008 at 12:21 PM, Trevor Harmon [EMAIL PROTECTED] wrote: In Ant, I am used to launching

Re: Build error with jython plugin !!??

2008-09-30 Thread Andrew Robinson
Set the groupId of the plugin: groupIdcom.servprise.maven.plugins/groupId Their instructions seem odd to me (creating a dependency instead of setting the version and group in the plugin tag). Give this a try instead of using a dependency: plugin

Jetty and using src/test/webapp

2008-09-22 Thread Andrew Robinson
I have a war project that was built that also has a src/test/webapp directory. The idea was that test pages could be made in this directory that would not be included in the normal war. I have got it mostly working except for the classes. I need to have both target/classes and target/test-classes

Re: Problem of resolving eclipse swt linux library

2008-08-27 Thread Andrew Robinson
for me to refer to? Andrew Robinson-5 wrote: I used the maven assembly plugin to pull in the correct Jar. I have all 3 jars (linux, Mac and Windows) as provided so that they are there for compilation but they don't get automatically included in the release. You can also have a profile

Re: Problem of resolving eclipse swt linux library

2008-08-27 Thread Andrew Robinson
unpacktrue/unpack scopeprovided/scope includes includeorg.eclipse:swt-win32/include /includes /dependencySet /dependencySets /assembly On Wed, Aug 27, 2008 at 11:42 AM, Andrew Robinson [EMAIL PROTECTED] wrote: My pom is huge, but here are some snippets

Re: Problem of resolving eclipse swt linux library

2008-08-26 Thread Andrew Robinson
I used the maven assembly plugin to pull in the correct Jar. I have all 3 jars (linux, Mac and Windows) as provided so that they are there for compilation but they don't get automatically included in the release. You can also have a profile to trigger on the correct current OS, but that will not

Re: Problem of resolving eclipse swt linux library

2008-08-22 Thread Andrew Robinson
BTW, if you plan on using JFace, do not use the libraries from maven, use your own from eclipse. The maven pom files for the uploaded SWT and JFace jars are incompatible. I found it much easier to install my own jars into my local repo than trying to fight the versions that are in the central

Re: get active profile in pom

2008-07-07 Thread Andrew Robinson
There is no such thing as an active profile that I know of. There are active profile*s*. If you want to know if one particular profile is enabled, set a property in that profile and then test or use that profile elsewhere. -Andrew On Mon, Jul 7, 2008 at 10:47 AM, Arash Bizhan zadeh [EMAIL

Re: Need to generate simple runner script

2008-06-28 Thread Andrew Robinson
I just did something like this. Just use the maven assembly plugin to package your app as a zip, tar or whatever. It can filter ${ in the files. It is documented as not liking . In the names though. Steps (I am on my iPod so this is not 100% accurate): 1) add a poroperty to your pom.xml:

Re: Need to generate simple runner script

2008-06-28 Thread Andrew Robinson
On 2008-06-28, Andrew Robinson [EMAIL PROTECTED] wrote: actually you may be able to use pom.version, it was the site plugin that doesn't like dots because it uses velocity. On 2008-06-28, Andrew Robinson [EMAIL PROTECTED] wrote: I just did something like this. Just use the maven assembly

Re: Need to generate simple runner script

2008-06-28 Thread Andrew Robinson
actually you may be able to use pom.version, it was the site plugin that doesn't like dots because it uses velocity. On 2008-06-28, Andrew Robinson [EMAIL PROTECTED] wrote: I just did something like this. Just use the maven assembly plugin to package your app as a zip, tar or whatever. It can

Append to classpath for manifest manually?

2008-06-27 Thread Andrew Robinson
Related to my previous post http://www.nabble.com/mvn-release-plugin-and-platform-specific-executable-jars-td18145554.html, I am wondering if it is possible to manually append a jar to the classpath of the manifest in the archive. If this is possible, I could manually add an swt jar to the

Re: mvn release plugin and platform specific executable jars

2008-06-27 Thread Andrew Robinson
On Thu, Jun 26, 2008 at 5:35 PM, Andrew Robinson [EMAIL PROTECTED] wrote: I am deploying a maven application with 4 different packages (4 assemblies). Each are the same except for one jar (SWT) that is native. I have had to resort to 4 different executions of maven to package them, one execution

Re: Maven assembly plug-in and deploy not happening?

2008-06-27 Thread Andrew Robinson
That was it, oops. Thank you. On Fri, Jun 27, 2008 at 1:04 PM, Jörg Schaible [EMAIL PROTECTED] wrote: Hi Andrew, Andrew Robinson wrote: The maven assembly plug-in, specifically states that it will deploy all the built assemblies on deploy: http://maven.apache.org/plugins/maven-assembly

mvn release plugin and platform specific executable jars

2008-06-26 Thread Andrew Robinson
I am deploying a maven application with 4 different packages (4 assemblies). Each are the same except for one jar (SWT) that is native. I have had to resort to 4 different executions of maven to package them, one execution per profile. This is so that I can change the classpath per execution to

Deploying SWT zipped app for 4 platforms

2008-06-19 Thread Andrew Robinson
I am trying to determine how to bundle my SWT application to release on windows, linux, linux-amd64 and macosx. I already have 4 profiles that have the correct dependencies for each platform. What I want to do is tie this into the assembly plugin and the release plugin. This is how I can have

Re: [SURVEY] How does your team retrieve artifacts?

2008-05-21 Thread Andrew Robinson
[X ] Our team uses HTTP to retrieve our artifacts - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Output to console and file at the same time?

2008-05-13 Thread Andrew Robinson
Use tee (linux command): mvn install | tee myfile.log If you are on windows, I'm sure there is a port, or at least it would work with cygwin. -Andrew On Tue, May 13, 2008 at 7:41 AM, Mick Knutson [EMAIL PROTECTED] wrote: Is there a way I can get the output to the console and a file on the

Customization during custom archetype execution?

2008-04-18 Thread Andrew Robinson
I have never written an archetype, so please excuse my ignorance. I would like to make a dynamic archetype. What I mean by this is to be able to have it ask users (via command prompts or just via system properties if that is not possible) what they want and be able to change the archetype on the

Re: when will maven 2.0.9 be officially released?

2008-03-02 Thread Andrew Robinson
Can the fix for http://jira.codehaus.org/browse/MNG-2258 be put in 2.0.9? This is a blocking issue for my environment and forces me to use 2.1-SNAPSHOT. Thanks, Andrew On Sun, Mar 2, 2008 at 6:09 AM, Brian E. Fox [EMAIL PROTECTED] wrote: End of next week is pretty much a certaint no. My

Re: when will maven 2.0.9 be officially released?

2008-03-02 Thread Andrew Robinson
these instructions: http://docs.codehaus.org/display/MAVEN/Creating+a+Maven+Integration+Test as it'll give you a head start on being included in a release. - Brett On 03/03/2008, Wendy Smoak [EMAIL PROTECTED] wrote: On Sun, Mar 2, 2008 at 1:28 PM, Andrew Robinson [EMAIL PROTECTED

Re: when will maven 2.0.9 be officially released?

2008-03-02 Thread Andrew Robinson
out of order in JDK 1.6 and are fine in 2.1. JDK 1.5 worked fine as well, so it definitely seems like it was a collections use bug. Perhaps MNG-2784 was only a partial fix? -Andrew On Sun, Mar 2, 2008 at 1:19 PM, Wendy Smoak [EMAIL PROTECTED] wrote: On Sun, Mar 2, 2008 at 12:54 PM, Andrew

Re: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist

2008-02-28 Thread Andrew Robinson
Yup, it doesn't exist, it is not an apache plugin, so has to be qualified: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.7/version /plugin -Andrew On Thu, Feb 28, 2008 at 8:32 AM, Neo

Re: Maven 2.0.8 bugs with JDK 1.6 and the Jetty Plug-In

2008-02-18 Thread Andrew Robinson
BTW - is maven 2.1 (SNAPSHOT) considered relatively stable at the moment? I am considering using it now to get around my JDK 1.6 issues. My projects are relatively simple. I will give it a try, but wanted to know if I should expect any major issues. On Feb 17, 2008 10:27 PM, Andrew Robinson

Maven 2.0.8 bugs with JDK 1.6 and the Jetty Plug-In

2008-02-17 Thread Andrew Robinson
Maven doesn't work for me with JDK 1.6 due to Hash* usage so that ordering of plugins and other items is no longer possible. Jetty has no JVM property so it is not possible to run maven in JDK 1.5 and Jetty in JDK 1.6. Since it seems like maven 2.1 is not going to be released soon (or is it

Use a custom reporter with testng and surefire?

2008-01-07 Thread Andrew Robinson
I have the following in my pom: plugin artifactIdmaven-surefire-plugin/artifactId version2.4-SNAPSHOT/version configuration forkModeonce/forkMode parallelfalse/parallel redirectTestOutputToFiletrue/redirectTestOutputToFile

Re: surefire, junit logs, and forking

2008-01-04 Thread Andrew Robinson
Is the log output appearing in TEST-TestSuite.xml or only in the output? On Jan 3, 2008 11:13 PM, noon [EMAIL PROTECTED] wrote: I wasn't quite sure what you were asking, but I got my logging working properly with Maven test by adding following configuration to pom.xml. plugin

Re: surefire, junit logs, and forking

2008-01-03 Thread Andrew Robinson
http://wiki.apache.org/logging-log4j/UsefulCode Look for Configuring Log4J For Testing With Maven Good luck getting the logs into the test xml files though, that is what doesn't work for me -Andrew On Jan 3, 2008 8:32 AM, Adam Fisk [EMAIL PROTECTED] wrote: OK, anyone know what the deal is

Re: Getting useful logging from surefire and testng

2008-01-02 Thread Andrew Robinson
: Andrew, where is you your test-log4j.xml file located ? Because if you use log4j.configuration, I think it will use the current directory and not try to load the file from the classpath. Jeff On Jan 2, 2008 3:38 AM, Andrew Robinson [EMAIL PROTECTED] wrote: I am having problems getting

Re: How to configure the location of settings.xml?

2008-01-02 Thread Andrew Robinson
assuming bash, add this to your .bashrc (substitute mvn absolute path as needed): alias mvn=/usr/bin/mvn -s your file here $* If you are using windows or not using bash you can create a bat file or a mvn shell script that occurs earlier in your PATH so that it gets picked up first. just make

Getting useful logging from surefire and testng

2008-01-01 Thread Andrew Robinson
I am having problems getting useful information from surefire logs. Plugin declaration: artifactIdmaven-surefire-plugin/artifactId version2.4-SNAPSHOT/version configuration forkModeonce/forkMode parallelfalse/parallel

Re: version in dependency is needed

2007-12-31 Thread Andrew Robinson
artifactIdbooking-ejb/artifactId ... artifactIdbooking-web/artifactId Your artifactIds do not match - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: what is dependencyManagement ?

2007-12-21 Thread Andrew Robinson
dependencyManagement can be used to set common attributes for a dep, like exclusions, version etc. So: Parent P: dependencyManagement dependency groupIdsomething/groupId artifactIdsomething/artifactId version1.0.0/version /dependency /dependencyManagement Child A C: dependencies dependency

2.1 download possible?

2007-12-20 Thread Andrew Robinson
I cannot use maven 2.0.8 due to blocker issue http://jira.codehaus.org/browse/MNG-2258. I am running on JDK 1.6 and have SQL plugin executions in my pom. Under JDK 1.6, they run out of order since the code uses Maps instead of lists or a linked list map. My code doesn't compile on JDK 1.5 and

Re: 2.1 download possible?

2007-12-20 Thread Andrew Robinson
7:50 PM, Andrew Robinson [EMAIL PROTECTED] wrote: I cannot use maven 2.0.8 due to blocker issue http://jira.codehaus.org/browse/MNG-2258. I am running on JDK 1.6 and have SQL plugin executions in my pom. Under JDK 1.6, they run out of order since the code uses Maps instead of lists

Re: 2.1 download possible?

2007-12-20 Thread Andrew Robinson
Yes that worked. I also had to downgrade the maven-sql-plugin from psql jdbc4 to jdbc3 which isn't a problem Thanks again, Andrew On Dec 20, 2007 12:56 PM, Andrew Robinson [EMAIL PROTECTED] wrote: Yes it does, thank you. I'll just have to set it for the compiler and the surefire plugin

Re: Don't kill the messenger

2007-12-20 Thread Andrew Robinson
I don't agree with most of the post, but he does have a point about resolving dependencies during every build. On one of my projects, I am using several snapshots due to needing bug fixes. I really wish I could turn off snapshot checking until I specifically ask for it to check. Like a

Re: Don't kill the messenger

2007-12-20 Thread Andrew Robinson
/20/07, Andrew Robinson [EMAIL PROTECTED] wrote: I don't agree with most of the post, but he does have a point about resolving dependencies during every build. On one of my projects, I am using several snapshots due to needing bug fixes. I really wish I could turn off snapshot checking until

Re: Don't kill the messenger

2007-12-20 Thread Andrew Robinson
Sorry, it looks like the settings.xml that my company has us use has an update policy of always. Guess that conflicts with offline. I retract any agreement I had with that blog :) -Andrew On Dec 20, 2007 4:29 PM, Andrew Robinson [EMAIL PROTECTED] wrote: Offline mode breaks when