Re: Can no longer deploy project artifacts using maven3

2011-04-06 Thread Tim Pizey
Hi Marc, On 6 April 2011 09:52, Marc Rohlfs wrote: Tim, I hope You don't mind the question, but did You add the the wagon jar to the MAVEN_HOME/lib directory on Your Hudson server, too? Thanks, no, I had not. I have now, and it still does not work: http://jenkins.paneris.net/job/melati/138

Re: Can no longer deploy project artifacts using maven3

2011-04-06 Thread Tim Pizey
message and a NPE) You do not need an extension section for M2 or M3. Thanks for your help, I would welcome the ssh wagon being part of the default install. cheers Tim -- Tim Pizey - http://pizey.net/~timp Centre for Genomics and Global Health - http://cggh.org

Re: Can no longer deploy project artifacts using maven3

2011-04-06 Thread Tim Pizey
to distribute my artifacts. Why not have a default repo generated as part of the site plugin? thanks for the great help Tim On 6 April 2011 13:23, Jason van Zyl ja...@sonatype.com wrote: If this is for a Sourceforge (I saw Webmacro in there)  project then the route that many have gone

Re: Can no longer deploy project artifacts using maven3

2011-04-06 Thread Tim Pizey
Hi Jason, thank you for your detailed reply. On 6 April 2011 13:59, Jason van Zyl wrote: On Apr 6, 2011, at 8:33 AM, Tim Pizey wrote: Hi Jason, Marc, Thankyou for your help. I am now back to working for M2 and M3, but it looks like I need to get with the plot and use Nexus. I have

Can no longer deploy project artifacts using maven3

2011-04-05 Thread Tim Pizey
default using the available factories WagonRepositoryConnectorFactory at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:153) thanks in advance Tim -- Tim Pizey - http

Re: Can no longer deploy project artifacts using maven3

2011-04-05 Thread Tim Pizey
maintain a private repository using scp, but I maintain 4 this way, so scp no longer being supported by default means that I have to find a way through this, ideally a setup which works for maven2 and maven3. thanks again Tim On 5 April 2011 20:07, John Casey wrote: Try turning that extension

Re: One Agile automated CI build

2011-03-30 Thread Tim Pizey
, to the repository and deploys to staging. hope this makes sense cheers Tim On 30 March 2011 19:24, Bryan Keech wrote: Can anyone give details on how they have done this? I am running into road blocks. If I leave the version as a non-snapshot, then Hudson deploys to artifactory and overwrites the same

Re: Re-using tests - best practice

2011-03-28 Thread Tim Pizey
Thanks Lee, I think that makes sense. cheers Tim On 28 March 2011 05:23, Lee Meador l...@leemeador.com wrote: Yegor, If you look at the links he put in the 1st message it shows the POM he's talking about. It includes multiple execution sections within the surefire plugin section that run

Re: Re-using tests - best practice

2011-03-25 Thread Tim Pizey
clunky and would welcome a more elegant to the problem of test reuse. cheers Tim On 24 March 2011 08:08, Yegor Bugayenko wrote: What is the point of retesting a library which has already been tested? You need your own tests, that will check the validity of your own application, not a third

Re-using tests - best practice

2011-03-22 Thread Tim Pizey
jars to discover tests. Unpacking the jar into target/test-classes gets the tests discovered by Surefire. I then need to configure my project by duplicating the configuration information in the test POM. Is this the best way to reuse tests? cheers Tim -- Tim Pizey - http

Ignore Parent Plugin Declaration

2011-03-10 Thread Tim
I have a project that needs to depend on a common root pom which declares a bunch of plugin executions that 80% of the projects need. I don't need some of the plugins though and they are slowing down my builds when running pointlessly. Some of the declare a massive amount of executions though and

Re: Ignore Parent Plugin Declaration

2011-03-10 Thread Tim
, Wendy Smoak wsm...@gmail.com wrote: On Thu, Mar 10, 2011 at 4:51 PM, Tim che...@gmail.com wrote: I tried to use the combine.// syntax but that doesn't work: plugin groupIdorg.codehaus.mojo/groupId artifactIdsql-maven-plugin

Allow wildcards in dependency exclusions

