Re: Adding Project with no web browsable URL to POM.

2006-02-24 Thread Barrie Treloar
eve the > > file. > > > > If I don't have viewcvs (and it's not likely to get installed) do I have > > any other options? > > > > Barrie Treloar > > Applications Architect > > IS & T, South Australia Police > > Phone: 8204 2604 > > Email: [EMAIL PROTECTED] > > > > > > > >

Re: Copying resources to the javadoc output directory.

2006-02-28 Thread Barrie Treloar
On 3/1/06, Steven Coco <[EMAIL PROTECTED]> wrote: > Hello. > > Say you have LICENSE.txt in the base directory of your project. Now > also say you want to copy that file into your JavaDoc output directory > when JavaDoc runs -- or into the site directory when that runs. HOW do > you do that!?...

Re: Copying resources to the javadoc output directory.

2006-02-28 Thread Barrie Treloar
On 3/1/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > I haven't done it myself, but I believe you can use the Assembly > plugin to achieve this, though its rather convoluted... > > http://maven.apache.org/plugins/maven-assembly-plugin/howto.html > > Basically you create the package like normal, and inc

Re: Copying resources to the javadoc output directory.

2006-03-01 Thread Barrie Treloar
On 3/1/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > Sounds like a "copy" plugin is in order? What I was wondering was "Is this the right way to do things in Maven2?". Copying feels wrong. I'd rather describe the extra resources and the destinations as part of a phase execution or it should be i

Re: NullPointerEXception , Sorry to insist guys

2006-03-01 Thread Barrie Treloar
On 3/1/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > I cannot go out of my problem (and now its becoming urgent) of > NullPointerEXception while invoking the site plugin via : mvn site > I use maven 2.02. If you aren't going to read the posting guildelines when discussing a bug, how do you ex

Re: [m2] How do I stop using a SNAPSHOT from my local repository?

2006-03-01 Thread Barrie Treloar
> This would seem to present a problem if you are working on a project > simultaneously with other developers who may be deploying to the internal > remote repository. Suppose you add a new method to a common library and then > change another project to use that method. While you're testing, a

Re: pom settings vs. settings.xml, the eclipse plugin, and maven-proxy

2006-03-05 Thread Barrie Treloar
On 3/6/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > I have run into a problem -- at least I think its a problem, in using > maven2, the eclipse plugin, and maven-proxy. I have maven-proxy > configured and proxying external repositories (ibiblio and codehaus) for > dependencies, and I am bypassing

Re: release:prepare errors

2006-03-09 Thread Barrie Treloar
On 3/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The pom in the scm, I then check out the project then, I can run maven from > the work directory. > > Then the release:prepare replaces the current pom with the tag pom that is > generated. > > Can someone help with this problem? > > Thanks

Re: [m2] install:install-file not working?

2006-03-09 Thread Barrie Treloar
Brett's is the correct answer, the command line looks like a cut-n-paste error as the file locations looks correct for the pom details given. On 3/10/06, Prasad Kashyap <[EMAIL PROTECTED]> wrote: > artifactId defined in the command line and the one used in the pom are > different. > > Cheers > Pra

Re: [m2] Internal Repositories

2006-03-10 Thread Barrie Treloar
On 3/10/06, Khin, Gerald <[EMAIL PROTECTED]> wrote: > Hi! > > Being a newbie to maven, I wonder if this idea could work: [del] The first question that springs to mind is Why? What benefit is there to restrict maven in this way, it makes no sense. Control the version numbers of artifacts that y

Re: [M2] surefire

2006-03-19 Thread Barrie Treloar
On 3/20/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > Am I the only one who find it very annyoing the fact that Surefire try > to construct every classes on the src/test/java path even when they > aren't test case or suit? The problem with this approach is that I > can't put my stub implementa

Re: Handling Eclipse plugin development in Maven?

2006-03-23 Thread Barrie Treloar
On 3/24/06, dan tran <[EMAIL PROTECTED]> wrote: > I am looking forward to see the M2 plugin. +1 here. There is some talk about maven and eclipse at eclipse con. There appears to be enough interest around this area that we should start collaborating and get this sorted out. --

Re: [M2] Moving results to a server

