Re: OSS Nexus vs GitHub Packages

2021-07-28 Thread Stephen Coy
ld locally you cannot access Github packages. >>>> At >>>> least I found no way to do so. >>>> >>>> I assume that GitHub packages are intended for GitHubs CI when there are >>>> dependencies between different GitHub repos, and I continue

OSS Nexus vs GitHub Packages

2021-07-27 Thread Stephen Coy
Hi all, Just wondering if anyone has any thoughts on using GitHub Packages as a company repo vs Nexus. Right now we (about 30-40 devs) are using an ageing version of Sonatype Nexus for onsite builds and S3 for “cloud” based builds (a process inherited from using Spring Boot). Now there is a

Re: Maven SSL certificate for repo1.maven.org

2020-09-06 Thread Stephen Coy
Hi there, We are also seeing this in Maven 2.7.2-03, which was the most recent 2.x version available earlier this year. And as you say, browsing the site using a web browser seems to work ok. Cheers, Steve C > On 4 Sep 2020, at 7:22 pm, Nicolas Meunier > wrote: > > Hello, > > We are using

Re: old version of dependencies getting included into project

2018-03-15 Thread Stephen Coy
I’ve seen this happen when you have WAR overlays. All dependency management seems to go out the window when using overlays. Steve C > On 15 Mar 2018, at 6:39 am, Jonathan Yom-Tov > wrote: > > hi, > > I have a fairly large project which compiles to a war file. I've upgraded > the jackson depe

Re: maven release plugin

2018-02-28 Thread Stephen Coy
I have been using https://github.com/aleksandr-m/gitflow-maven-plugin and found that it works quite sweetly. … and it is being actively maintained. Cheers, Steve C > On 1 Mar 2018, at 12:56 am, Ben Tatham wrote: > > Sounds like you're us

Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-25 Thread Stephen Coy
Doh! I misinterpreted the docs and was thinking that the flatten-maven-plugin was something only needed for multi-module projects… Thanks for clearing that up. Steve C > On 25 Oct 2017, at 7:46 pm, Karl Heinz Marbaise wrote: > > Hi, > > On 25/10/17 08:50, Stephen Coy wrot

Re: how to use both buildnumber-maven-plugin and maven-release-plugin

2017-10-24 Thread Stephen Coy
Hi Pascal, Unfortunately this method results in pom files being deployed with releases that do not have corresponding versions in them. In fact, the version is literally: ${revision} This results in build warnings for consumers of the released artifact. Cheers, Steve C > On 24 Oct 2

Re: Installation issue

2016-02-18 Thread Stephen Coy
This question has an answer on stack overflow at >. > On 19 Feb 2016, at 10:37 AM, youssef boujallab

Re: error when using log4j dependency

2015-08-24 Thread Stephen Coy
Avoid using log4j 1.2.15. It has a broken pom which sucks in some dependencies that don’t exist in public repositories. Either use 1.2.14 or 1.2.16/17. Steve C > On 25 Aug 2015, at 2:25 am, Magnanao, Hector wrote: > > Why does Maven complain with this error when I try to use version 1.2.15 of

Re: [ANN] Apache Maven Release 2.5.1 Released

2014-11-11 Thread Stephen Coy
Hi there, The JIRA Issues Summary page for this plugin at > says: NOTE GIT

Re: Upgrade to 3.1.1 causes problems

2013-12-01 Thread Stephen Coy
On 2 Dec 2013, at 9:35 am, Wayne Fay wrote: > What software is listening on HTTP port 2727 of the machine named > "tyrone" and version? >>> >>> Is this Nexus? Artifactory? Archiva? Plain Apache? What version? >> >> ...guess what, the URL says /nexus/... > > Good point, but this is not

Re: Newbie trying to understand how to use some plugins

2013-06-12 Thread Stephen Coy
Richard, When a Java EE server deploys an application EAR, its various components are categorised as modules: Each EJB jar is a separate module Each WAR is a separate module - including all of the jars in it's WEB-INF/lib directory All the jars in the EAR/lib directory are considered as a single

Re: Jar file not in maven