2011-02-15 Thread Tim
http://jira.codehaus.org/browse/MNG-3832 This has gotten a lot of attention in maven jira and would be huge improvement. But it's also sat idle (with a potential patch as noted by the last commenter) for a while now. So I'm taking Wendy's advice and bringing it up on this list to see if others

Adding systemProperty to parent plugin definition

2011-01-21 Thread Tim
Is there a way to extend a parent pom's plugin configuration? I have a situation where the parent pom configures the surefire plugin a great deal. I want to add one more systemProperty but I don't have to copy the whole configuration of that plugin down because 1. I feel that is against the

Re: Adding systemProperty to parent plugin definition

2011-01-21 Thread Tim
Thanks! Wow that really should be documented in maven FAQs. :P On Fri, Jan 21, 2011 at 5:55 PM, Benjamin Bentmann benjamin.bentm...@udo.edu wrote: Tim wrote: Is there a way to extend a parent pom's plugin configuration? I have a situation where the parent pom configures the surefire plugin

Re: Scanning for projects... hangs

2010-12-06 Thread Tim
A GC overhead limit is not an out of memory. Refer to http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html#par_gc.oom for more information about it. As a work around you can try increasing Xmx as well but that's only masking the underlying problem and may have no effect. I seem

Differences in how m2 and m3 add transitive dependencies?

2010-11-01 Thread Tim
I have a module with a dependency on another module which included commons-lang as a dependency: If I use dependency:tree from that module using m2 I get (parts trimmed to keep things concise) [INFO] [dependency:tree {execution: default-cli}] [INFO] com.foo:foo:jar:48-SNAPSHOT [INFO] +-

Re: [PLEASE TEST] Apache Maven 3.0-RC1