2006-04-07 Thread Barrie Treloar
On 4/8/06, Lee Meador <[EMAIL PROTECTED]> wrote: > Now I would like to do something (that's the part for which I don't know the > name) that will send the tar.gz file to an internal Solaris server via FTP. > I just want to FTP the one file into a particular folder over there. Its the > home folder

Re: behind firewall

2006-04-12 Thread Barrie Treloar
On 4/12/06, luca rasconi <[EMAIL PROTECTED]> wrote: > Hi all, > im behind a firewall and i configred a maven-proxy host. > > in my ~/.m2/setting.xml i setted this: [del] > [INFO] Repository 'central' will be blacklisted Have you defined a mirror for "central" in your settings.xml to point to your

Re: use of proxies

2006-04-12 Thread Barrie Treloar
On 4/13/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: > All I'm attempting to do is prevent builds from going to the maven > repository. I have set up one machine (build.corp.upromise.com) that has > everything from my .m2/repository directory (I copied it there). The first question is: why? Mav

Re: Blog entry

2006-04-19 Thread Barrie Treloar
On 4/19/06, Ray Tsang <[EMAIL PROTECTED]> wrote: > To be honest, I have to agree w/ the blog. I would've written one > about the same thing. Worse, I really question the need for continuum to exist. I don't really understand why cruisecontrol was not extended to support the feature set that was

Re: Blog entry

2006-04-19 Thread Barrie Treloar
On 4/20/06, Rinku <[EMAIL PROTECTED]> wrote: > > By that logic - just one development language/platform should be enough > for all s/w development, why re-invent and invest in other > languages/platforms?? > > I don't suppose there's anything stopping anyone from raising feature > requests for Crui

Re: [M2-book]

2006-04-30 Thread Barrie Treloar
On 5/1/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Sun, 30 Apr 2006, Sebastien Arbogast wrote: I've done some research and it appears that the latest version in SVN of the plugin does no longer have this bug. The next release of maven-resources-plugin is 2.2. Does this mean it was fixed

Re: Assembly plugin ignoring dependencySets

2006-05-26 Thread Barrie Treloar
On 5/27/06, William Simons <[EMAIL PROTECTED]> wrote: Ok it seems that the problem was in my pom. I have my packaging set to pom since there is no java source. Once I changed the packaging to jar, the dependencies were included in the assembly... However, an empty jar was built. Is there a pac

Re: Plugin Configuration

2006-05-29 Thread Barrie Treloar
On 5/29/06, rebels_mascot <[EMAIL PROTECTED]> wrote: Is there a website where you can get a list of configuration properties for a plugin or the goals available? Or is there a command available to list these details? Besides the help command listed by someone else, check out the plugin's web p

Re: Understanding modules

2006-05-29 Thread Barrie Treloar
As you've already said, calling a 'mvn install' in the root dir works, because there you've defined your ! This is the benefit (and sometimes a curse) when working with Maven. That is, you are dependent upon binary files not the source files. This makes sharing and managing your projects easi

Re: [m2] assembly from parent

2006-05-30 Thread Barrie Treloar
Now Maven is calling the assembly plugin in each module. It then fails because there is no package-all.xml in the module src tree (package-all.xml lives in the parent src). Is this the expected behaviour? Probably, because your modules all specify this pom as the parent right? So it gets inheri

Re: Free book on maven 2.0

2006-06-01 Thread Barrie Treloar
On 6/1/06, Brett Porter <[EMAIL PROTECTED]> wrote: http://maven.apache.org/articles.html It could probably stand to be more prominent - I might put that link in the left nav. I'd be more than happy to plaster it all over the site... but by the same token I don't want to show any favourtism :)

Re: Free book on maven 2.0

2006-06-01 Thread Barrie Treloar
On 6/1/06, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: On 6/1/06, Brett Porter <[EMAIL PROTECTED]> wrote: > Well, then - the users have spoken! > > http://maven.apache.org/articles.html Btw, is the printed book available for sales somewhere? Have found no pointer on the Mergere site and Amazon d

Repository Scanners.

2007-08-02 Thread Barrie Treloar
I'm using Archiva 1.0 Alpha 2, When I edit a repository definition and disable "Scannable" and save my changes, the changes appear to be ignored on the Repositories screen. There also appears to be no information about how much work is left in a scan. When I watch the logs from the repository sca

maven-clean-plugin: does true work for you?