2013-02-06 Thread Stephen Coy
On 06/02/2013, at 8:32 PM, Joachim Durchholz wrote: > Uh... some Windows, some Linux. > No common scripting toolset available. Actually, there is. It's called (gasp) Apache Ant. And it's right there in your copy of Eclipse too…

Re: Twisted Versioning Question

2012-10-21 Thread Stephen Coy
I'm not sure what the fuss is about here. All of the latest and historical hibernate artefacts are available on central. The two jars that you mention below are versioned differently. As mentioned elsewhere you would have to ask on the hibernate lists as to the reasons for this. You seem to th

Re: [Q] Skinny Wars and Taglibs

2012-09-05 Thread Stephen Coy
According to the JSP spec, only jars in WEB-INF/lib will be scanned for tld files (rather than the entire classpath). If you really want to work around this, you could try copying the tld files out of the respective jars into your WEB-INF/ directory. The spec says the container will find these

Re: EAR project produces application.xml, but EJB module is missing

2012-03-04 Thread Stephen Coy
The number one reason I've had this problem in the past is forgetting to specify: ejb in the dependency declarations for EJB jars. On 04/03/2012, at 2:33 AM, Markus KARG wrote: > Maven 3.0.4 is producing application.xml containing entries for > some dependencies (RAR modules), but wh

Re: [maven-site-plugin] trouble migrating from 3.0-beta3 to 3.0, bug?

2012-02-22 Thread Stephen Coy
It's not quite related to the problem you're having, but our parent pom's have this in them: maven-site-plugin 3.0-beta-3 which you may want to file away for future reference… On 22/02/2012, at 2:19 PM, nodje wrote: > migr

Re: How to correctly make an EJB module dependend of the interface JAR of a RAR?

2012-02-22 Thread Stephen Coy
I suspect that you will have deployment issues if the EJB module does not have visibility of the interface classes. You should perhaps be placing this jar in the EAR/lib directory (assuming a JEE5+ compliant container) and sharing it between the RAR and EJB jar. On 22/02/2012, at 5:13 AM, Mark

Re: Junit ignored by Maven

2012-02-19 Thread Stephen Coy
Some answers inline: On 20/02/2012, at 7:59 AM, Gogirl wrote: > In my 15 hour quest to stubornly solve this I have not thanked everyone who > has come with their useful remarks. This is a very impressive forum. > > Kristian: As I wrote I have tried with version 4.81 and the only dependency > I u

Re: Maven-war-plugin: setting up manifest class-path properly

2012-02-12 Thread Stephen Coy
You may want to read . On 11/02/2012, at 2:22 PM, Patrick Garner wrote: > I've used the maven-ear-plugin with the maven-war-plugin and > maven-ejb-plugin to successfully deploy and run an application packaged as > EAR to Jboss AS

Re: Question on resources plugin

2012-02-03 Thread Stephen Coy
Jeff, Filtering of web app resources is handled by the maven-war-plugin. Have a look at . Cheers, Steve C On 03/02/2012, at 11:31 AM, Jeff Lowery wrote: > Hello- > > I've created a properties file

Re: Spring context dependency not found..

2012-02-03 Thread Stephen Coy
Stephane, You should never ever run mvn eclipse:anything-at-all if you're using m2e in Eclipse. They are very different from each other and only interact in bad ways. If you have been doing this then I suggest that you: a) remove associated projects from Eclipse b) delete all .proje

Re: jboss-app.xml Auto Generated from MAVEN EAR plugin

