polyglot extension pom.yml fails to build parent and nested children projects from scratch

2019-05-17 Thread Adam Hardy
Hi Listers I just converted a project over to polyglot yml poms. It is a new project anyway, so it's really quite simple, just a parent pom and two child projects and our team has been sharing it via git but nobody has packaged it or installed the jars anywhere. We've just been testing stuff an

Not able to read jars in repo intermittently

2018-03-26 Thread Adam Hardy
I use a Jenkins server which is administered by another team. I get the following errors intermittently. The team claim the issue is "the maven repository is not multi write safe. It's possible several jobs are updating the jar files at the same time and corrupt them. If that's the case, the on

Handling password

2017-12-01 Thread Adam Hardy
As part of the build process, I create an nginx reverse proxy docker image using docker-maven-plugin. I run debian's apt-get package manager to install a few unix tools into the nginx docker image. However I'm working behind a corporate proxy server that demands a username:password. I have a s

Re: Auto-increment semantic version number for CD pipeline with git and docker

2017-11-17 Thread Adam Hardy
On Thursday, November 16, 2017 23:10 GMT, Stephen Connolly wrote: > Only use release versions for releases > > For any builds in between releases, always use a SNAPSHOT. If you don’t > want to commit to a version (which it sounds like you don’t) then pick > either SNAPSHOT or major-SNAPSHOT (eg 1

Re: Auto-increment semantic version number for CD pipeline with git and docker

2017-11-16 Thread Adam Hardy
On 16/11/17 20:40, Stephen Connolly wrote: I think you’ll want to keep master with a version of at least SNAPSHOT or 1-SNAPSHOT and wholesale replace it with the real build version number on the CI server and just have that version in the tag. The issue with using release versions on master is t

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Adam Hardy
The users of my plugin define a dependency which the mojo unpacks and extracts certain files from. You know that such a plugin already exists? maven-dependency-plugin:unpack / unpack-dependencies ? https://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Adam Hardy
On 12/09/17 18:05, Adam Hardy wrote: when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to my mind: Why do you need t

Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-12 Thread Adam Hardy
Hi, when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? Presumably I call something like project.getPlugin(key).getDependencies()? If the 'key' required for proje

Problems developing mojo tests with maven-plugin-testing-harness

2017-07-24 Thread adam . hardy
Hi All I'm writing a mojo and using maven-plugin-testing-harness. Is there an issue with Java 8 streams or lambdas? When I include a method on my mojo with some lambda functionality, I get this exception when it tries to generate the mojo: [ERROR] Failed to execute goal org.apache.maven.plugins:

Re: Failing tests on bad performance

2011-03-24 Thread Adam Hardy
Wayne Fay on 22/03/11 17:03, wrote: I need to be able to fail tests if the operations they perform are too slow. ... write the unit test with a simple test on the number seconds elapsed. ... I'm testing a business object that writes stuff to the database through DAOs, and my performance bottlenec

Failing tests on bad performance

2011-03-22 Thread Adam Hardy
I need to be able to fail tests if the operations they perform are too slow. I searched in google and found people using quite a few different plug-ins including JMeter plug-ins, like Sonar-plugins.JMeter and so forth, some out-of-date looking and some undocumented. I figured I'd now spent mo

Re: basic maven lifecycle - howto always last?

2010-06-11 Thread Adam Hardy
possible. You can only bind to a specific phase and if you don't execute that phase you will not get the output. The only solution I can think of is some kind of script that executes maven twice, like this: mvn %1 mvn help:active-profiles /Anders On Thu, Jun 10, 2010 at 12:17, Adam Hardy

Re: basic maven lifecycle - howto always last?

2010-06-10 Thread Adam Hardy
or install. Or can I bind it to multiple phases? Adam Hardy on 07/06/10 14:35, wrote: I want help:active-profiles to be executed once at the start of any run I do, so I have put this in my superpom: org.apache.maven.plugins maven-help-plugin

probably basic maven lifecycle question

2010-06-07 Thread Adam Hardy
Hi, I want help:active-profiles to be executed once at the start of any run I do, so I have put this in my superpom: org.apache.maven.plugins maven-help-plugin validate active-profiles active-profiles

Re: AW: Integration testing best practices

2009-04-09 Thread Adam Hardy
I use (3) as well. I haven't got many integration tests - I just do it to make sure it works. But I'd be interested to find out what kind of metrics and reports people use when doing intensive integration testing. Rouvinez, Jean-Claude on 09/04/09 07:42, wrote: Hi, We use the solution 3 su

Re: strange error with hopefully easy solution?

2009-04-02 Thread Adam Hardy
Just to be clearer, I have inner classes in several unit tests but this is the only one which is causing the problem. Adam Hardy on 02/04/09 18:09, wrote: Ah, the penny has finally dropped! The TestRunManagerTest.class does have an inner class, despite my previous complete conviction that

Re: strange error with hopefully easy solution?

2009-04-02 Thread Adam Hardy
I think the easy solution is to add the public no-args constructor to your inner class, as it's telling you to do. I've run into this before, surefire trying to instantiate all my classes, including inner classes. -- Bryan -Original Message- From: Adam Hardy [mailto:adam.ma...@c

Re: strange error with hopefully easy solution?

2009-04-02 Thread Adam Hardy
Wayne Fay on 02/04/09 17:10, wrote: so the TestRunManagerTest$1 is obviously the result of jdk1.6.0_12 messing up the compilation, right? Run that $1 class thru JAD and see what the source code looks like. You do know where $1 files usually come from, right (anonymous inner classes) so this is

Re: strange error with hopefully easy solution?

2009-04-02 Thread Adam Hardy
Hi Martin, you had me worried there for a moment, thought I'd emailed the wrong list! But anyway, I'll be surprised if you can reproduce it unless I send you my whole project. Actually perhaps I should try recreating the eclipse project. however here is the pom.xml - unless the mailing list

strange error with hopefully easy solution?

2009-04-02 Thread Adam Hardy
My search results showed nothing in google or anything relevant in the archives, but I have an intractable error in my test batchrun, which seems to be a compilation problem. The test is fine when executed in isolation. This is what happens when I run all my test with "mvn clean test": Tests

getting 3rd party javadoc for deps into local repo

2008-12-08 Thread Adam Hardy
I'm using mvn dependency:source -Dclassifier=javadoc to try to get maven to retrieve the javadoc jars for all my dependencies from the central repo and put them into my local repo. It's not working though. In fact, it seems that the 'classifier' option is completely ignored. Maybe I'm barkin

Re: Getting to the failed tests quickly

2008-05-14 Thread Adam Hardy
Wayne Fay on 14/05/08 16:03, wrote: I am using surefire to run our unit tests. All goes well until a test fails then I have to do some major seaching to find the problem. The problem is that there are loads of files created for the set of tests (one per class) and no indication of which file I

Re: JDK logging in surefire

2008-05-13 Thread Adam Hardy
mentioned). If you're not seeing the system.out prints in Eclipse, it could be because this flag is enabled. I think you're more after how to configure the formatting but I thought I'd mention it anyhow. Regards, Randall -Original Message- From: Adam Hardy [mailto:[EMAIL

JDK logging in surefire

2008-05-13 Thread Adam Hardy
I'd like surefire to give me the screen output which I normally see when running my tests in Eclipse. I see surefire has piped one line of logging from this particular test into the XML report output, and that looks suspiciously like Log4j output. I configure my JDK logging via the default lo

Looking for a way to execute integration tests multiple times using different configs

2008-05-13 Thread Adam Hardy
I'm working on a project using JPA, and since the project is a framework, it is strictly standard JPA with no proprietary code for any particular JPA provider. I have an extensive set of integration tests which unfortunately fail in one place or another depending on which JPA provider I conf

Re: maven release failure: Content is not allowed in prolog

2008-05-13 Thread Adam Hardy
I see this sometimes when I have accidentally and unknowingly broken the header by putting a random character in at the beginning - anything like - or x will cause that. Danilo Tuler on 09/05/08 21:20, wrote: Hi, your XML does not start with the XML processing instruction or a byte order mar

Re: [m2] can't get hibernate plugin to work with hsql

2008-04-28 Thread Adam Hardy
Why does the JDBC URL has shutdown=true as a parameter? Surely that closes the DB and throws an exception? Although that doesn't account for the operation trying to find a table, which is further than it ought to get. It does look very much like you've got a problem with the database disappeari

Re: [m2] can't get hibernate plugin to work with hsql

2008-04-28 Thread Adam Hardy
. jdbc:hsqldb:file:src/test/resources/sql/testdb Mick Knutson on 29/04/08 00:06, wrote: I do not have any issues with h2 and it is working fairly good. But HSQL does not work. Will this parameter work on HSQL as well? On Mon, Apr 28, 2008 at 3:50 PM, Adam Hardy <[EMAIL PROTECTED]> wrote

Re: [m2] can't get hibernate plugin to work with hsql

2008-04-28 Thread Adam Hardy
Hi Mick, have you tried using the param on the end of the JDBC URL like this: jdbc:h2:mem:test_db;DB_CLOSE_DELAY=-1 it might be the case that hibernate is using seperate connections to build the schema and then access it - in which case H2 can just drop everything. Mick Knutson on 27/04/08

Re: [ANN] m2eclipse 0.9.0 Released

2008-03-15 Thread Adam Hardy
Eugene Kuleshov on 14/03/08 19:41, wrote: deckrider wrote: By the way, I like have a multi-module project like this: pom.xml foo/pom.xml bar/pom.xml ... I like that I can check this out of Subversion as a Maven project using this same structure so that it does not become individual Eclipse pr

Re: prevent mvn checking repository for a pom?

2008-03-13 Thread Adam Hardy
e On 3/13/08, Steve Chernyak <[EMAIL PROTECTED]> wrote: Did you try -o? "mvn -o install" -o = offline mode. On Thu, Mar 13, 2008 at 4:17 PM, Adam Hardy <[EMAIL PROTECTED]> wrote: This question has possibly quite an easy answer, I hope. I manually installed a 3rd party jar in

prevent mvn checking repository for a pom?

2008-03-13 Thread Adam Hardy
This question has possibly quite an easy answer, I hope. I manually installed a 3rd party jar into my local repository. Can I prevent mvn checking the global repos whenever I run something? It looks like marking it as scope="system" is one way but I don't want the hassle of specifying a local

Re: Shared dependencies deployment to Tomcat 5.5 or 6.0 + other servers

2007-12-22 Thread Adam Hardy
Hi Serge, it's a bit unclear what your aim is here, or rather your requirements. You have one project or more? When running a deploy to the server, m2 would generally speaking just deploy a WAR file to the server's deploy directory, e.g. webapps in tomcat 5 & 6. If you are building several p

Re: webproject does not find log4j.properties

2007-12-04 Thread Adam Hardy
VanIngen, Erik (ESTG) on 03/12/07 12:04, wrote: Hi all, My log4j.properties is located in src/test/resources/log4j.properties Loglevel is set to ERROR During the test, all logging is done on INFO level, e.g. it seems that log4j does not find the log4j.properties. It could be many things.

Re: classpath, tests, resources

2007-10-22 Thread Adam Hardy
ably wrong. I'll try the profile tricks. ondrej cernos On 10/22/07, Adam Hardy <[EMAIL PROTECTED]> wrote: Hi Ondrej looks like mvn is not only picking up the production log4j.properties file but it's also probably not substituting ${catalina.home} Check in your target/classes dire

Re: classpath, tests, resources

2007-10-22 Thread Adam Hardy
Hi Ondrej looks like mvn is not only picking up the production log4j.properties file but it's also probably not substituting ${catalina.home} Check in your target/classes directory for log4j.properties and see if it's substituted it. Secondly, log4j uses the first log4j.properties it comes

Re: Javadoc with custom stylesheet

2007-09-08 Thread Adam Hardy
I do not expect this would work but in an ideal world the javadoc plugin should be able to pull the file out of a jar dependency in the same way that the site plugin takes the CSS files and velocity templates from your jar's META-INF/maven directory. I'd recommend trying it and on failure, put

Re: Best practices for providing installation and deployment for a maven war project

2007-09-01 Thread Adam Hardy
That is a significant set of requirements. I can't see the advantage of using the maven repo to make the war publicly available, unless it is designed to be used a dependency in development of other projects. I would choose sourceforge instead where people can download it and also have access

Re: cross platform pom

2007-08-31 Thread adam hardy
Andy are you having problems with the hsqldb dependency anymore? I assume, since you haven't said otherwise, that you now get a "Unable to get resource 'jcalendar-etc' from repository". Is that correct? Is anything working? Can you build any project successfully with maven? Did you modif

Re: WTP, Eclipse, and Maven with APP-INF/lib

2007-08-26 Thread Adam Hardy
Josh Long on 24/08/07 09:36, wrote: Hello I have an ear which in turn has dependencies that need to be furnished to all sub projects (a few EJBs, a few WARs). The maven build itself is configured to do the right thing and, in the resulting .ear, yeilds an APP-INF/lib director with all non ejb/wa

Re: Publishing to Tomcat from Eclipse, my filtered files aren't being filtered

2007-08-15 Thread Adam Hardy
Adam Hardy on 15/08/07 20:42, wrote: Jared Blitzstein on 14/08/07 19:40, wrote: I have a few configuration files that need to be filtered when run. When I run in jetty or build a war for deployment, they are filtered correctly. But when I deploy to tomcat from eclipse, they are not. Is there

Re: Publishing to Tomcat from Eclipse, my filtered files aren't being filtered

2007-08-15 Thread Adam Hardy
Jared Blitzstein on 14/08/07 19:40, wrote: I have a few configuration files that need to be filtered when run. When I run in jetty or build a war for deployment, they are filtered correctly. But when I deploy to tomcat from eclipse, they are not. Is there a way I can make sure eclipse publishes

Re: Java Doc Question

2007-08-02 Thread Adam Hardy
David Williams on 02/08/07 19:57, wrote: Hi Everyone, I have a odd situation here. I run maven 2.0.6 on multi-module project. One of those projects wants to include the java docs for several but not all of the other projects. What would be the best way to get the generated java docs from the a

Re: [ANN] Maven Javadoc Plugin 2.3 Released

2007-07-22 Thread Adam Hardy
Antonio Petrelli on 22/07/07 18:14, wrote: 2007/7/22, Vincent Siveton <[EMAIL PROTECTED]>: Enjoy, I wish I could enjoy it, but it's a problem since MJAVADOC-116 has not been fixed: http://jira.codehaus.org/browse/MJAVADOC-116 This leads to the impossibility of releasing products like Apache Ti

Re: [ANN] Maven Javadoc Plugin 2.3 Released

2007-07-22 Thread Adam Hardy
Vincent Siveton on 22/07/07 05:53, wrote: The Maven team is pleased to announce the release of Maven Javadoc Plugin, version 2.3. http://maven.apache.org/plugins/maven-javadoc-plugin/ You can run mvn -up to get the latest version of the plugin, or specify the version in your project's plugin co

Re: using javadocDirectory with maven-javadoc-plugin

2007-06-23 Thread Adam Hardy
Heinrich Nirschl on 22/06/07 16:59, wrote: On Thu, 2007-06-21 at 23:22 +0100, Adam Hardy wrote: I couldn't get it to work. I am glad it doesn't affect you, but I found nothing to explain why. BTW I am on linux too. I filed the bug http://jira.codehaus.org/browse/MJAVADOC-129 with

Re: using javadocDirectory with maven-javadoc-plugin

2007-06-21 Thread Adam Hardy
Heinrich Nirschl on 16/06/07 21:39, wrote: On Sat, 2007-06-16 at 19:21 +0100, Adam Hardy wrote: Heinrich Nirschl on 15/06/07 18:35, wrote: On Thu, 2007-06-14 at 23:07 +0100, Adam Hardy wrote: I thought I'd post a more generic description since it seems no-one else recognises the pr

Re: using javadocDirectory with maven-javadoc-plugin

2007-06-16 Thread Adam Hardy
Heinrich Nirschl on 15/06/07 18:35, wrote: On Thu, 2007-06-14 at 23:07 +0100, Adam Hardy wrote: I thought I'd post a more generic description since it seems no-one else recognises the problem. Can't find any references to it in the JIRA or on the mailing list or in fact just ge

Re: Javadoc Plugin Not Processing package.html Correctly

2007-06-14 Thread Adam Hardy
Danny Hurlburt on 14/06/07 18:18, wrote: Hello, I am having a problem with the javadoc plugin converting my package.html to package-summary.html. When it finds a package.html, the plugin simply put the word "and" in for the package description. Has anyone else had the same problem and was able

using javadocDirectory with maven-javadoc-plugin [was: package.html resources not read]

2007-06-14 Thread Adam Hardy
in/javadoc directory for package.html files just doesn't work. Does anyone successfully process their package.html and images etc from src/main/javadoc? I'd be interested to hear. Thanks Adam Adam Hardy on 13/06/07 21:39, wrote: I moved my package.html files from the src/main/java director

package.html resources not read

2007-06-13 Thread Adam Hardy
I moved my package.html files from the src/main/java directory where they worked fine into the src/main/javadoc directory, and now the maven-javadoc-plugin ignores them. I can see from debug -X that javadocDirectory is passed with the correct setting. I worked my way through a few errors to g

surefire and junit 4 website out-of-date

2007-04-16 Thread Adam Hardy
To whoever maintains the maven website: there's an out-of-date page on the FAQ for surefire http://maven.apache.org/plugins/maven-surefire-plugin/faq.html which should direct people to surefire-junit4. I misleadingly states that there is no junit4 support. Regards Adam --

Re: evangelising maven from the business benefits point of view

2007-04-08 Thread Adam Hardy
Jerome Lacoste on 18/03/07 19:13, wrote: On 3/18/07, Adam Hardy <[EMAIL PROTECTED]> wrote: I want the software house where I work to go to the next level with maven from where we are at the moment, which is a case of gross under-utilisation. We use maven as a glorified ant script to run

Re: evangelising maven from the business benefits point of view

2007-04-08 Thread Adam Hardy
Gianfranco Oldani on 19/03/07 07:41, wrote: I want also add that every management should be concerned with software quality and a convenient dashboard which allow to drive software quality. Lot of plugins go in that direction. Have a look for example to the project we are starting at hortis wit

Re: maven-changes-plugin 2.0-beta-2

2007-03-23 Thread Adam Hardy
arget What do you think causes this PKIX ValidatorException? HttpClient wants to log to the cohsole, but I haven't got it enabled yet. I assume there must be something fairly obvious I need to do to get HttpClient to use SSL. Any ideas? Thanks Adam Dennis Lundberg wrote: Adam Hardy wro

where to put log4j.properties

2007-03-23 Thread Adam Hardy
I am running the 'mvn site' and one of the reports is not working. To get more info on the issue I'm trying to get logging working for it. Currently I see log4j complain like this: [INFO] Generate "Jira Report" report. log4j:WARN No appenders could be found for logger (org.apache.commons.httpc

Re: maven-changes-plugin 2.0-beta-2

2007-03-23 Thread Adam Hardy
ds Adam Dennis Lundberg wrote: Adam Hardy wrote: maven-changes-plugin can generate JIRA reports according to its documentation but I'm having a hard time setting it up - the docs on maven.apache.org specify an issueManagement config node and that's about it. See this page for

maven-changes-plugin 2.0-beta-2

2007-03-22 Thread Adam Hardy
maven-changes-plugin can generate JIRA reports according to its documentation but I'm having a hard time setting it up - the docs on maven.apache.org specify an issueManagement config node and that's about it. From the mvn output though it looks like there's alot more going on than I know abo

Re: best maven2 eclipse integration?

2007-03-19 Thread Adam Hardy
Phillip Rhodes wrote: I am using the the m2 eclipse plugin and while it works (and I appreciate it very much), I just can't stand the several minute long build cycles and looking for something that will speed up my development. Can anyone recommend something for me besides the http://m2eclips

Re: evangelising maven from the business benefits point of view

2007-03-18 Thread Adam Hardy
Jerome Lacoste on 18/03/07 19:13, wrote: On 3/18/07, Adam Hardy <[EMAIL PROTECTED]> wrote: I want the software house where I work to go to the next level with maven from where we are at the moment, which is a case of gross under-utilisation. We use maven as a glorified ant script

evangelising maven from the business benefits point of view

2007-03-17 Thread Adam Hardy
I want the software house where I work to go to the next level with maven from where we are at the moment, which is a case of gross under-utilisation. We use maven as a glorified ant script to run tests and build jars. There are several other projects in-house which have not been mavenised but

Re: [m2] noobie : cobertura problems - not reporting all classes in all packages

2006-11-24 Thread Adam Hardy
Hi Mark did you check whether the instrumentation file actually created that cobertura.ser where it said it did? If so, before you execute cobertura:cobertura, move it into the target directory where it is expected. There seems to be some sort of mix up within cobertura. the instrument goal

Re: Maven rant

2006-11-17 Thread Adam Hardy
Wendy Smoak wrote: On 11/16/06, Adam Hardy Secondly the comments functionality or the link to the wiki is a pretty urgent requirement for me, and I think I'm a typical user. Where are you looking to add comments? Honestly I don't think we're going to get a 'comment mechan

Re: Maven rant

2006-11-17 Thread Adam Hardy
Wendy Smoak wrote: I had problems today finding some documentation on the war plugin. Pretty standard stuff but I couldn't even find the plugins documentation start page in the left-hand menu, rather I found it on the home page (where I happened NOT to be to start with) in the text. I think this

Re: [Maven 2.0.4] Profiles

2006-11-17 Thread Adam Hardy
Rémy Sanlaville wrote: Are you using the maven plugin snapshots repository? If you are, then many of the maven plugins could have been updated. Not directly but others projects yes. For information, here, is my test pom.xml - http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http:/

Re: Maven rant

2006-11-16 Thread Adam Hardy
Just wanted to dredge up this old thread concerning documentation to find out what status it has now after the last conversation. I had problems today finding some documentation on the war plugin. Pretty standard stuff but I couldn't even find the plugins documentation start page in the left-h

Re: Hibernate 3.2

2006-11-16 Thread Adam Hardy
I wouldn't be too harsh on Damien, it looks like that website was hacked or allowed someone to post a javascript snippet in a comment. Hopefully the website owners will clean it up. ir. ing. Jan Dockx wrote: WARN: Don't go to w w w.mvnregistry.com! It redirects to a place that tries to install

Re: tomcat deployer

2006-11-16 Thread Adam Hardy
Kevin Jackson wrote: This gets discussed fairly regularly and there's multiple ways to handle it. If you're not aware, there's a great search engine for this list at http://www.nabble.com/Maven---Users-f178.html I actually find Nabble to be close to useless as it doesn't seem to get spidered by

Re: Using Cargo and Cobertura to get in container code coverage

2006-11-16 Thread Adam Hardy
jp4 wrote: I have been using cargo to deploy my application and run integration tests against the application in container. Now I would like to have cargo deploy a war file that contains classes instrumented by cobertura. In addition, I would like to be able to merge the results of the unit and

Re: SCM integration issue with deleted files

2006-11-16 Thread Adam Hardy
y addressed in a future version. Wayne On 11/14/06, ETIENNE Olivier <[EMAIL PROTECTED]> wrote: > I got the same problem and the only way I foun to solve it has been to > drop the project and to create a new one. > > Adam Hardy a écrit : > > I keep seeing a problem with conti

Making a goal out of a parameter

2006-11-16 Thread Adam Hardy
How can I transform this cmd line: mvn -DperformRelease=true deploy into this goal? mvn adamgoal:performRelease Do I have to write a plugin? Or can it be achieved with xml? Thanks Adam - To unsubscribe, e-mail: [EMAIL PROTEC

Re: [Maven 2.0.4] Profiles

2006-11-16 Thread Adam Hardy
Rémy Sanlaville wrote: Hi Adam, Sorry for the late reply but I was out of my office. 2006/11/3, Adam Hardy <[EMAIL PROTECTED]>: It sounds you like what you are saying is that your profiles become active by default just by virtue of their existence in profiles.xml. Yes exactly. Bu

SCM integration issue with deleted files

2006-11-14 Thread Adam Hardy
I keep seeing a problem with continuum when a developer deletes a file. Sometimes but not always continuum fails to delete the file from its working directory. Then at some point soon afterwards, that deleted class file will no longer compile, so the build fails and I receive a notification.

Re: Newbie help needed with Eclipse project

2006-11-13 Thread Adam Hardy
Marco Mistroni wrote: Hi rick, try this link http://blogs.unixage.com/blojsom/blog/adam.kruszewski/eclipse/?permalink=Maven2-Eclipse-plugin-with-latest-WTP-from-callisto-update-site.html looks like an 'updated version' of maven2 plugin for eclipse... i m using it too.. even though i m runn

Re: Newbie help needed with Eclipse project

2006-11-09 Thread Adam Hardy
Hi Rick, it depends which maven plugin you are talking about. m2eclipse I assume. Have you tried browsing their mailing list: http://www.nabble.com/Maven-Eclipse---User-f14525.html You can use a standard maven heirarchical directory layout, but eclipse will not allow you to create a project

Re: How Do I Deploys The Sources To The Repository

2006-11-09 Thread Adam Hardy
[EMAIL PROTECTED] wrote: "Adam Hardy" <[EMAIL PROTECTED]> wrote on 11/08/2006 02:32:34 [EMAIL PROTECTED] wrote: mvn -DperformRelease=true deploy and you get both source and javadoc jars in the repository along with the main artifact. It also works with the install target.

Re: How Do I Deploys The Sources To The Repository

2006-11-08 Thread Adam Hardy
[EMAIL PROTECTED] wrote: "Yves Van Steen" <[EMAIL PROTECTED]> wrote on 11/07/2006 09:58:46 AM: I can generate a jar containing the source files of a project. But how do I configure it to deploy the source jar to the repo? I need this because I would like to use the download sources setting of

Re: Maven rant

2006-11-02 Thread Adam Hardy
Wendy Smoak on 02/11/06 22:34, wrote: On 11/2/06, Sebastien Brunot <[EMAIL PROTECTED]> wrote: What I meant by "it" was the comment mechanism. Right... it doesn't exist yet, we need to design it. The comment mechanism can be a wiki where the public can only add at the bottom of the page, an

Re: [Maven 2.0.4] Profiles

2006-11-02 Thread Adam Hardy
Hi Rémy just realised I hadn't replied. Very impolite, sorry. Are you still having an issue with this? What did you want me to try? It sounds you like what you are saying is that your profiles become active by default just by virtue of their existence in profiles.xml. Adam Rémy Sanlaville

Switching online or offline automatically

2006-11-02 Thread Adam Hardy
I've got another question. Is there a configuration setting that I can use so that mvn will work offline as soon as it determines that it cannot get online? Or alternatively some sort of profile switching based on a test for a network connection? Thanks Adam --

M2 repo becomes corrupted when proxy server crashes

2006-11-02 Thread Adam Hardy
I have a recurring problem with the local repositories on our workstations. When maven-proxy crashes, which happens once every couple of weeks generally during the night, anyone who tries to run maven corrupts their repository and leaves it in a state where maven cannot grab maven-clean-plugin

Re: Maven rant

2006-11-02 Thread Adam Hardy
Wendy Smoak wrote: On 10/31/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: Think of Hibernate or PHP documentation: one base reference book with DYNAMIC comments in which people can share their thoughts and experiences about each feature/chapter, remarks that can be later integrated when the

Re: Can't get perforce to work with continuum

2006-10-23 Thread Adam Hardy
Yes it works for me, no problem. I'm not at work at the moment so I can't compare but I know it wasn't easy and I had to compare the perforce clientspec that I created for continuum with the one I used in eclipse to make sure it worked. Syvalta on 20/10/06 09:02, wrote: Hi, I'll have been try

Re: multiple profiles in settings.xml

2006-10-23 Thread Adam Hardy
Try removing the space after -P -Padmintool L. J. on 17/10/06 01:11, wrote: I have multiple profiles in my settings.xml as below. While I run "clean install -P admintool -Dmaven.test.skip" in the Continuum, it does not pick up ADMINTOOL_200609040300 but it picks up DEV_HEAD_393 from profile id

Re: [Maven 2.0.4] Profiles

2006-10-20 Thread Adam Hardy
Hi Rémy mvn help:effective-settings will help you determine the problem. Your dev profile would have to be activated by something - try renaming it. Adam Rémy Sanlaville wrote: Hi, I try to understand how profiles works. If you create a simple profiles.xml like this :

Re: problems with continuum perforce support

2006-10-19 Thread Adam Hardy
Hi Michael, I am using perforce and sometimes but not always have the same issue. I have thought about putting a script in place in continuum to clear out the directory of a project in-between builds, but I haven't had an opportunity to do that yet. In the meantime I haven't suffered the prob

Re: m2eclipse or running mvn as external program?

2006-10-19 Thread Adam Hardy
Steinar, try this link: http://www.nabble.com/Maven-Eclipse---User-f14525.html hth Adam Steinar Bang on 18/10/06 07:57, wrote: What do others recommend for running maven 2 builds from inside eclipse, the m2eclipse plugin (http://m2eclipse.codehaus.org/), or running mvn as an external program

settings.xml location

2006-10-15 Thread Adam Hardy
I am setting up profiles for various different deploy-environments / customer sites and users, storing variables for use in filtering classpath and web resources. The settings.xml that I edit extensively in m2-home/conf/ is currently not in source control and I want to ask where would be best

Re: exclude integration tests from test phase in surefire-plugin ?

2006-10-15 Thread Adam Hardy
Jan, maybe it's the pair of asterisks at the end of the exclude pattern. Try it with just the one. Question for you: how do you specify the different executions to run from the command line? rgds Adam Jan-Olav Eide on 12/10/06 08:44, wrote: I have a set of tests that I only want to run i

Re: creating different packages for different customers

2006-10-11 Thread Adam Hardy
You should also look at web-app filtering, to replace tokens in web.xml or other config or jsp files with properties which you set in profiles, one profile for each customer. I can see that seperate wars for each customer would be v. useful for situations where the differences between customer

Re: maven and WTP in eclipse

2006-10-09 Thread Adam Hardy
d-maven-repo goal. HTH, Rod On 10/5/06, Adam Hardy <[EMAIL PROTECTED]> wrote: Hi All I'm trying out the Eclipse Web Tools Platform (WTP) to see what it offers in terms of the development cycle, and I'm trying to configure a maven-ised 'dynamic web' project. I

Re: mvn site does NOT create index files for any of my modules!!!!!!

2006-10-06 Thread Adam Hardy
Mick, are you sure you're not getting what you want? AFAICT it makes no difference having the index and summary elements in my pom. With or without them I get the project summary report. I do see this: [INFO] [site:site] [WARNING] Error loading report org.apache.maven.changes.ChangesMojo -

Re: maven and WTP in eclipse

2006-10-06 Thread Adam Hardy
${db.connection}. Adam Adam Hardy wrote: Aha. So it works with the maven-eclipse-plugin. Great. It's been a while since I used that, I transferred over to the Eclipse mavenide plugin some time ago, it has several advantages over the other - but they're peripheral really. I'll try it out

Re: maven and WTP in eclipse

2006-10-05 Thread Adam Hardy
version of WTP that you are using. For example: "mvn eclipse:eclipse -Dwtpversion=1.5" Also, you'll want to either create a M2_REPO classpath variable yourself or have the plugin do it for you by executing the eclipse:add-maven-repo goal. On 10/5/06, Adam Hardy <[EMAIL PROTEC

maven and WTP in eclipse

2006-10-05 Thread Adam Hardy
Hi All I'm trying out the Eclipse Web Tools Platform (WTP) to see what it offers in terms of the development cycle, and I'm trying to configure a maven-ised 'dynamic web' project. I have tomcat configured in Eclipse, and I have associated the maven project with tomcat, but trying to start it

Re: Display the failed test from surefire

2006-10-05 Thread Adam Hardy
Curious, so I looked it up on google: org.apache.maven.plugins maven-surefire-plugin false One question that comes to mind is what happens then to the site, if surefire doesn't produce files? Does the reporting go up the creek, meaning I have to disable the config option again t

Re: Error getting POM

2006-10-05 Thread Adam Hardy
Jeff Mutonho wrote: Try checking to see what is happening with the versions of cargo-ant. If necessary, define the cargo-ant plugin version 0.7 in your pom. Perhaps there's a problem with 0.8. Regarding hibernate, I don't know. Sometimes the reasons for these issues just isn't detectable unles

Re: Eclipse war builder

2006-10-05 Thread Adam Hardy
Adam Hardy wrote: [EMAIL PROTECTED] wrote: "Kevin Galligan" <[EMAIL PROTECTED]> wrote on 10/02/2006 02:11:49 PM: Just thought I'd send a little back to the community. I coded a simple eclipse builder plugin that helps speed up webapp development when using the war plu

Re: Eclipse war builder

2006-10-05 Thread Adam Hardy
[EMAIL PROTECTED] wrote: "Kevin Galligan" <[EMAIL PROTECTED]> wrote on 10/02/2006 02:11:49 PM: Just thought I'd send a little back to the community. I coded a simple eclipse builder plugin that helps speed up webapp development when using the war plugin. I'm sure there's something out there t

Re: Error getting POM

2006-10-05 Thread Adam Hardy
Jeff Mutonho wrote: On 10/2/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: On 10/2/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote: > > My projects were building without issues and just out of the blue the > builds are failing with the message : > > [INFO] >

  1   2   3   >