2007-08-09 Thread Barrie Treloar
With mvn 2.0.7 and maven-clean-plugin:2.1.1 In my parent plugin maven-clean-plugin true logs false In my module plugin

Re: maven-clean-plugin: does true work for you?

2007-08-11 Thread Barrie Treloar
On 8/10/07, Max Bowsher <[EMAIL PROTECTED]> wrote: > First, true is the default! Ahh, I hadn't thought that through since I rely on this in other areas anyway. > Second, the default behaviour is for s to be *merged* - > hence configuration.filesets.fileset.directory=logs in the parent is > overri

Re: maven-clean-plugin: does true work for you?

2007-08-16 Thread Barrie Treloar
On 8/13/07, Max Bowsher <[EMAIL PROTECTED]> wrote: > Barrie Treloar wrote: > > On 8/10/07, Max Bowsher <[EMAIL PROTECTED]> wrote: > >> Try - not tested, but I think > >> that'll do what you want. > > > > Is this an undocumented feature as

Re: maven-clean-plugin: does true work for you?

2007-08-16 Thread Barrie Treloar
It would help if I thought first before typing :) maven-clean-plugin logs false Works a treat: maven-clean-plugin 2.1.1

Re: Proxying internal repositories?

2007-08-23 Thread Barrie Treloar
On 8/24/07, Brett Porter <[EMAIL PROTECTED]> wrote: > Hi Barrie, > > Sorry I missed your earlier post. I think this is a valid use case. > > With the changes I'm making for MRM-462, it should be again possible > to proxy file:// repositories, though I think even with the current > release you could

Re: Maven insist to fetch sibling module from repository

2007-08-23 Thread Barrie Treloar
On 8/24/07, Zarick Lau <[EMAIL PROTECTED]> wrote: > Dear Users and Developers, > > In a multi-module project (1 parent with 2 sub-module), > sub-module-b deps on sub-module-a, when I run maven under > the top-level (parent), > > mvn process-resources > > Maven will try to grab sub-module-a from rep

Re: Maven insist to fetch sibling module from repository

2007-08-24 Thread Barrie Treloar
> > Can you paste the error message? > > I can reproduce the issue, if sub-module-b packaing == jar, no error. > My error occur only when packagin == ear... Do you happen to have assembly in there somewhere to? I have a similar error where an non-jar dependency (a zip file) is included in a modul

Re: Maven insist to fetch sibling module from repository

2007-08-26 Thread Barrie Treloar
> No, I sub-module and the parent module does have any assembly defined. > > Btw, I tried to create sample project with empty source, but just hold > the "parent" + "sub-module-a" and "sub-module-b", the problem still > exists. If you can create a simple reproducable project then attach it as a JI

Re: Community review of the next commons-logging pom

2007-08-27 Thread Barrie Treloar
On 8/28/07, Jörg Schaible <[EMAIL PROTECTED]> wrote: > Michael McCallum wrote on Tuesday, August 28, 2007 12:34 AM: > > I've generally stopped using dependencyManagement in favour of > > dependency composition > > Why? Only with dependencyManagement you're able to manage transitive versions. Micha

Re: command line compile crashes Eclipse

2007-09-10 Thread Barrie Treloar
On 9/11/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > do you mean that you do the mvn compile outside of eclipse? I didn' t > think that eclipse pick up external changes if you don' t explicitly > do a refresh It doesn't, unless you turn that feature on yourself. (Windows -> Preferences -> Gener

Re: how to specify the eclipse code formatter profile

2007-10-14 Thread Barrie Treloar
On 10/12/07, Dan Tran <[EMAIL PROTECTED]> wrote: > > maven-eclipse-plugin > 2.5-SNAPSHOT [del] > then run 'mvn eclipse:configure-workspace' at your root Note this is a SNAPSHOT version of the eclipse plugin, so you will need to wait until it is released, point to the S

Re: Internal (company) repository layout best practices

2007-10-21 Thread Barrie Treloar
On 10/18/07, Borut Bolčina <[EMAIL PROTECTED]> wrote: > Hello, > > can you state pros and cons for your company's maven internal repository > layout. Why (for example) have "internal-snapshots" and "internal" repos. It is best practice to separate releases from snapshots. In general other people a

Re: How to rebuild modules that depend on a changed module?