2012-02-02 Thread Stephen Coy
On 03/02/2012, at 4:42 AM, Daivish Shah wrote: > Hi Wayne, > > org.springframework.beans.factory.BeanCreationException: Error > creating bean with name 'TestEjbHandlerImpl': Invocation of init > method failed; nested exception is java.lang.LinkageError: loader > constraint violation: loader (ins

Re: [ANN] Maven EAR Plugin 2.7 Released

2012-01-24 Thread Stephen Coy
I think some congratulations are in order for this. The skinny war support is fabulous! I've just migrated our large multi war application to it and it's done a better job than our previously hand crafted skinny wars. Thanks a lot. Steve C On 17/01/2012, at 9:20 AM, Dennis Lundberg wrote: >

Re: Download Page Broken?

2011-12-04 Thread Stephen Coy
amed as a tar.gz file (the links I sent > earlier). It seems to be a known issue: > > http://stackoverflow.com/questions/1235116/safari-and-gzip > > I am curious how it works for you. Did you happen to change some kind of > mime-type registration? > > Kindest regards. &g

Re: Download Page Broken?

2011-12-04 Thread Stephen Coy
I very nearly wrote a response to this saying that .tar.gz links haven't worked for a long time. I too am a Safari user. However, I went to double check and it now works for me with Safari 5.1.2 (new as of last week). Cheers, Steve C On 05/12/2011, at 2:01 PM, Ronald Petty wrote: > Barrie,

Re: Handling Non-Public runtime packages

2011-12-04 Thread Stephen Coy
For JEE 6 applications you can use this pom fragment: org.jboss.spec jboss-javaee6-specs-bom 2.0.0.Final pom import in your dependencyManagement. Unfortunately, this does not exist for JBoss

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-15 Thread Stephen Coy
rjar from the geologic jar and just install >> that into your repo manager. >> >> the focus should be on taking a jar and making an uberjar from its manifest >> classpath... should be easy, then install that uberjar in your repo. forget >> about identifying which o

Re: Properties in settings.xml does not work for system scoped dependencies

2011-11-14 Thread Stephen Coy
Hi there, I've been a maven user since the early 1.0 days and have contributed patches at various times for the ejb-plugin, ear-plugin and others. I've also had the unfortunate experience of having to use WebLogic 10+ to create useable maven poms for our projects. In fact, when I read the OP I

Re: maven-eclipse-plugin: pde support and OSGiManifest writer

2011-09-27 Thread Stephen Coy
eclipse On 28/09/2011, at 2:14 PM, Barrie Treloar wrote: > On Wed, Sep 28, 2011 at 11:40 AM, Stephen Coy wrote: >> FWIW, we're using pde mode at present. >> >> We have a largish (~ 40 modules) framework that bui

Re: maven-eclipse-plugin: pde support and OSGiManifest writer

2011-09-27 Thread Stephen Coy
FWIW, we're using pde mode at present. We have a largish (~ 40 modules) framework that builds both RCP applications and web applications. I haven't had a chance to figure out how to integrate Tycho into this arrangement. On the surface it looks like you're either using p2 dependencies or maven

Re: maven-ear-plugin - ear file can't be unpacked via jar -x

2011-09-27 Thread Stephen Coy
This is not a maven problem. It looks like a failure to read the documentation for the "jar" command. Try jar -xf file.ear or jar -tf file.ear On 27/09/2011, at 9:29 PM, Karl Heinz Marbaise wrote: > Hi, > > i have a project which produces a ear file but the problem i've enco

Re: Get "java.lang.NoClassDefFoundError" though the class is in the classpath

2011-09-09 Thread Stephen Coy
Hi Thomas, I've been following this thread across from the m2e users list. As you appear to be using Java 7, you had a long list of dependencies in your pom that are not needed, as they are provided by the JDK (since about 1.6.03 or thereabouts). So, be sure to get rid of the all of the jax-ws

Re: weird thread count diff on maven vs command line java

2011-08-26 Thread Stephen Coy
Most likely this is because you're using the maven pid instead of the pid of the forked process running your unit test. Maven forks a subprocess to run your unit tests by default. On 27/08/2011, at 2:43 AM, Yang wrote: > I have the following simple code > > > > import java.util.concurrent.*

Re: Jar plugin issue

2011-08-25 Thread Stephen Coy
Resources are copied into place by the maven-resources-plugin. You need to configure: ... ... in order to accomplish what you're trying to do here. If these are source files, then life would be much easier for you if simply moved them into th

Re: Maven - ERROR: Maven JVM terminated unexpectedly with exit code 0

2011-07-28 Thread Stephen Coy
This looks to me like the tool that you're using is calling System.exit(0). On 27/07/2011, at 5:47 PM, RockyJerald wrote: > Hi All, > > I have written pom.xml for auto deployment process between hudson and > deployment servers. > > The script which i return its working perfectly i can see the

Re: [PLEASE TEST] Apache Maven 3.0-RC2

2010-09-23 Thread Stephen Coy
Are you using Surefire 2.6? I believe that has a memory leak. See http://jira.codehaus.org/browse/SUREFIRE-647. On 23/09/2010, at 7:31 PM, Jörg Schaible wrote: > Hi, > > Benjamin Bentmann wrote: > >> Hi, >> >> in preparation for the release of Apache Maven 3.0, the Maven team is >> seeking y

Re: Maven EAR + EJB ... jars with prefixed "lib/" except for EJB

2010-05-21 Thread Stephen Coy
On 21/05/2010, at 10:14 PM, Nicola Musatti wrote: > Are you sure about this? I'm asking because this is not the behaviour I'm > seeing for a WAR deployed to Websphere 7.0.0.7. In order for the containing > EAR's jar's to be visible from the WAR I have to specify them explicitly in > the WAR's m

Re: Maven EAR + EJB ... jars with prefixed "lib/" except for EJB

2010-05-21 Thread Stephen Coy
The answer to this question depends very much on what appserver (vendor and version) you are using. If it is a JEE5 compliant server (JBoss 5.x, WebLogic 10.x, WebSphere 7.x)*, then you do not need manifest classpaths to be generated at all. All jars placed in the lib directory of the EAR will

Re: antrun messes up classloader ?

2009-11-17 Thread Stephen Coy
Hi there, I have also found that the antrun plugin behaves as you say below. The solution was to define the antrun plugin in a pluginManagement fragment of the parent pom, with the classpath set up to satisfy the requirements for all modules. Cheers, Steve C On 17/11/2009, at 7:54 PM, Sony A

Re: Test fails with Maven works with ant.

2009-10-22 Thread Stephen Coy
really weird since this same project works when using ant to compile 2009/10/22 Stephen Coy : From where are you getting this dependency? Your problem looks related to <http://forums.java.net/jive/message.jspa?messageID=226931>. Also, I believe that if you move this dependency to the end

Re: Test fails with Maven works with ant.

2009-10-22 Thread Stephen Coy
From where are you getting this dependency? Your problem looks related to . Also, I believe that if you move this dependency to the end of the list, it will appear in the compile classpath last, and classes in it that appear earlier

Re: How do I get Maven to package ejb dependencies in the ear?

2009-08-26 Thread Stephen Coy
Unfortunately you have encountered Maven's achilles heel (It's fantastic at nearly everything else). Managing ejb/ear dependencies is still basically a manual process. In general, what I do is: introduce a "pom" project that lists all the dependencies that you expect to be placed i