2010-09-17 Thread Tim
Still not seeing the promised speed up when on a mac (and actually always a bit slower). But definitely seeing the improved times on a linux box (Linux 2.6.32-24-server #41-Ubuntu x86_64 GNU/Linux ) So it seems that if you are on a mac then be aware that upgrading to mvn 3 could at best give you

Re: Plans to release Maven 3.0

2010-09-13 Thread Tim
Porter br...@apache.org wrote: Most are seeing it in the other direction. Are you able to reproduce it on a sample project you can post? Or is there anything distinctive about the build that is slower? Do you notice where it spends most of its time? - Brett On 10/09/2010, at 11:49 PM, Tim

Re: Plans to release Maven 3.0

2010-09-13 Thread Tim
modules being run not including the parent modules that they are in. I just showed one test run for each but they are all within a couple of seconds of those times. On Mon, Sep 13, 2010 at 9:15 AM, Tim che...@gmail.com wrote: Sry I don't have timestamped build info (like what you would see

Re: Plans to release Maven 3.0

2010-09-10 Thread Tim
I've been using m3 for a while now but just switched over to beta 3. This version is vastly more stable than the previous versions (seemingly obvious statement :)) But it is definitely slower than version 2x. I'm seeing a consistent ~10-20% increase in build times (a 50 second build increased to a

Re: Activate differernt profiles in Multimodule projects

2010-06-04 Thread Tim Kettler
Hi, wouldn't adding a specialized parent pom for modules containing idl files to your project work? -Tim On 04.06.2010 10:33, MartyMcFly wrote: thanks for the answer. Sorry I probably should have add more information. It is generated source code. We have IDL files for Corba which

Broken mvn site

2010-05-19 Thread Tim Fulmer
question is why hasn't this been fixed yet? Why is plugin management the one place where Maven's own versioning and dependency management practices are completely ignored in favor of something that's obviously broken? When is it going to be fixed? -- Tim

Re: Broken mvn site

2010-05-19 Thread Tim Fulmer
is a great project, probably one of the best things to happen to Java. It's a tool I use all day, every day. Thanks definitely go out to the Maven team for all the hard work. This was definitely not the appropriate forum to vent frustration. I really should have known better. -- Tim On Wed, May 19

Preserving attributes on resources

2010-05-10 Thread Tim
I have a sh file in src/main/resources that is 755 but its copied to target/classes with different permissions. I know that assembly plugin can set new fileModes but is there a way to do this using the resource plugin? Thanks :)

Re: Release Plugin and local working copy changes

2010-04-29 Thread Tim O'Brien
I just tested this with mvn 2.2.1 + 2.0-beta-9. It refused to run release:prepare with the following error message: [INFO] Cannot prepare the release because you have local modifications : [pom.xml:modified] What version of the release plugin are you using? On Wed, Apr 28, 2010 at 8:35 PM,

Re: maven inheritance for multiple build executions

2010-04-26 Thread Tim O'Brien
On Mon, Apr 26, 2010 at 8:39 AM, Marshall Schor m...@schor.com wrote: My use case: I'm running the maven docbkx plugin to produce both pdf and html outputs from multiple docbook sources. The docbkx plugin says to use two executions (with ids, for instance, of html and pdf, one for each of

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
what you should put in your ~/.m2/settings.xml.If you are using a repository manager, then you will need to define a mirror in your settings.xml. Tim On Thu, Apr 22, 2010 at 4:19 AM, Aleksey Didik di...@magenta-technology.ru wrote: Hello all, I create my own archetype and deploy it to my

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
, Aleksey Didik di...@magenta-technology.ru wrote: Thanks for response, Tim. Yes, sure, it's my own archetype. I created it and deployed to our company Nexus. Mirror is defined too. It can't be in central, because it's for internal company usage only. Question is how to generate project from

Getting dependency artifact path

2010-04-22 Thread Tim Andersen
() returns an empty list. How can I get my plugin to find the dependencies of the project it is part of? Tim This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
Use archetype:create instead of archetype:generate See here: http://maven.apache.org/archetype/maven-archetype-plugin/create-mojo.html Tim On Thu, Apr 22, 2010 at 11:11 AM, Aleksey Didik di...@magenta-technology.ru wrote: Thanks a lot, Tim. Archetype can be found now, but Maven still try

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Tim O'Brien
Here's a good book on the topic: http://www.sonatype.com/books/nexus-book/reference/ 2010/4/22 Vernon vernon...@pu-gong-ying.info: Thanks a lot for your information. Where I can find a documentation on the subject (an internal Maven proxy server)? I have a look at the maven documentation

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Tim O'Brien
-Maven environment, we can add those jar files in a minutes. Of course, the downside will be a potential version issues. quote who=Tim O'Brien Here's a good book on the topic: http://www.sonatype.com/books/nexus-book/reference/ 2010/4/22 Vernon vernon...@pu-gong-ying.info: Thanks a lot

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Tim O'Brien
Vernon vernon...@pu-gong-ying.info: Thanks very much Tim for your very helpful information. I get the Nexus up. Where is a place to ask Nexus usage questions? quote who=Tim O'Brien 1. Install Nexus like this: http://www.youtube.com/watch?v=bLskAeXivPg 2. Drop this into your ~/.m2/settings.xml

Re: maven-gae-plugin

2010-04-21 Thread Tim O'Brien
That's wonderful. Do you have a question? On Wed, Apr 21, 2010 at 5:32 AM, Manuel Grau mang...@gmail.com wrote: We have recently updated the plugin to use google app engine 1.3.2 - To unsubscribe, e-mail:

Re: Compilation failure with Maven

2010-04-18 Thread Tim O'Brien
This is because of the space in your JAVA_HOME. You should use quotes, or use a a JAVA_HOME that truncates the Program Files, like this: set JAVA_HOME=c:\progra~1\java\jdk1.6.0_20 On Sun, Apr 18, 2010 at 12:09 PM, angisad zoum...@hotmail.com wrote: Hi, I am a newbie and I am trying to

Re: Using custom assembly descriptor from the command line

2010-04-16 Thread Tim O'Brien
You could configure the default command line execution. The following section provides an example with the Assembly plugin. Use the execution id default-cli http://www.sonatype.com/books/mvnref-book/reference/configuring.html#d4e3735 Also, apologies for the assembly chapter, it needs some

Re: release:prepare ignores preparationGoals configuration in child of multi module project

2010-04-15 Thread Tim O'Brien
line numbers are 203 and 199. So the answer is no, you can't customize in a submodule. I'm sure, with some effort you might be able to hack something into the ReleasePhase logic, but there's no point. Just configure the root project with clean install. Tim On Thu, Apr 15, 2010 at 4:28 AM

Re: release:prepare ignores preparationGoals configuration in child of multi module project

2010-04-15 Thread Tim O'Brien
/browse/MVNREF-144 [1] http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html Raphael On Thu, Apr 15, 2010 at 15:16, Tim O'Brien tobr...@discursive.com wrote: The DefaultReleaseManager is a part of the maven-release-manager, if you look at the code in prepare(), you'll notice

Re: release process

2010-04-13 Thread Tim O'Brien
You can do whatever you need to do with versions, but this isn't really the workflow associated with the maven-release-plugin. The release plugin exists to automate the following process: Prepare 1. Take the current working copy - assume you have version 1.2-SNAPSHOT 2. Update the version

Re: [Maven 2] Links plugins' executions

2010-04-13 Thread Tim O'Brien
You have to reference an existing phase. The process-ant' phase does not exist in the Default Maven Lifecycle. Look at the Lifecycle Reference on this page: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Build_Lifecycle_Basics On Mon, Apr 12, 2010 at 5:22

Re: [Maven 2] Links plugins' executions

2010-04-13 Thread Tim O'Brien
On Tue, Apr 13, 2010 at 10:30 AM, Wayne Fay wayne...@gmail.com wrote: I use Maven 2 in a project and i would like to link plugin execution to the execution of another plugin. No, you cannot link plugin executions. With that, I thought that execution of my id process-ant was like a phase

Re: multi-module with assembly execution fail

2010-04-13 Thread Tim O'Brien
Frank, In Project C's pom.xml, use the single goal instead of the assembly goal. This should fix the problem. Tim On Tue, Apr 13, 2010 at 12:01 PM, Frank Maritato fmarit...@attinteractive.com wrote: Hi All, I have a multi module project and my mvn package command from the top level

Re: Problem with build process of multi module web project

2010-04-10 Thread Tim O'Brien
On Apr 10, 2010, at 1:38 AM, Vijay Shanker Dubey vijay.s...@gmail.com wrote: Hi, I have a multi module web project. Four modules of the project are packaged as jar and added as dependency to the fifth module, which is packaged as war. When it is time to deploy the application i just

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
On Tue, Aug 4, 2009 at 9:25 AM, David Hofferdhoff...@gmail.com wrote: What is the maven way of creating a patched jar? I have a case where I need to apply some overrides to a binary jar which is one of my dependencies.  I have the source code for the overrides.  So I could create a child

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
, Aug 4, 2009 at 8:39 AM, Tim O'Brien tobr...@discursive.com wrote: On Tue, Aug 4, 2009 at 9:25 AM, David Hofferdhoff...@gmail.com wrote: What is the maven way of creating a patched jar? I have a case where I need to apply some overrides to a binary jar which is one of my dependencies.  I

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
On Tue, Aug 4, 2009 at 1:27 PM, Anders Hammarand...@hammar.net wrote: Tim, 4. Package, publish your new patched artifact to a repository manager (under a new groupId, artifactId, version). The key here is that you create a project that patches the original artifact and then publishes

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
overwrite? Move the copy goal that you declared to happen just after compilation. Look at the lifecycle list, I think you want process-classes -Dave On Tue, Aug 4, 2009 at 12:10 PM, Tim O'Brien tobr...@discursive.com wrote: On Tue, Aug 4, 2009 at 1:01 PM, David Hofferdhoff...@gmail.com

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
Use the excludes config property to exclude the specific files you don't want to overwrite. http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html The docs on that mojo leave much to be desired. On Tue, Aug 4, 2009 at 2:10 PM, David Hofferdhoff...@gmail.com wrote: Perhaps I'm

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
Foxbri...@infinity.nu wrote: On Tue, Aug 4, 2009 at 3:30 PM, Tim O'Brientobr...@discursive.com wrote: Use the excludes config property to exclude the specific files you don't want to overwrite. http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html The docs on that mojo leave

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
to a value that would always force a compile, but StaleSourceScanner doesn't support anything like staleMillis = -1. On Tue, Aug 4, 2009 at 4:28 PM, Tim O'Brientobr...@discursive.com wrote: I love it how you are so close to the code, you think that this is sufficient documentation for a plugin goal

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

2009-07-30 Thread Tim O'Brien
You can define multiple executions. My advice is the same as Justin's, don't do this. Use a repository manager.The fact that you have to configure multiple calls to install-file means that you don't have a good way to distribute internal or third-party artifacts. On Thu, Jul 30, 2009 at

Re: Setting Mirror properties by profile?

2009-07-30 Thread Tim O'Brien
Upgrade your Maven installation. If you haven't upgraded to at least 2.0.9, there is no telling what issues you are going to run up against. My suggestion would be to use two settings.xml files and instead of trying to control this with a profile, just pass in different settings.xml files with

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

2009-07-30 Thread Tim O'Brien
On Thu, Jul 30, 2009 at 1:23 PM, jvsrvcsjvsr...@gmail.com wrote: Thanks, the reason we are doing this is because: 1.  We have a lot of new programmers coming on board (10) that need to quickly setup their local repo Use a repository manager. Distribute a settings.xml file. 2.  Many of

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

2009-07-30 Thread Tim O'Brien
whatever you want to do, but if you have to have script that populates your local repo, you need to use a repository manager. I If you use Maven, you should be using a repository manager. If you are not using a repository manager, you have to resort to shenanigans to distribute binaries. Tim

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

2009-07-29 Thread Tim O'Brien
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 that consists of phases when you execute mvn init, Maven is going to complain because there is no

Re: exec:java problem

2009-07-15 Thread Tim O'Brien
On Wed, Jul 15, 2009 at 1:42 AM, ykyuenyingkity...@gmail.com wrote: it works in windows now. the problem is previously, i created the maven project directly in eclipse by the m2eclipse plugin and the project is located in the workspace. then i try to create the project in the maven

Re: Run ANT script first

2009-07-14 Thread Tim O'Brien
When you run Maven, you usually specify a lifecycle phase such as install or package or deploy. Maven will then execute every lifecycle phase sequentially until it reaches the specified phase. If you want a full list of lifecycle phases take a look at the Maven docs here: http://tr.im/shS4

Re: Parallelization and skip compilation

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 1:40 PM, Subramanian, N.Venkatansubraman...@informatica.com wrote: Hi          Good morning! I have couple of question which is quite critical in our current project scenario 0) Our product is supporting around 14 platforms and our prodct code is divided into