2007-12-04 Thread Barrie Treloar
On Dec 3, 2007 5:33 PM, Kees van Dieren <[EMAIL PROTECTED]> wrote: > This would be helpful for us as well. We have a pom.xml with multiple > modules, e.g. > modA > modB > modC > modD > modB needs modA, modC needs modB. > > When modA is modified, modA, modB and ModC should be rebuilded; modD should

Re: A nice circle: parent pom in remote repository

2007-12-17 Thread Barrie Treloar
> > We put internal repositories in settings.xml -- in fact we repackage > > Maven with that custom settings.xml and distribute it internally. > > > > How often do your repo urls change? (And why?) > > > Our current repository is Proximity, which won't be releasing a stable > version, so we are lo

Re: Don't kill the messenger

2007-12-21 Thread Barrie Treloar
On Dec 21, 2007 8:35 AM, Brett Porter <[EMAIL PROTECTED]> wrote: > Or set it to never in the repository definition and then use -U to use > it when you want. Or never use snapshots. Always build a locally installed patch version and depend on that. See http://docs.codehaus.org/display/MAVENUSER/

Re: For those behind an NTLM proxy

2008-01-19 Thread Barrie Treloar
On Jan 18, 2008 7:04 PM, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Hi all, > I would like you to know that I found CNTLM, that works better than > NTLM APS (and does not need to be patched): > http://cntlm.sourceforge.net/ > I updated the wiki page too: > http://docs.codehaus.org/display/MAVENU

Re: problem with custom check in checkstyle plugin

2008-02-04 Thread Barrie Treloar
On Sep 11, 2007 11:38 PM, Michael Fortin <[EMAIL PROTECTED]> wrote: > Hello. > I've been trying to get a custom check installed and can't get it run. > I've followed the directions from the maven site almost to the letter > but it keeps failing on the packagenames.xml. If I take my custom check >

Re: Using Custom Developed Checkstyle Check Modules

2008-02-04 Thread Barrie Treloar
On Nov 19, 2007 9:30 PM, DanBarker85 <[EMAIL PROTECTED]> wrote: > > Thanks for your response. Adding the jar as an extension in the build was > the original option I chose, as was detailed in the Maven tutorial. I think > i've tried all combinations, but maybe it doesn't find the jar file I foun

Re: problem with custom check in checkstyle plugin

2008-02-06 Thread Barrie Treloar
On Feb 6, 2008 8:37 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Funny how things in the universe sometimes occur at the exact same time... > > Yesterday I completely rewrote the example about using custom checks for > the Checkstyle plugin. It is now a complete example with all code > necessar

Re: problem with custom check in checkstyle plugin

2008-02-08 Thread Barrie Treloar
On Feb 9, 2008 9:03 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > Barrie Treloar wrote: > > On Feb 6, 2008 8:37 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > >> Funny how things in the universe sometimes occur at the exact same time... > >> > >

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-07 Thread Barrie Treloar
On Sat, Mar 8, 2008 at 9:18 AM, EJ Ciramella <[EMAIL PROTECTED]> wrote: > We're currently stuck on 2.0.5 - the problem is getting an entire > organization to upgrade. Aside from the, "it works better" response, > typically, there needs to be a financial reason explaining why we are > asking eve

Re: [POLL] Why are you not able to use the most recent maven release?

2008-03-10 Thread Barrie Treloar
See http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins and the final post that started that page at http://www.nabble.com/forum/Permalink.jtp?root=7845254&post=7884079&page=y I can't find a JIRA, I would have thought I raised one... Oh well. I never found the time to re-investigate

Re: [ANN] Maven Dependency Plugin 2.0-alpha-4 Released

2007-04-02 Thread Barrie Treloar
On 4/2/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: Barrie, you'll probably need to clear that info from your maven-proxy. Done, and sorted. I figured it was something to do with my environment. More incentive to get Archiva complete and working. Thanks ---

eclipse:install-plugins and features?

2007-04-04 Thread Barrie Treloar
I want to split my RCP build into two parts. Part 1) contains the GIS plugin which is huge ~400Mb of data and rarely needs to be built. Part 2) contains the RCP application which would depend upon the GIS plugin. Ideally I would like Part 1) to also contain a feature that described the plugins

Re: eclipse:install-plugins and features?