Re: surefire and spring - Autowiring of methods failed

2009-07-06 Thread Stephen Coy
We have found that SpringJUnit4ClassRunner is not compatible with the 4.5+ versions of JUnit. I think that you will find that in private UsuarioFacade usuarioFacade; that UsuarioFacade must be an interface in order for Spring to do it's magic. Is this the case? This does n

Re: AW: OpenJPA (together with jtds) cannot find javax.persistence?

2008-11-17 Thread Stephen Coy
So you are running from inside Eclipse? Your original message had "INFO] at java.net.URLClassLoader $1.run(Unknown Source)" in the stack trace. Are all the dependencies available to this class loader? On 16/11/2008, at 11:52 PM, Ulrich Wolf wrote: How are you adding these jars to your runt

Re: OpenJPA (together with jtds) cannot find javax.persistence?

2008-11-15 Thread Stephen Coy
How are you adding these jars to your runtime classpath? On 15/11/2008, at 1:58 AM, Ulrich Wolf wrote: This is the jar that contains all of the javax.persistence classes. You may need the other dependencies listed in the OpenJPA POM too. I've now included the following artifacts, as you sugge

Re: AW: OpenJPA (together with jtds) cannot find javax.persistence?

2008-11-13 Thread Stephen Coy
Hi, The POM for this version of OpenJPA refers to the following dependency: org.apache.geronimo.specs geronimo-jpa_3.0_spec This is the jar that contains all of the javax.persistence classes. You may need the other dependencies listed in the OpenJPA P

Re: How to rename or copy resource files when packaging war-file