Re: Passing Variables at JBoss Startup

2009-07-14 Thread Tim O'Brien
You should take a look at Cargo: http://cargo.codehaus.org/ Cargo has a Maven 2 plugin which will allow you complete control over your JBoss server. Tim On Tue, Jul 14, 2009 at 5:20 PM, daniel.greenoctober...@gmail.com wrote: I would like to configure my build scripts to deploy an ear file

Re: Passing Variables at JBoss Startup

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 5:34 PM, daniel.greenoctober...@gmail.com wrote: Tim O'Brien wrote: You should take a look at Cargo: http://cargo.codehaus.org/ Thank you for the info! Is http://cargo.codehaus.org/Passing+system+properties what I'm looking for? That would have the effect of -D

Re: when is relativePath used?

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 6:56 PM, Rusty Wrightrusty.wri...@gmail.com wrote: My pom starts with   parent       artifactIdwaitlist-parent/artifactId       groupIdedu.berkeley.ist.waitlist/groupId       version1.1/version       relativePath../../waitlist-parent/pom.xml/relativePath   /parent

Re: dependency on artifact javax.activation:activation version 1.1.1

2009-07-11 Thread Tim O'Brien
index for the JBoss repository manager. Tim O'Brien On Sat, Jul 11, 2009 at 5:29 AM, Edelson, Justinjustin.edel...@mtvstaff.com wrote: As to your second question, m2eclipse will only index the repositories you tell it to. Open up the Index View and you'll see the list of repos. Justin

