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 l

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 wrote: > If this is for a Sourceforge (I saw Webmacro in there)  project then the > route that many have gone is to drop SCP, a

Re: Can no longer deploy project artifacts using maven3

2011-04-06 Thread Tim Pizey
he default install. cheers Tim -- Tim Pizey - http://pizey.net/~timp Centre for Genomics and Global Health - http://cggh.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mai

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

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 extens

Can no longer deploy project artifacts using maven3

2011-04-05 Thread Tim Pizey
ctor available to access repository melati_to (scp://melati.org/data/www/maven2/) of type default using the available factories WagonRepositoryConnectorFactory at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor .java:217) at org.apache.maven.lifecycle.internal

Re: One Agile automated CI build

2011-03-30 Thread Tim Pizey
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

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 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 > plu

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, no

Re-using tests - best practice

2011-03-22 Thread Tim Pizey
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://pizey.net/~timp Centre for Genomics and Global Health - http://cggh.org

Re: Ignore Parent Plugin Declaration

2011-03-10 Thread Tim
On Thu, Mar 10, 2011 at 5:19 PM, Wendy Smoak wrote: > > On Thu, Mar 10, 2011 at 4:51 PM, Tim wrote: > > > >> I tried to use the combine.// syntax but that doesn't work: > >> > >> > >>org.codehaus.mojo &g

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 I

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 ha

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 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

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 conce

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 to

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] +- com.foo:fo

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 t

Re: Plans to release Maven 3.0

2010-09-13 Thread Tim
re 11 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 wrote: > Sry I don't have timestamped build info (like what you would see in &g

Re: Plans to release Maven 3.0

2010-09-13 Thread Tim
0, 2010 at 7:17 PM, Brett Porter 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? > > - B

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 a

Re: Broken mvn site

2010-05-19 Thread Tim Fulmer
ff. Maven 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. --

Broken mvn site

2010-05-19 Thread Tim Fulmer
g issues with this as well. My 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

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 updating a release with some fixes

2010-04-30 Thread Tim O'Brien
mvn versions:set -DnewVersion=1.1-SNAPSHOT On Fri, Apr 30, 2010 at 9:07 AM, Jan Torben Heuer wrote: > Wendy Smoak wrote: > >> If you find you need to make a fix, then you can branch from the tag >> -- in your case the version number on your branch might be >> 1.5.1-SNAPSHOT. > > How do I create

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, M

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 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 the o

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

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

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

2010-04-22 Thread Tim O'Brien
1. Install Nexus like this: http://www.youtube.com/watch?v=bLskAeXivPg 2. Drop this into your ~/.m2/settings.xml http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html 3. Login into Nexus with admin/admin123, click on the 3rd party repository and upload your artifacts, he

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 : > 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 under the user center > and

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 wrote: > Thanks a lot, Tim. > Archetype can be found now, but Maven still try to get archetype c

Getting dependency artifact path

2010-04-22 Thread Tim Andersen
facts() 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-ma

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
at 9:58 AM, Aleksey Didik 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 t

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
others in your development group to find out 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 wrote: > Hello all, > > I create my own arch

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 wrote: > We have recently updated the plugin to use google app engine 1.3.2 > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

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 wrote: > > Hi, > I am a newbie and I am trying to compile a code source

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 w

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

2010-04-15 Thread Tim O'Brien
en-by-example or maven-complete-reference pdf books. > I'll file a JIRA for those two books... there "WTF is an aggregator plugin?" -> https://issues.sonatype.org/browse/MVNREF-144 > [1] http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html > > Raphael > > On

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

2010-04-15 Thread Tim O'Brien
evant 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 O

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 wrote: > Hi All, > > I have a multi module project and my "mvn package" command

Re: [Maven 2] Links plugins' executions

2010-04-13 Thread Tim O'Brien
On Tue, Apr 13, 2010 at 10:30 AM, Wayne Fay 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 >> process-ant

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 PM

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 numb

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 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 run package on the w

Plugin Dependencies

2009-11-12 Thread Tim Fulmer
d help. Please advise, -- Tim

Maven Log Analyzer?

2009-09-22 Thread Tim Andersen
7;t find anything useful. I acknowledge that some of our tests might need to be improved to fail when these exceptions occur, but I want to make sure the buildserver does not falsely report a passing build. Tim Andersen This e-mail and any files transmitted with it are confidential and inte

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
es or not. That's the conundrum here, I see not other way than excludes to do this overlay without replacing files that already exist. The alternative would be to set staleMillis on the compiler plugin to a value that would always force a compile, but StaleSourceScanner doesn't support an

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
Fox wrote: > On Tue, Aug 4, 2009 at 3:30 PM, Tim O'Brien 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 >> >&g

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 Hoffer wrote: > Perhaps I'm not clear what yo

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
ure the compile to always 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 wrote: > >> On Tue, Aug

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
On Tue, Aug 4, 2009 at 1:27 PM, Anders Hammar 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 >> ar

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
n "mvn compile". Also use the -X flag to get more output. Take a look at the list of phases here: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html > > Since the generate-sources phase is before compile shouldn't the compile > have over writte

Re: How to create patched artifact?

2009-08-04 Thread Tim O'Brien
On Tue, Aug 4, 2009 at 9:25 AM, David Hoffer 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 module with the so

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

2009-07-30 Thread Tim O'Brien
es authentication. Do 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 dis

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, jvsrvcs 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 these programm

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 th

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 12

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

2009-07-29 Thread Tim O'Brien
On Wed, Jul 29, 2009 at 6:06 PM, jvsrvcs 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 "init" phase