2008-10-10 Thread Stephen Coy
I agree with the other guys in that it is way better to externalise your configuration. In the meantime, it is probably easier to put each foo.xml in different directories, say src/main/resources-prod and src/main/ resources-dev. Then use profiles to select different build configurations.

Re: -target 1.6 nor supported on MAC OSX

2008-10-10 Thread Stephen Coy
Java 6 only works on 64bit Intel Macs (ie Intel Core 2 Duo), and not by default. You need to configure JAVA_HOME to point at /System/Library/Frameworks/ JavaVM.framework/Versions/1.6.0/Home and your PATH to /System/Library/ Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin. Cheers, On 0

Re: [PLEASE TEST] Maven 2.0.10-RC11

2008-08-27 Thread Stephen Coy
Hi there, Our multimodule reactor builds seem to build fine with RC11. The builds include: 1. conventional J2EE jar/ejb/war/ear composition; 2. OSGI bundles via the maven-bundle-plugin; 3. Assembly of eclipse RCP applications Cheers Steve C -- View this message in context: http://www.nabble.

Re: EJB Jar packaging

2008-07-13 Thread Stephen Coy
until JEE5. In any event, Glen does not mention EAR files at all, so I was just trying to establish what he was trying to do. Thanks, Steve C On 13/07/2008, at 4:47 PM, ChrisGWarp wrote: Stephen Coy-3 wrote: The usual way of doing this is to package the EJB jar together with its dep

Re: EJB Jar packaging

2008-07-11 Thread Stephen Coy
The usual way of doing this is to package the EJB jar together with its dependencies in an EAR file. In a JEE5 environment the deps can either go in a "lib" directory in the EAR or (and for J2EE 1.3/4) be at the root of the EAR and a manifest classpath entry added to the EJB jar. This stuff

Re: Find artefact

2008-07-06 Thread Stephen Coy
G'Day, You generally will not need these unless you're building a remote EJB client. If this is what you are doing then you probably want something like: org.jboss.client jbossall-client 4.2.2.GA You can see the other artifacts available by pointing your web browser at

Re: Access to e.g. jboss lib

2008-07-05 Thread Stephen Coy
Unless you happen to be using JBoss specific API's, then you probably do not need to do this at all. Just using the standard javax.* dependencies will cover most of the bases. If you are using JBoss specific API's (such as JBoss Seam), then they are available in the JBoss repo as mentione

Re: WAR-Plugin: Manifest and true not working :-/

2008-05-07 Thread Stephen Coy
lib aswell. regards, Alexander Zitat von Stephen Coy <[EMAIL PROTECTED]>: Are you sure that your IDE has not put the jars in the WEB-INF/lib directory for you? That is the usual reason for this behaviour. Cheers On 07/05/2008, at 6:22 PM, [EMAIL PROTECTED] wrote: Hello everybody,

Re: WAR-Plugin: Manifest and true not working :-/

2008-05-07 Thread Stephen Coy
Are you sure that your IDE has not put the jars in the WEB-INF/lib directory for you? That is the usual reason for this behaviour. Cheers On 07/05/2008, at 6:22 PM, [EMAIL PROTECTED] wrote: Hello everybody, I am currently having some trouble with the war plugin and could need some help.

Re: Now what's up with exec-maven-plugin?

2008-01-17 Thread Stephen Coy
The site works for me and I can see the plugin at Maybe you're having issues with your internal proxy? Steve On 18/01/2008, at 12:52 AM, Jeff Mutonho wrote: Why am I getting : [INFO] The plugin 'org.codehaus.moj

Re: IBM custom project

2008-01-17 Thread Stephen Coy
, Stephen Coy <[EMAIL PROTECTED]> wrote: Hi, Note: 1. ${was-home} is a property set in the user's settings.xml to suit May I see how you set this in your settings.xml ? My settings.xml looks as follows : true http cache.sanlam.co.za 8080 e927273

Re: IBM custom project

2008-01-17 Thread Stephen Coy
Hi, Here is how we invoke the WAS WSDL2Java tool for generating web services. I'm sure that you can use a similar strategy for ejbdeploy: org.codehaus.mojo exec-maven-plugin MyWebServiceWSDL2Java exec