Re: maven spring eclipse and properties/spring config

2009-07-11 Thread Tim O'Brien
On Fri, Jul 10, 2009 at 1:54 PM, Vincent Fumoneo...@gmail.com wrote: I'm converting an old project to maven and I have a question re: spring. This project has about 20 spring config files and it reads them all in on startup and uses the  In addition I have 4 properties files

Re: mvn assembly:assembly won't package jars and ears, but mvn package will

2009-07-10 Thread Tim O'Brien
and retrieve the dependencies for a single project. Tim On Fri, Jul 10, 2009 at 2:04 PM, David Weintraubqazw...@gmail.com wrote: Still a bit confused. The Assembly plugin's documentation says it runs a lifecyle package before creating the assembly.  The only thing I can think of is that assembly:assembly

Re: mvn assembly:assembly won't package jars and ears, but mvn package will

2009-07-09 Thread Tim O'Brien
David, It looks like com.solbright.adinventory.projects.base:jar:jar:2.1.2-SNAPSHOT can't be found in the local repository. Instead of running assembly:assembly by itself, try: mvn install assembly:assembly Better yet, why not just bind the assembly goal to the package phase of the project

Re: Cookbook

2009-07-08 Thread Tim O'Brien
, 2009 at 4:24 PM, Juven Xuju...@sonatype.com wrote: Hi, Peter: The Maven Guide is still in progress, take a look at this blog: http://www.sonatype.com/people/2009/04/maven-definitive-guide-project-infrastructure/ Thanks for that link. I've been hassling Tim for an explanation of the tool chain