2007-04-10 Thread Barrie Treloar
Has anyone else found they needed to do something like what I am doing? It feels like I should also be adding the features to the eclipse:make-artifacts and getting eclipse:install-plugins (or eclipse:install-features) to do the work. If I go and create eclipse:install-features, I'm wondering ho

Re: [IMPORTANT] Maven 2 Plugin Auto-Versioning Considered Dangerous

2007-04-11 Thread Barrie Treloar
On 4/12/07, John Casey <[EMAIL PROTECTED]> wrote: Here's an example: [del] Having created this project with its assembly descriptor, but WITHOUT A VERSION IN THE ASSEMBLY PLUGIN DECLARATION, I commit my project. Now, some time later, after the next version of the assembly plugin fixes this bug,

Re: Maven users in the industry

2007-04-11 Thread Barrie Treloar
On 4/12/07, Erez Nahir <[EMAIL PROTECTED]> wrote: Here in Cisco we use Maven2. If you can, when your presentation is ready, please share it, we still have some resistance from old make/ant supporters... How can there be resistance? Once you get things up and running m2 is so much more simpler t

Re: maven-eclipse-plugin has problem with muli-project resources

2007-04-16 Thread Barrie Treloar
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote: Hi, it appears that in order for eclipse to see relative path links like this, an entry needs to be made to the .project file with the linkeResources tag. If you manually add a src folder in eclipse, this is the change it makes in .project. Is t

Re: maven-eclipse-plugin has problem with muli-project resources

2007-04-17 Thread Barrie Treloar
On 4/17/07, Davis Ford <[EMAIL PROTECTED]> wrote: Hi Barrie, I understand about create a separate resource module that can be shared. Let me ask a quick question though. You mention you don't use a flat structure. This isn't a flat structure as far as i can tell...it is hierarchical. Fair en

Re: How to Build Eclipse RCP Application using Maven

2007-04-17 Thread Barrie Treloar
On 4/17/07, Ramesh Babu Pokala - TLS, Chennai <[EMAIL PROTECTED]> wrote: Hi All, How to build a Eclipse RCP Application using Maven? What are the steps I need to follow for the same? Besides searching the nabble archives for more on this, have a look at: See "Building Eclipse RCP and RC

Re: How to Build Eclipse RCP Application using Maven

2007-04-17 Thread Barrie Treloar
On 4/18/07, Ramesh Babu Pokala - TLS, Chennai <[EMAIL PROTECTED]> wrote: I saw this site already but there is no step by step procedure to build application. Do we need pde-maven-plugin to build RCP? Can u please give me a complete description about this? Err, you go to the pde-maven-plugin

Re: How to Build Eclipse RCP Application using Maven

2007-04-17 Thread Barrie Treloar
On 4/18/07, Ramesh Babu Pokala - TLS, Chennai <[EMAIL PROTECTED]> wrote: Hi, The following authentication error is coming while trying to install your eclipse plugins. The following command deploying eclipse plugins to the NECLUES Repo/. How to install eclipse plugins in local repo (.m2 repo)

Re: Maven builds and eclipse

2007-04-18 Thread Barrie Treloar
On 4/18/07, Kris Massey <[EMAIL PROTECTED]> wrote: Hi all, Im having some problems getting eclipse to work with the mvn eclipse:eclipse task My build creates the correct contents in the target file/WEB-INF/lib folder, however when I run the eclipse task it picks up 3 extra jars, Ive got no idea

Wagon Deploy error: java.io.IOException: Read end dead

2007-04-26 Thread Barrie Treloar
I am getting an intermittent problem when deploying artifacts to our server. It seems to happen on large files (but I think it has happened on other ones). This particular file is 500Mb in size. The error "Read end dead" has occurred at different amounts of data sent in the upload process. Some

Re: Maven surefire question

2007-04-27 Thread Barrie Treloar
On 4/28/07, Si'mon <[EMAIL PROTECTED]> wrote: When a JUnit test fails I would like Maven:surefire to exit and not run additional tests. Anyone know how to do this? It keeps going for some time and then stops but I want it to come to a screeching halt right then. As Wayne suggests this sounds

Re: Eclipse RCP/PDE building and Maven

2007-05-06 Thread Barrie Treloar
On 5/6/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote: I think we need an Eclipse section in the wiki and put all the pages under that Yes please. I created http://docs.codehaus.org/display/MAVENUSER/Eclipse+Integration to start hanging all this together. Also another thing I wanted to do is c