Re: IBM custom project

2008-01-16 Thread Stephen Coy
Maven 2.0.4 -> 2.0.8 certainly works on the IBM 1.5 JDK under Windows. I would be really surprised if there were any issues under Linux. We have been using it for more than a year. Cheers, Steve C On 17/01/2008, at 3:46 AM, Jörg Schaible wrote: Wendy Smoak wrote: On Jan 16, 2008 6:19 AM,

Re: Cannot add custom resources to EAR's META-INF directory

2007-11-12 Thread Stephen Coy
We are successfully using the Maven ear plugin to build ear files for WAS 6.1. I don't believe that your problem is WAS specific however. The ear plugin looks for its resources in src/main/application, so you typically put your META-INF directory there with its extra websphere descriptors.

Re: Deployment of runtime configurations? / Deployment of assemblies?

2007-07-31 Thread Stephen Coy
I think that what you need is profiles + classifiers. I've done it this way in the past. My preferred option is to push as much deployment target specific configuration (such as datasources, mail sessions, etc) in to the application server configuration, but this is not always possible, of

Re: Release perform goal failure

2007-07-29 Thread Stephen Coy
Hi, We have experienced similar issues recently as well. I had to do two things to resolve the problem - you may only need the first. 1) Configure the release plugin with -DpreparationGoals="clean install" 2) Rearrange the order of the module declarations so that dependent modules

Re: [eclipse-wtp] How to handle configfiles with ${parameter}

2007-07-29 Thread Stephen Coy
Hi, The trick here is to put your source web.xml file in another directory (such as src/main/resource2) and configure the war plugin as described at . Then you can use the war:inplace goal to bui

Re: Question - weblogic-maven-plugin - Urgent

2007-07-28 Thread Stephen Coy
I recall that the last time I used this plugin I had to set up the following properties in my settings.xml file: /Users/steve/servers/bea wls Plugin configuration was something like: org.codehaus.mojo weblogic-maven-plugin 2.8.0-SNAPSHOT

Re: module ordering

2007-07-15 Thread Stephen Coy
Hi, Could be causing the weird phantom dependency problems we have been experiencing with the release plugin lately? Just lately our releases have been failing because release:prepare has been finding an incorrect module dependency in a build that works correctly when performing a normal

Re: Profile de-activation

2007-06-21 Thread Stephen Coy
. :-) On 21/06/2007, at 11:16 PM, Julien Stern wrote: Hi list, Is it possible to de-activate a profile? I would like one profile to be activeByDefault, but would like to be able to deactivate in order to use an othe

Re: Copy file

2007-06-21 Thread Stephen Coy
Hi, There's a couple of approaches to this: 1) use separate resources directories for each customer, with each one containing a config.xml. Then configure a resources block in each profile that points at the appropriate directory. 2) use a single config file that has its values specified a

Re: AW: How to reference to an EJB Client jar ?