Re: Cookbook

2009-07-08 Thread Tim O'Brien
Peter Horlock wrote: Hey, Tim, where are you??? One year ago, you wrote and wrote and wrote for The definitive guide. Now it's in Version 0.6 and not much if not nothing at all has changed during the last months. Also, I can't wait to see the new Maven cookbook! Maybe you got an alpha

RE: Cookbook

2009-07-08 Thread Tim O'Brien
: Hi, Peter: The Maven Guide is still in progress, take a look at this blog: http://www.sonatype.com/people/2009/04/maven-definitive-guide-project-infrastructure/ Thanks for that link. I've been hassling Tim for an explanation of the tool chain they use for books

RE: Plugin / Tool for local repository

2009-06-16 Thread Tim Andersen
We use a scheduled task that runs a Ruby program to delete our local repository if it is older than a week. You could manipulate this to only delete snapshots, but I prefer to get everything fresh to make sure our internal mirror is working correctly. The full version of this program (not

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-15 Thread Tim Andersen
Wayne, thanks for the suggestions. I did not find anything in my ~/.m2 that contained servicemix.org except for the problematic jars that contained javascript/html instead of the pom.xml. I also ran a mvn help:effective-pom and did not see servicemix.org. When I changed

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-15 Thread Tim Andersen
*,!internal,!ga,!snapshots/mirrorOf nameISL Third Party Proxy Repository/name urlhttp://m2repo/archiva/repository/thirdparty/url /mirror Thanks for the suggestions, it lead us down the right path to find the solution. From: Tim Andersen

maven 2.1.0 why it is looking at servicemix.org?

2009-06-12 Thread Tim Andersen
When I upgraded to Maven 2.1.0 it seems like it is not looking at the mirror I have in my settings.xml. It is trying to download howl-1.0.1-1 servicemix.org instead of my local Archiva mirror. How do I find out why it is looking at servicemix.org? This problem does not occur with Maven 2.0.10

RE: maven 2.1.0 why it is looking at servicemix.org?

2009-06-12 Thread Tim Andersen
the servicemix.org is coming from? From: Matt Brown [matt.br...@citrixonline.com] Sent: Friday, June 12, 2009 12:46 PM To: Tim Andersen Subject: RE: maven 2.1.0 why it is looking at servicemix.org? Hi Tim, I'm by no means an expert on Maven, but let me show

problem upgrading to Maven 2.1.0

2009-06-11 Thread Tim Andersen
I am currently using Maven 2.0.9. When I upgraded to Maven 2.1.0, it seems to be trying to download dependencies from different repositories. I have doubled checked my settings.xml to make sure it uses the same as my 2.0.9 settings. We use Archiva 1.1.3 mirroring http://repo1.maven.org/maven2

Re: Transitive and inherited dependencies - potential bug, or my misunderstanding of the mechanism

2009-05-13 Thread Tim Kettler
scope. Is it hurting anything if it's there on the test compile classpath? Isn't that true for the main classpath as well? So why do we have the runtime scope at all? -Tim - To unsubscribe, e-mail: users-unsubscr

SSH External -o BatchMode yes

2009-04-14 Thread Tim Riley
-o BatchMode yes [REST OF COMMAND] What I need is... ssh -o BatchMode yes [REST OF COMMAND] Any help would be much appreciated as this is a time critical issue for me and the success of maven at my organization. Sincerely, Tim

Re: LATEST and RELEASE release version management

2009-04-08 Thread Tim
with myPod] ;-) On 8 Apr 2009, at 01:39, Tim che...@gmail.com wrote: http://jira.codehaus.org/browse/MNG-4089 I need to read over the bug that was linked as a duplicate more closely but I don't think it's the same thing. What I asked for was the same as what you said with 1.0-LATEST

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-08 Thread Tim
instead so it seems to be moving along. On Tue, Apr 7, 2009 at 7:54 PM, Brett Porter br...@apache.org wrote: Is there more of a trace supplied from within Surefire? Have you searched to see if anyone else encountered this problem? Thanks, Brett On 08/04/2009, at 10:47 AM, Tim wrote: yea

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-08 Thread Tim
That's good to know :) I can double check but that is probably not what is happening here since it is defined in the parent pom as junit 4. On Wed, Apr 8, 2009 at 7:15 AM, Jörg Schaible joerg.schai...@gmx.de wrote: Hi Tim, Tim wrote at Mittwoch, 8. April 2009 14:05: Unfortunately

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-08 Thread Tim
My coworker just found out that version 2.0 of surefire shows the correct error msgs.So it seems that error handling was changed between them and now it swallows the correct exceptions :-/ That would have saved a lot of time debugging this lol. On Wed, Apr 8, 2009 at 7:45 AM, Tim che...@gmail.com

Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
Why do I see Forking command line: /usr/lib/jvm/jdk1.6.0_13/jre/bin/java -classpath

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
at 6:26 PM, Brett Porter br...@apache.org wrote: have you confirmed that dependency:list only shows junit 4? On 08/04/2009, at 9:18 AM, Tim wrote: Why do I see Forking command line: /usr/lib/jvm/jdk1.6.0_13/jre/bin/java -classpath /home/tich/.m2/repository/org/apache/maven/surefire

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
, 2009 at 7:18 PM, Brett Porter br...@apache.org wrote: Can you try the latest version of the surefire plugin? (v2.4.3) On 08/04/2009, at 10:15 AM, Tim wrote: Yea. It's showing up as [INFO]junit:junit:jar:4.4:test with no version 3 in the list.This is with maven 2.1.0 AND 2.0.10 btw