Re: APP-INF/lib and Developer Setup

2007-05-09 Thread Barrie Treloar
On 5/9/07, Nunn, Gerald <[EMAIL PROTECTED]> wrote: In Maven I found an example of getting jars into APP-INF/lib from the Maven repository here http://maven.apache.org/plugins/maven-ear-plugin/howto.html. I'm developing a WebLogic Portal application and in order for developers to iteratively wo

Re: Eclipse RCP/PDE building and Maven

2007-05-16 Thread Barrie Treloar
> Having them in the repo enables sharing them between the team, and I > can imagine that at some point we'll be able to build and test without > the installation but as jetty:run does with J2EE. Who on the team is not going to have Eclipse installed? Even on a build server you would just install

maven-release-plugin:2.0-beta-5 can't find CVS passwords

2007-05-17 Thread Barrie Treloar
[INFO] [release:prepare] [INFO] Resuming release from phase 'scm-check-modifications' [INFO] Verifying that there are no local modifications... [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/cvs/sapol -n -q update -d [INFO] Working directory: D:\rel-0.7\sapol [ERROR] Didn't find passw

Re: maven-release-plugin:2.0-beta-5 can't find CVS passwords

2007-05-17 Thread Barrie Treloar
On 5/18/07, Barrie Treloar <[EMAIL PROTECTED]> wrote: [INFO] [release:prepare] [INFO] Resuming release from phase 'scm-check-modifications' [INFO] Verifying that there are no local modifications... [INFO] Executing: cvs -z3 -f -d :pserver:[EMAIL PROTECTED]:/cvs/sapol -n -q

Re: Maven not respecting order of profiles passed in on the command line

2007-06-02 Thread Barrie Treloar
On 6/3/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 6/2/07, EJ Ciramella <[EMAIL PROTECTED]> wrote: > I hate to bump my original email - but can someone from the dev side > please let me know what to expect here? > > We're 100% wedged at this point. The issue you linked to [1] is marked fixed

Re: Maven not respecting order of profiles passed in on the command line

2007-06-04 Thread Barrie Treloar
On 6/4/07, EJ Ciramella <[EMAIL PROTECTED]> wrote: Please enlighten me - how do you avoid using profiles entirely? You will need to describe your use case. Basically a profile should only be used to either a) externalise OS dependent settings, e.g. location of eclipse installation. In gener

Re: Maven not respecting order of profiles passed in on the command line

2007-06-05 Thread Barrie Treloar
You probably want to read http://www.nabble.com/What-is-the-Best-practice-for-generating-variations-of-an-artifacts--tf3414040s177.html I'm still confused over your build environment. Maven has one artifact per pom. When you release your artifact it should be reproducible. But having to select a

org.apache.mina:build:1.0.* not available in Maven Repo

2007-06-24 Thread Barrie Treloar
The pom's are there but no jars. I'm going to pester the Mina group separately but thought would ask here too. Anyone know why? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: org.apache.mina:build:1.0.* not available in Maven Repo

2007-06-24 Thread Barrie Treloar
On 6/25/07, Barrie Treloar <[EMAIL PROTECTED]> wrote: The pom's are there but no jars. I'm going to pester the Mina group separately but thought would ask here too. Anyone know why? Err, I can probably answer my own question, build is not a jar project. Apologies, I sho

dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-27 Thread Barrie Treloar
When I run dependency:analyze on my module I get: [INFO] Found Resolved Dependency / DependencyManagement mismatches: [INFO] Ignoring Direct Dependencies. [INFO] javax.servlet:servlet-api:jar was excluded in DepMgt, but version 2.3 has been found in the dependency tree. mvn site's Dependency Tr

eclipse:eclipse and xmlbeans-maven-plugin generated source

2007-06-29 Thread Barrie Treloar
xmlbeans-maven-plugin uses the schema *.xsd files to create target/generated-sources and from there to compile into classes. I'd like to somehow tell eclipse:eclipse to include target/generated-sources on the classpath. The is because xmlbeans-maven-plugin creates *.class files which don't have