2007-06-12 Thread Stephen Coy
jens -Ursprüngliche Nachricht- Von: Stephen Coy [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 12. Juni 2007 14:44 An: Maven Users List Betreff: Re: How to reference to an EJB Client jar ? You do not need a client jar if the WAR is packaged in the same EAR as the EJB. Is the case? Steve C

Re: How to reference to an EJB Client jar ?

2007-06-12 Thread Stephen Coy
You do not need a client jar if the WAR is packaged in the same EAR as the EJB. Is the case? Steve C. On 12/06/2007, at 10:10 PM, Jens Hohl wrote: Hello, i try to generate the Client jars for an EJB Project and later i have to reference them by for using in a WAR. I have an EJB Proje

Re: xdoclet-maven-plugin generating incorrect hbm.xml file

2007-06-04 Thread Stephen Coy
On 05/06/2007, at 12:08 AM, Jeff Mutonho wrote: On 6/4/07, Stephen Coy <[EMAIL PROTECTED]> wrote: On 04/06/2007, at 10:48 PM, Jeff Mutonho wrote:> If so, does the mapping file have a DOCTYPE? The "lazy" attribute appears in the Hibernate 2.0 DTD, so it should be OK. Ye

Re: xdoclet-maven-plugin generating incorrect hbm.xml file

2007-06-04 Thread Stephen Coy
On 04/06/2007, at 10:48 PM, Jeff Mutonho wrote: On 6/4/07, Stephen Coy <[EMAIL PROTECTED]> wrote: On 04/06/2007, at 9:43 PM, Jeff Mutonho wrote: Anyway, I would not mind betting that your bean has been marked up with something like: @hibernate.class lazy="true"

Re: xdoclet-maven-plugin generating incorrect hbm.xml file

2007-06-04 Thread Stephen Coy
On 04/06/2007, at 9:43 PM, Jeff Mutonho wrote: On 6/4/07, Stephen Coy <[EMAIL PROTECTED]> wrote: Jeff, Are you really still using Hibernate 2.0? 100%.I've searched my repository and the only hibernate jar present is hibernate-2.0.0.jar Sorry, that was kind of a rhetoric

Re: xdoclet-maven-plugin generating incorrect hbm.xml file

2007-06-04 Thread Stephen Coy
Jeff, This is really an xdoclet issue. The hibernate module in particular has dramatically increased functionality between xdoclet 1.2.1 and 1.2.3. I would need to see the bean markup to be able to comment on why you are getting different results here. I've used the maven xdoclet plugin e

Re: Deactivating profiles

2007-05-10 Thread Stephen Coy
Hi, There's a trick to this I discovered about six months ago. It is possible to define a profile that is active when an env variable is *not* defined: !myVar ... Deactivate the profile by defining the property.

Re: What is the Best practice for generating variations of an artifacts?

2007-04-26 Thread Stephen Coy
G'Day, I've just come across this thread. This is a problem that I too have been wrestling with for the last few months, particularly with respect to producing target environment (sit, uat, prod) dependent artifacts. I tend to agree with one of the respondents in that it is best to push

Re: [mvn test] log4j config path

2007-02-24 Thread Stephen Coy
Hi, This is far more complicated than it needs to be. 1. Lose the static block below altogether and initialise the logger at it's declaration: static final Logger logger = Logger.getLogger(AppTest.class); 2. Lose the block altogether from your pom and put your log4j.xml file in s

Re: authorization denied

2007-01-31 Thread Stephen Coy
Giving the guest user the "Repository Observer" role worked for me. Steve Coy On 31/01/2007, at 9:24 AM, Brett Porter wrote: Yes - currently the repository access is secured by default. You can either create a user/pass and grant them read access to the repository in question, or you can do

Re: Continuum 1.0.3 vs 1.1 trunk

2007-01-18 Thread Stephen Coy
It's already up on my PowerBook. Thanks for the Tomcat notes on the wiki btw. I'm sorely tempted... On 19/1/07 2:14 PM, "Wendy Smoak" <[EMAIL PROTECTED]> wrote: > On 1/18/07, Stephen Coy <[EMAIL PROTECTED]> wrote: > >> I'm setting up continu

Continuum 1.0.3 vs 1.1 trunk

2007-01-18 Thread Stephen Coy
Hi, I'm setting up continuous integration at a corporate site that has many tens of projects on the go at once. I have set up 1.0.3, but I can see that 1.1 has many features that would make it way more useful in this kind of environment. Does anyone think that a 1.1 trunk build will make life mo

Maven 2 mirror on downloads.planetmirror.com

2007-01-09 Thread Stephen Coy
Hi, After following the trials and tribulations of JavierL earlier today, I recalled that I had experienced the same problems some time go. The so-called maven 2 mirror at is wrapped in pretty html which essentially kills any kind of automate

Re: [ANN] Maven EAR Plugin 2.3 Released

2006-12-30 Thread Stephen Coy
Hi, Can we see some release notes please? Steve Coy On 30/12/2006, at 1:51 PM, Jason van Zyl wrote: The Maven team is pleased to annonunce the release of the Maven EAR Plugin, version 2.3. http://maven.apache.org/plugins/maven-ear-plugin/ You can run mvn -U to get the latest version of th

Re: Error trying to use the maven-antrun plugin

2006-12-27 Thread Stephen Coy
If my experience with the weblogic plugin is anything to go by, you need to add this as an ant plugin dependency: sun.jdk tools 1.4.2 system ${java.home}/../lib/tools.jar Use an appropriate version of course. For

Re: Failing to find system resouces in unit test in surefire

2006-12-24 Thread Stephen Coy
Is your XML file in src/test/resources? On 25/12/2006, at 4:28 AM, Benson Margulies wrote: I have a class that calls ClassLoader.getSystemResourceAsStream to retrieve an XML file. All is well when running the live code, and even when running JUnit from Eclipse. From surefire, the XML file is n

classifier support for the ejb plugin

2006-12-15 Thread Stephen Coy
Hi, If you're like me and rely upon classifiers for distinguishing differently configured ejb jars, then please vote for jira.codehaus.org/browse/MEJB-23>. This support exists already in the war and ear plugins. Cheers, Steve C. ---

Re: [Fwd: Re: how to refer to a file properties starting from the pom.xml]

2006-12-15 Thread Stephen Coy
You can set up profiles defining properties in a separate profile.xml file. Why do you not want them in the pom.xml itself? Things like db connection properties are generally associated with a particular deployment environment. Therefore I set up a profile corresponding to each environmen

Re: ejb-jar.xml erroneously generated by EjbDoclet ?

2006-11-28 Thread Stephen Coy
Hi, Your ejbDoclet setup has a bit of an identity crisis. You've specified ejbSpec="2.1" in one place and a deployment descriptor schema pointing at http://java.sun.com/dtd/ejb-jar_2_0.dtd. So, there's a couple of things wrong here, and the correct solution depends upon which version of w

Re: [M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Stephen Coy
I don't build log4j configuration into my production applications. I include it as part of the server configuration. I've found that doing it any other way frequently leads to classloader wars because many application/web servers have their own copy of log4j anyway. Your test results are no

Re: [M2] log4j output does not display when running surefire plugin

2006-06-07 Thread Stephen Coy
Hi, I usually just put my log4j config file in src/test/resources and it works fine. I would have thought that having your unit tests dependent upon an environment variable would make them non-deterministic. Do you really need to do this? In any event, other threads have suggested that

Re: Unable to locate local repository in Mac-OSX

2006-05-29 Thread Stephen Coy
Using ~/.m2/... works fine on my Mac. The Finder won't let you create a directory whose name begins with a ".", but you can do it easily from a command line. But ordinarily, you don't need to create it at all because maven will do that for you. In fact, I reckon that you already have one.

Re: Repost: [m2] xdoclet for hibernate 3 with JDK 1.5

2005-11-28 Thread Stephen Coy
Hi Wim, Try < http://opensource2.atlassian.com/projects/xdoclet/secure/ BrowseProject.jspa?id=10010> Steve C. On 28/11/2005, at 11:27 PM, Wim Deblauwe wrote: Send this 4 days ago and still no answer, maybe it was not noticed so allow me to try again... 2005/11/24, Wim Deblauwe <[EMAIL PR

Re: mvn eclipse:eclipse try to download dependency jar doesn't exist

2005-11-07 Thread Stephen Coy
On 07/11/2005, at 10:55 PM, el wang wrote: in my pom.xml, add springframework:spring-mmock:1.2.3 to it's dependency. when try to test my code. using #mvn eclispe:eclipse also got the same result. m2 told me that it can't fi

Re: ${pom.id} changed in RC4?

2004-06-28 Thread Stephen Coy
one the way of the dodo? Steve Coy On 29/06/2004, at 1:20 PM, Brett Porter wrote: Steve, I think you are mistaken: ${pom.id} has been groupId:artifactId:type since the early betas. How did this show itself? - Brett On Tue, 29 Jun 2004 12:03:19 +1000, Stephen Coy <[EMAIL PROTECTED]> wrote: Hi

${pom.id} changed in RC4?

2004-06-28 Thread Stephen Coy
Hi, I've noticed that the value of ${pom.id} has changed between RC3 and RC4. Previously, it just returned the content of the project's tag, but now it returns some kind of id path separated by colons "parent_id:local_id" in a multiproject environment. It's easily fixed by replacing id with a