Re: LATEST and RELEASE release version management

2009-04-07 Thread Tim
http://jira.codehaus.org/browse/MNG-4089 I need to read over the bug that was linked as a duplicate more closely but I don't think it's the same thing. What I asked for was the same as what you said with 1.0-LATEST. Doing something like that or 1.0-RELEASE would actually be very beneficial to

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
a separate problem, however I can't tell what is wrong from the info here. Are you able to check the surefire temporary files to see if the arguments look reasonable? - Brett On 08/04/2009, at 10:27 AM, Tim wrote: It doesn't show the junit 3 jar but has the same problem: Forking command line

archetype:generate prompts

2009-03-31 Thread Tim
Can an archetype prompt for additional properties?For example if I have a dependency on junit but would like the user to specify the version of it that they want when creating a template project off an archetype. Is that possible? -- Rodney Dangerfield - I haven't spoken to my wife in years. I

Re: archetype:generate prompts

2009-03-31 Thread Tim
Sry I just answered my own question. http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-with-property-file.html On Tue, Mar 31, 2009 at 6:02 PM, Tim che...@gmail.com wrote: Can an archetype prompt for additional properties?For example if I have a dependency on junit

Re: How to bulk load the jars in my local repo into a new (empty) corporate remote repo?

2009-03-28 Thread Tim
Are you on a linux system? I just rsynced my repo recently to accomplish the same thing. It was really easy. On Sat, Mar 28, 2009 at 12:05 PM, Jeff Walker webservices.archit...@gmail.com wrote: Hi, I'm a relative newbie to Maven2. My problem is, I have a local repository full of about 400