Re: dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-29 Thread Barrie Treloar
On 6/29/07, Heinrich Nirschl <[EMAIL PROTECTED]> wrote: On Thu, 2007-06-28 at 10:20 +0930, Barrie Treloar wrote: > When I run dependency:analyze on my module I get: > > [INFO] Found Resolved Dependency / DependencyManagement mismatches: > [INFO] Ignoring Direct Dep

Re: dependency:analyze incorrectly using excludes from DepMgt section.

2007-06-29 Thread Barrie Treloar
> I only excluded javax.servlet from EasyConf and not commons-logging, > so I shouldn't be getting this error. Ah, now I see what you mean. This does indeed look strange, especially the wording of the message. On the other hand, it is just an INFO and not a WARNING like the other problems found b

Re: dependency:analyze incorrectly using excludes from DepMgtsection.

2007-06-30 Thread Barrie Treloar
On 6/30/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: >Ah, now I see what you mean. This does indeed look strange, especially >the wording of the message. On the other hand, it is just an INFO and >not a WARNING like the other problems found by the dependency:analyze >goal. I don't know if this beh

maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-23 Thread Barrie Treloar
Has anyone else noticed that maven-dependency-plugin:copy-dependencies:2.0-alpha-4 checks for updates (at least daily) for new versions of released artifacts? I haven't taken the step to see if this is the problem. I wanted to find out if anyone else had noticed the problem first? Cheers -

Re: maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-23 Thread Barrie Treloar
On 7/24/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: That goal relies on Maven to do the resolution (@requiresDependencyResolution test). If you're seeing some new behavior, have you updated Maven itself recently? I don't know if it is new behaviour. We are using 2.0.7, its just something I hav

Re: maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-24 Thread Barrie Treloar
On 7/24/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: I've never seen this before, and use mdep quite extensively. Can you paste a log? That's good to hear. It could well be something specific to our environment. Whoops, After preparing more details for this response, I noticed where the probl

Re: building assemblies from the top level project directory - binding to lifecycle stages...

2006-06-06 Thread Barrie Treloar
On 6/6/06, EJ Ciramella <[EMAIL PROTECTED]> wrote: Yeah, I bound this to the verify stage properly, but the outstanding question is how can the directory structure get passed from the parent pom to the child? When the parent pom calls the child one, everything is supposed to be based on the chil

Re: Default goals with maven 2

2006-06-13 Thread Barrie Treloar
A JIRA is was raised on 19/Jul/05 for this. http://jira.codehaus.org/browse/CONTINUUM-243

[m2.0.4] version ranges in parent declaration fail to resolve

2006-06-15 Thread Barrie Treloar
I was hoping to be able to do something like the following to specify my parent pom, so that it would automatically obtain the latest version. The parent pom doesn't change often but we should be using the latest version automatically if it does. Dummy-groupId Dummy-artifactId

Re: Adding extra modules to parent pom does not create an extra project in continuum