Re: exec:java problem

2009-07-15 Thread Tim O'Brien
On Wed, Jul 15, 2009 at 1:42 AM, ykyuen 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 repository by the mvn > a

Re: when is relativePath used?

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 6:56 PM, Rusty Wright wrote: > My pom starts with > >   >       waitlist-parent >       edu.berkeley.ist.waitlist >       1.1 >       ../../waitlist-parent/pom.xml >   > > When I run maven and the inside the tags doesn't match > what's in the parent's pom, it uses the po

Re: Passing Variables at JBoss Startup

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 5:34 PM, daniel.green 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

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.green wrote: > > I would like to configure my build scripts to deploy an ear file to a remote &

Re: Parallelization and skip compilation

2009-07-14 Thread Tim O'Brien
On Tue, Jul 14, 2009 at 1:40 PM, Subramanian, N.Venkata 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 many components a

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: maven spring eclipse and properties/spring config

2009-07-11 Thread Tim O'Brien
On Fri, Jul 10, 2009 at 1:54 PM, Vincent Fumo 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 > (local/dev/qa/prod) that I'd li

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

2009-07-11 Thread Tim O'Brien
load the remote index for the JBoss repository manager. Tim O'Brien On Sat, Jul 11, 2009 at 5:29 AM, Edelson, Justin wrote: > As to your second question, m2eclipse will only index the repositories you > tell it to. Open up the Index View and you'll se

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

2009-07-10 Thread Tim O'Brien
e and retrieve the dependencies for a single project. Tim On Fri, Jul 10, 2009 at 2:04 PM, David Weintraub 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 "assembl

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 tha

RE: Cookbook

2009-07-08 Thread Tim O'Brien
Wed, 8 Jul 2009 17:09:21 +0930 >> Subject: Re: Cookbook >> From: baerr...@gmail.com >> To: users@maven.apache.org >> >> On Wed, Jul 8, 2009 at 4:24 PM, Juven Xu wrote: >> > Hi, Peter: >> > >> > The Maven Guide is still in progress, take a

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 w

Re: Cookbook

2009-07-08 Thread Tim O'Brien
Wed, Jul 8, 2009 at 4:24 PM, Juven Xu 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 hassl

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 incl

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

2009-06-15 Thread Tim Andersen
,!snapshots ISL Third Party Proxy Repository http://m2repo/archiva/repository/thirdparty Thanks for the suggestions, it lead us down the right path to find the solution. From: Tim Andersen [tander...@studentloan.org] Sent: Monday, June 15

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 central to external:*

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

2009-06-12 Thread Tim Andersen
want to continue to use the public repos/mirrors (for central) but just add on a single mirror. I hope this helps anyway. -Matt -Original Message- From: Tim Andersen [mailto:tander...@studentloan.org] Sent: Friday, June 12, 2009 1:41 PM To: Matt Brown Subject: RE: maven 2.1.0 why it is

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

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 T

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

2009-05-13 Thread Tim Kettler
nt concepts stored in one variable makes this >> cumbersome. >> > > At test runtime I presume? You use the test 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 r

SSH External -o BatchMode yes

2009-04-14 Thread Tim Riley
sults in... ssh -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: 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 wrote

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 wrote: > Hi Tim, > > Tim wrote at Mittwoch, 8. April 2009 14:05: > > > Unfortunatel

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 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,

Re: LATEST and RELEASE release version management

2009-04-08 Thread Tim
-!) > > Sent from my [rhymes with myPod] ;-) > > > On 8 Apr 2009, at 01:39, Tim 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 thi

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

2009-04-07 Thread Tim
arate 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

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 peopl

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

2009-04-07 Thread Tim
On Tue, Apr 7, 2009 at 7:18 PM, Brett Porter 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

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

2009-04-07 Thread Tim
2009 at 6:26 PM, Brett Porter 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/.m

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 /home/tich/.m2/repository/org/apache/maven/surefire/surefire-booter/2.3/surefire-booter-2.3.jar:/home/tich/.m2/repository/org/apache/maven/surefire/surefire-api/2.3/surefire-api-2.3.jar:/home/tich/.m2/repository/or

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 wrote: > Can an archetype prompt for additional properties?For example if I have a > dependency on junit but would li

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

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 fo

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 40

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.lo

Re: Install artifact during build

2009-03-18 Thread Tim
Sry is this a dependency jar?In which case, just use: system ${some.path.property} On Mon, Mar 16, 2009 at 9:48 AM, Will Hoover wrote: > Yeah, I want to install the jars into a user's local repository based upon > a > path provided in a child projects pom (if not performed in a pr

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

2009-03-18 Thread Tim
n: 25.0.40 Class-Path: On Tue, Mar 17, 2009 at 9:32 PM, Rusty Wright wrote: > The META-INF inside the jars. > > > Tim wrote: > >> If you mean the metadata xml files in that 25-SNAPSHOT directory w/ the >> jars >> then no those are correct.Otherwise, I don't k

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

2009-03-17 Thread Tim
nts? > > LieGrue, > strub > > --- Tim schrieb am Di, 17.3.2009: > > > Von: Tim > > Betreff: Re: Is there a way to verify/check/repair a local repository ? > > An: "Maven Users List" > > Datum: Dienstag, 17. März 2009, 16:04 > >

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 sn

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 wrote: > I have a Teamcity setup w/ multiple build agents.One of my projects &

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

<    1   2   3   4   5   6   7   8   9   10   >