Maven ant task

2009-03-28 Thread Tim
Is there a way in the maven ant task to remove the files that it puts into your local .m2 directory? The situation is that I'm in a dual ant/maven environment. The projects that are built using ant are deployed to the maven remote repository using maven ant. The problem that I've noticed is that

Re: Is there a way to verify/check/repair a local repository ?

2009-03-18 Thread Tim
Inc.) Built-By: teamcity Implementation-Title: common-op Implementation-Version: 25.0.40 Specification-Title: common-op Specification-Version: 25.0.40 Class-Path: On Tue, Mar 17, 2009 at 9:32 PM, Rusty Wright rusty.wri...@gmail.comwrote: The META-INF inside the jars. Tim wrote: If you mean

Re: Install artifact during build

2009-03-18 Thread Tim
Sry is this a dependency jar?In which case, just use: scopesystem/scope systemPath${some.path.property}/systemPath On Mon, Mar 16, 2009 at 9:48 AM, Will Hoover java.whoo...@gmail.com wrote: Yeah, I want to install the jars into a user's local repository based upon a path

Re: Relative Path to a Local Repo

2009-03-18 Thread Tim Kettler
Jeremy Sager schrieb: Is there any way to specify the local repo to use from the command line? I was not able to figure that out either but if it's possible to do that would represent a perfect solution. mvn -Dmaven.repo.local=path ... -Tim

Re: Is there a way to verify/check/repair a local repository ?

2009-03-17 Thread Tim
I'm actually having the same problem.After alot of debugging I noticed something interesting. -rw-r--r-- 1 tich tich 1482491 common-util-25-20090313.151759-9.jar -rw-r--r-- 1 tich tich 1482490 common-util-25-20090317.001243-13.jar -rw-r--r-- 1 tich tich 1482491 common-util-25-SNAPSHOT.jar I've

Re: Is there a way to verify/check/repair a local repository ?

2009-03-17 Thread Tim
? LieGrue, strub --- Tim che...@gmail.com schrieb am Di, 17.3.2009: Von: Tim che...@gmail.com Betreff: Re: Is there a way to verify/check/repair a local repository ? An: Maven Users List users@maven.apache.org Datum: Dienstag, 17. März 2009, 16:04 I'm actually having the same

Maven using old snapshot poms?

2009-02-12 Thread Tim
I have a Teamcity setup w/ multiple build agents.One of my projects depends on a SNAPSHOT release. This snapshot release is now on version 24-20090211.152817-12.pom version -4.pom had an error in the dependencies. I've noticed that every now and then an agent will not pick use the correct pom

Re: Maven using old snapshot poms?

2009-02-12 Thread Tim
Mm maybe this is a teamcity issue.I've noticed that not all the agents (all on the same box) will fail but, when one does, it is stuck until I clear it's .m2 cache. On Thu, Feb 12, 2009 at 8:33 AM, Tim che...@gmail.com wrote: I have a Teamcity setup w/ multiple build agents.One of my projects

Re: checkstyle plugin error on multimodule project

2009-02-07 Thread tim tim
it seems like the checkstyle plugin can not handle intraproject dependencies. or what am i forgetting? best, tim hallo the trick is to reference the checkstyle config as a dependency and not directly as a file. there are some hints at: http://maven.apache.org/plugins/maven-checkstyle

Re: Site plugin and modules

2009-02-07 Thread Tim McGinnis
Yep. It creates the pages for the modules but they have the left nav of the top project site.xml. Dennis Lundberg wrote: Hi Have you specified the sub-projects in a modules element in the parent POM? Tim McGinnis wrote: Why doesn't the Site plugin respect submodule site.xml files

checkstyle plugin error on multimodule project

2009-02-06 Thread tim tim
for multimodule projects? thanks, tim - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

<    1   2   3   4   5   6   7   8   9   >