2006-06-16 Thread Barrie Treloar
> If I re-add the pom file via Maven 2.0+ Project link (I am using > file:// urls to do this) I get a second parent project but not > sub-modules. which pom do you add? parent or module? If I re-add the [parent] pom... I get a second parent pom but no extra sub-modules that have been added. >

Re: Adding extra modules to parent pom does not create an extra project in continuum

2006-06-16 Thread Barrie Treloar
> Speaking of definitions, adding support for build definitions in the pom.xml > CI configuration for continuum would be ideal. It would make re-adding > whole trees much more palatable, since less manual re-configuration would be > necessary. File an issue and we'll look if we can do it. This

Re: Adding extra modules to parent pom does not create an extra project in continuum

2006-06-19 Thread Barrie Treloar
On 6/17/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > > But when adding the module pom I think it is failing to find the > > parent pom (or even looking for it) and gives you an error that the > > version for the dependency is mandatory and missing. > > > Pe

[m2.0.4] assembly fails during install when format is dir

2006-06-19 Thread Barrie Treloar
Back on 2005-11-09, ramfree17 send an email [m2] assembly:directory requires an install? (see http://www.nabble.com/-m2--assembly%3Adirectory-requires-an-install--t512277.html#a1387406) This thread was hijacked and no answer was provided. I am finding that if I removed the dir from my assembly

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-19 Thread Barrie Treloar
When I run with -X the root cause error is: Caused by: java.io.FileNotFoundException: \target\-0.0.1-SNAPSHOT-bin. dir (Access is denied) I should have also included: at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at or

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-19 Thread Barrie Treloar
On 6/20/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: AFAIK the assembly plugin only supports the following formats: zip, bzip2 and tar. I never heared of the 'dir' format. Can you point me to the documentation where you read of this feature? Sure, it's not well documented and actually buried in th

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-19 Thread Barrie Treloar
So why does the "dir" format want to install the artifact but the "zip" format doesn't? Now that I have zip only I noticed this during the install phase: [INFO] [install:install] [INFO] Installing \\target\-0.0.1-SNAPSHOT.jar to \.m2\repository\\\0.0.1-SNAPSHOT\-0.0.1-SNAPSHOT.jar [INFO] Instal

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-20 Thread Barrie Treloar
On 6/20/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: Did you try using a different phase and / or goal? I personally only include and configure the asembly plugin and don't attach it to a specific phase or goal. [del] But still I never used the dir format. My distribution is only created once. W

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-20 Thread Barrie Treloar
What about re-running of the build lifecycle. If you are finding that your lifecyles are being re-rerun check http://jira.codehaus.org/browse/MASSEMBLY-37. You should not be using the "assembly" goal but instead the "attached" goal (and dont specify a phase) The pom should look like:

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-20 Thread Barrie Treloar
On 6/21/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: > What about re-running of the build lifecycle. If you are finding that your lifecyles are being re-rerun check http://jira.codehaus.org/browse/MASSEMBLY-37. You should not be using the "assembly" goal but instead the &

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-20 Thread Barrie Treloar
I've found a JIRA issue that already talks about dir format and repository installation http://jira.codehaus.org/browse/MASSEMBLY-39 However it is closed and the documentation doesn't really resolve the issues around "directory" format not being something that should be placed into the repository

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-20 Thread Barrie Treloar
On 6/21/06, dan tran <[EMAIL PROTECTED]> wrote: you may want to try http://maven.apache.org/plugins/maven-assembly-plugin/directory-inline-mojo.html The "attached" goal was the one I needed. I don't see the "dir" format being any different than the other formats being created, except that dir

Re: Difference between assembly:assembly and assembly:attached

2006-06-20 Thread Barrie Treloar
On 6/21/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: They do the same thing... but differs in when you use them. assembly:attached is used inside poms, i.e. mvn package assembly:assembly is the command-line version , i.e. mvn assembly:assembly Plus assembly:attached does not fork the lifecy

Re: [m2.0.4] assembly fails during install when format is dir

2006-06-21 Thread Barrie Treloar
On 6/21/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: Strange thing is: my dependencies are like to one you descibe but my builds are not re-run. assembly:assembly goal in pom = re-run of lifecycle assembly:attached goal in pom = no re-run of lifecycle -

Re: Maven best practices - company-wide local repository?

2006-06-21 Thread Barrie Treloar
In case of using an internal repository - what is the analog to mvn install? For instance I want to share a third party artifact and do something like mvn install:install-file-Dfile=./jta-1.0.1B.jar -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar This

Re: Producing multiple jars and some directories: custom target?

2006-06-21 Thread Barrie Treloar
And my bin.xml looks like this: > > bin > > dir > > false > > > > aardrock.cheetah.cheetah-core > aardrock.cheetah.launcherf > > > plugins/${artifactId} outputDirectory>

Re: Producing multiple jars and some directories: custom target?

2006-06-21 Thread Barrie Treloar
This error is because your assembly is not including any files to create. I'm having trouble getting the include tag in the assembly descriptor to work. I think I would have preferred the moduleSet includes to be instead of this custom : separated format. It probably would be nice to see s

Re: Assembly and multi-levels multi-modules

2006-06-21 Thread Barrie Treloar
I think this is a really cool idea I tried to do it for my project but unfortunately I couldn't find a way to reference the assembly of the subModule in the moduleSet of the parent module. The submodule assembly gets set as an 'attached' artifact and not the main one.. by the tag in the modu

Re: Inconsistency between JAR and Assembly

2006-06-26 Thread Barrie Treloar
I have the same issue that has no response to it in the archives, that is the Class-Path entry in manifest has --SNAPSHOT but the assembled files resolve SNAPSHOT to the dated version. Does anyone know the answer? Thanks Bae -

  1   2   3   4   5   6   7   8   9   10   >