RE: Incorrect location for downloading plugin pom

2011-10-16 Thread Adrian Shum (HK/IT-AD)
cation-for-downloading-plugin-pom/7788936#7788936 It seems to me that it can be treated as a bug in Maven. I have raised a bug in Maven's issue tracker too. http://jira.codehaus.org/browse/MNG-5182 -- Regards, Adrian Shum -Original Message- From: Benson Margulies [

RE: Incorrect location for downloading plugin pom

2011-10-10 Thread Adrian Shum (HK/IT-AD)
Any hints from anyone? Thanks -- Regards, Adrian Shum From: Adrian Shum (HK/IT-AD) Sent: Thursday, October 06, 2011 4:23 PM To: 'Maven Users List' Subject: Incorrect location for downloading plugin pom Dear all, I have recently faced a stran

Incorrect location for downloading plugin pom

2011-10-06 Thread Adrian Shum (HK/IT-AD)
rsion of Maven. Why Maven's "download" behavior suddenly changed? I really wish someone can guide me some directions on this. Hundred thanks -- Regards, Adrian Shum This email is confidential. If you are not the intended recipient, please delete it from your system and noti

RE: Can Maven dynamically change my application.xml file?

2011-05-25 Thread Adrian Shum (HK/IT-AD)
5 your.group.id myco-web /myco application.xml will be generated accordingly. -- Regards, Adrian Shum -Original Me

RE: specify "" section outside projects pom.xml

2011-01-07 Thread Adrian Shum
Hi Moritz, Why don't you simply make a parent pom for all your poms to inherit from? -- Best Regards, AdRiAN ShUM -Original Message- From: Moritz Maisel [mailto:mai...@sipgate.de] Sent: Friday, January 07, 2011 4:00 PM To: users@maven.apache.org Subject: specify ""

Enforcer problem in multi-module project

2010-11-18 Thread Adrian Shum
issue, especially it is aimed to enforce certain rule before real build. -- Best Regards, AdRiAN ShUM This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or

RE: Generating resource base on compilation result

2010-09-03 Thread Adrian Shum
original mail, adding project resources will not work in such case. What is the 'correct' way to put such generated resources into final JAR? Should I simply manually copy the result resources to ${project.build.outputDirectory}? Is it the suggested way? Thanks -- Best Regards, A

RE: logging level in Mojo - only INFO?

2010-08-08 Thread Adrian Shum
mvn -X ? -- Best Regards, AdRiAN ShUM -Original Message- From: asookazian [mailto:asookaz...@gmail.com] Sent: Thursday, July 08, 2010 12:48 AM To: users@maven.apache.org Subject: Re: logging level in Mojo - only INFO? I'm used to using a jboss-log4j.xml with the JBoss AS a

Logger name used in plugin

2010-08-05 Thread Adrian Shum
was something like foo-bar-maven-hello-world And the resulting logger name become foo-barhello-world (which still works, but look sucks... :P ) -- Best Regards, AdRiAN ShUM This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sen

RE: Generating resource base on compilation result

2010-08-03 Thread Adrian Shum
esource to resulting jar, apart from project.addResource() before the process-resources phase? -- Best Regards, AdRiAN ShUM -Original Message- From: Jesse Farinacci [mailto:jie...@gmail.com] Sent: Tuesday, August 03, 2010 8:09 PM To: Maven Users List Subject: Re: Generating resource base on c

Generating resource base on compilation result

2010-08-03 Thread Adrian Shum
ot be able to include classes of current project. Is there any suggestion for me? I am using maven 2.2.1 -- Best Regards, AdRiAN ShUM This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized

Check for snapshot version

2010-07-23 Thread Adrian Shum
(e.g. need to build during release, the way it handle scm URLs, need to be snapshot etc). However I do need to know that no snapshot dependencies exists in my project before I do the tagging and pom modification. Is there existing plugin to achieve this? Thanks -- Best Regards, AdRiAN ShUM

Assembly with modules of specific classifier

2010-06-21 Thread Adrian Shum
Dear all, Assume I have a multi-module project "foo:bar", with several sub-modules, one of them is "foo:bar-rpt". I made an assembly descriptor in foo:bar-rpt to generate a jar with dependencies, with classifier "uber", and the generation is hooked at the package phase. I try to create a assemb

RE: Advice on version control

2010-06-15 Thread Adrian Shum
nk it is more of a procedure issue instead :) -- Best Regards, AdRiAN ShUM -Original Message- From: Eric Rotick [mailto:pc.gree...@gmail.com] Sent: Tuesday, June 15, 2010 7:53 PM To: Maven Users List Subject: Re: Advice on version control This is exactly what we've been doing and

RE: Advice on version control

2010-06-15 Thread Adrian Shum
. i.e. whenever a project source is subject to change, use SNAPSHOT as version in POM -- Best Regards, AdRiAN ShUM -Original Message- From: Eric Rotick [mailto:pc.gree...@gmail.com] Sent: Tuesday, June 15, 2010 7:22 PM To: users@maven.apache.org Subject: Advice on version control This

RE: Dependencies in multi-module project

2010-01-27 Thread Adrian Shum
pository" will happens only when you build directly in B -- Best Regards, AdRiAN ShUM -Original Message- From: Ilya Kazakevich [mailto:kazakev...@devexperts.com] Sent: Wednesday, January 27, 2010 5:08 AM To: users@maven.apache.org Subject: Dependencies in multi-module project Hell

RE: maven in ecipse

2010-01-26 Thread Adrian Shum
I gotta admit, m2eclipse works like a charm! Except that you may need to be awared of the 'shared target folder' issue. -- Best Regards, AdRiAN ShUM -Original Message- From: vijay shanker [mailto:vijay.s...@gmail.com] Sent: Wednesday, January 27, 2010 3:45 PM To: Maven

RE: Multi-Module Assembly causing build twice

2008-11-13 Thread Adrian Shum
EMAIL PROTECTED] Sent: Friday, November 07, 2008 8:14 PM To: Maven Users List Subject: Re: Multi-Module Assembly causing build twice Adrian Shum a écrit : > Dear all, > > I am using Maven 2.0.9. I am trying to create a multi-module assembly > by having assembly descriptor in my mul

Multi-Module Assembly causing build twice

2008-11-05 Thread Adrian Shum
Dear all, I am using Maven 2.0.9. I am trying to create a multi-module assembly by having assembly descriptor in my multi-module project. buildsvr dir foo:foo-app-ear foo:foo-bar-web foo:foo-another-jar modules/${artifa

RE: About Multi-module site generation

2008-09-01 Thread Adrian Shum
org Subject: Re: About Multi-module site generation Adrian Shum wrote: > > > 1) I tried to run "mvn site" , "mvn clean install site" and also "mvn > site:stage" in myproj. > The generated site in myproj only contains info on myproj. No lin

About Multi-module site generation

2008-08-29 Thread Adrian Shum
Dear all, I am trying to use maven site feature for my multi-module project. Here is my project structure myproj/ + myproj-parent/ + myproj-main/ + myproj-web/ + myproj-ear/ There are 5 POMs in total. myproj/pom.xml is a simple POM which only define the 4 sub project as module. myproj

RE: Dependency from repository?

2008-08-27 Thread Adrian Shum
as far as I remember, Hibernate deploys its artifacts to its own repository. So you have to add that repository to your settings.xml etc in order to be able to access latest Hibernate jars. I bet someone will upload to central repo later... but you have to wait. :P adrian -Original Message-

[m2] Incremental build for self-developed src generation mojo

2008-07-10 Thread Adrian Shum
Dear all, Is there any reference for how to do incremental build in self-developed mojo? We have developed a mojo in our company that will perform source generation base on annotations in our source files. It seems that generation happens everytime I run mvn install, no matter the original so

Profile question: "Not to perform some action when profile activated"?

2008-03-24 Thread Adrian Shum
Dear all, I'd like to know if there is any way to 'stop doing something' when a profile is activated? For example, in my project, I invoked certain plugin to generate WSDL by default. However, I want the step skipped when I define something like -DgenWsdl=false Is there any way to do so? I

RE: Using Junit4 with Maven

2008-03-11 Thread Adrian Shum
As I remembered, apart from having Junit dependecy being 4.x, you should also make sure the Surefire plugin is at least 2.3. Older version of surefire plugin seems unable to kick off junit4 test cases Adrian -Original Message- From: ben short [mailto:[EMAIL PROTECTED] Sent: Tuesday, Mar

RE: How can I package source code without run test?

2008-02-19 Thread Adrian Shum
You may try -Dmaven.test.skip=true -Original Message- From: youhaodeyi [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 20, 2008 10:11 AM To: users@maven.apache.org Subject: How can I package source code without run test? This command: "mvn package" will compile the source code a

RE: A question about in in pom.xml

2008-01-02 Thread Adrian Shum
Make a default profile: bootstrapProfile bootstrapProfile I think it should work :P Adrian -Original Message- From: Thomas Chang [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 7:06 PM To: Maven Users List Subject: Re: A quest

RE: Problem by Using Mirrors for Repositories

2007-12-28 Thread Adrian Shum
For me, I didn't use I simply defines available repositories and pluginRepositories. Well, it seems working fine as long as my repositories mirror is running correctly. bootstrap ...

[Maven2] Eclipse 3.3 WEB Project integration

2007-07-17 Thread Adrian Shum
containing META-INF/. Is there any way I can make the eclipse project conform to this? Or, as the last resort, shall I just sticks to use all plain Java projects for all of them, and give up the Eclipse functionalities on that? -- AdRiAN ShUM (-: Don’t worry, Be Happy :-) This email is

Version Range issue

2007-07-17 Thread Adrian Shum
ange, am I right? If so, how should I declare the dependency version range? Thanks a lot -- AdRiAN ShUM (-: Don’t worry, Be Happy :-) This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use,

RE: relativePath not working

2007-04-12 Thread Adrian Shum
They will find it > confusing, > and it is yet another step that is easily forgotten. > > Is there *any* way to get the relativePath to work? I've seen other posts > in the mailing list about it...people having problems, JIRA's filed. Is > this still a known issue in 2.

RE: relativePath not working

2007-04-12 Thread Adrian Shum
If I remember correctly, if your parent POM is located at the parent directory, you don't need to declare the relative path, as mvn2 should be able to find it. that is, (hope I remember correctly :P ), mvn2 will find the parent POM in the following order: 1) parent directory 2) modules in the s

Handling to certain kind of dependent artifacts?

2007-03-12 Thread Adrian Shum
Dear all, For example, in my company, I would like to develop a kind of lib, but apart from normal classes etc, it also includes some special resources file (e.g. in myRes/ directory under the JAR). For the app using such lib, I need to extract those special resources file, prepare it base on

What is Archetype

2007-03-08 Thread Adrian Shum
After reading some documents including http://maven.apache.org/guides/introduction/introduction-to-archetypes.html, My understanding on what Archetype is: it is a project template. If you want to create certain kind of project, you just retrieve the template from the repository. The template wil

RE: Puzzles on Standard Directory Structure?

2006-10-27 Thread Adrian Shum
Please refer to section of Resource filtering for use of src/main/filters. It is something ilke 'merging' your resources with some filters. You can put environment-specific settings in filters, and depends on your profile setting, create 'final' resources from your resources and your choice form t

RE: What to put in 3rd party lib POM?

2006-10-05 Thread Adrian Shum
org/guides/mini/guide-3rd-party-jars-remote.html Works fine for fixing dependencies. Philippe On Wed, 2006-10-04 at 20:25 +0800, Adrian Shum wrote: > Hi All, > > I am trying to create POMs for some 3rd party lib which will be placed in our > company's > internal repository. >

RE: What to put in 3rd party lib POM?

2006-10-05 Thread Adrian Shum
Well, I think your "This is the only reason to create own ones." give me the answer ;) Thanks a lot :) Adrian -Original Message- From: Jorg Schaible [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 9:01 PM To: Maven Users List Subject: RE: What to put in 3rd party

What to put in 3rd party lib POM?

2006-10-04 Thread Adrian Shum
Hi All, I am trying to create POMs for some 3rd party lib which will be placed in our company's internal repository. What is suggested to put in the POM in order to make it an 'adequate' POM (apart from group ID, artifact ID etc, of course)? What I can think of is declaring artifact's dependen

RE: Dependency management

2006-09-27 Thread Adrian Shum
I think that's exactly what Yann said :) if it is only a dependency but not a module, maven will NOT build it. It will download from repository (either local or remote) instead. Adrian Shum -Original Message- From: Lakshman Srilakshmanan [mailto:[EMAIL PROTECTED] Sent: Thu

RE: From multiple source folders pr. project to one

2006-09-15 Thread Adrian Shum
rsion from the parentProj to the part1 and part2 projects so I dont have to synchronize it on all levels? Adrian Shum wrote: > normally have something like > > parentProj/ > parentProj/part1 > parentProj/part2 > parentProj/part3 > parentProj/part4 > > parentProj have a

RE: From multiple source folders pr. project to one

2006-09-15 Thread Adrian Shum
normally have something like parentProj/ parentProj/part1 parentProj/part2 parentProj/part3 parentProj/part4 parentProj have a POM containing the 4 modules and in POM of each module, defines its dependency there e.g. in part4, add to make it depends on part1, part2, part3 so when u build at par

RE: Maven-Proxy error

2006-09-14 Thread Adrian Shum
Just throw away configs for Maven1 repositories in the maven proxy properties file. Adrian -Original Message- From: emerson cargnin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 2:11 AM To: Maven Users List Subject: Maven-Proxy error Hi all to use maven-proxy with mave

RE: Re: Is maven good to small projects

2006-09-06 Thread Adrian Shum
Well, though I tends to agree on the Maven's directory layout, I am not going to 'fight' for it now :) Just wanna to point out that your reasoning behind your statement "it's not necessary to use Maven in simply projects" is weak and fragile. Whether one wanna adopt standard directory layout i

Way to organizing common JSPs?

2006-09-01 Thread Adrian Shum
organized in such way. If so, how can I copy the JSPs to the real web apps? If not, then what is the 'normal' way to deal with such situation? (I am now using Maven 2) Thanks a lot. Regards, Adrian Shum This email is confidential. If you are not the intended recipient, please

RE: How to disable creation of cache repository under c:\Document s an d Settings\user\m2\.. ?

2006-08-30 Thread Adrian Shum
I think what he meant is, he want the local files (i.e. local repository) to be alive only during the build period but not forever long. Is it possible to modify the mvn.bat to make it remove the directory after it did its work? or have a schedule job to delete the local repository everyday Reg

RE: XDoclet2 plugin + Maven2 + Hibernate problem

2006-08-24 Thread Adrian Shum
Can anyone give me some idea on this? > -Original Message- > From: Adrian Shum > Sent: Wednesday, August 16, 2006 2:58 PM > To: 'users@maven.apache.org' > Subject: XDoclet2 plugin + Maven2 + Hibernate problem > > Hi all, > > I tried

RE: [ANN] Proximity RC4 rolled out!

2006-08-22 Thread Adrian Shum
Thanks a lot for the great work. BTW, is it normal that the webapp size become almost 4 times of the previous version? http://trac.abstracthorizon.org/proximity/query?status=closed&milestone=Proximity+Release+1.0.0-RC4 Just wanna see if the "repo group" feature is available in this version? (as

XDoclet2 plugin + Maven2 + Hibernate problem

2006-08-15 Thread Adrian Shum
Hi all, I tried to use XDoclet2 plugin for Maven2 in order to generate Hibernate mapping files. xdoclet maven2-xdoclet2-plugin 2.0.5-SNAPSHOT org.xdoclet.plugin.hibernate.HibernateMappingPlugin

XMLBeans Plugin - include subdirectories

2006-08-14 Thread Adrian Shum
your help -- AdRiAN ShUM (-: Don’t worry, Be Happy :-) This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited. Taifook Secur

invocation of external commands

2006-08-09 Thread Adrian Shum
other plugins serving such purpose? Thanks a lot. Best regards Adrian Shum This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited

RE: Some Proximity usage questions

2006-08-07 Thread Adrian Shum
s, DWR (direct web remoting) is included in RCx releases, but it is unused and unconfigured. Since I don't speak JavaScript, it will be removed eventually or some volunteer could set it up (and make the UI ajax capable) :) Please use forum on http://forum.abstracthorizon.org/ for support que

Some Proximity usage questions

2006-08-07 Thread Adrian Shum
Dear all, I am a newbie and just tried to use Proximity 1.0 RC3 on Windows + Tomcat 5.0.30. There are some issues that I cannot figure out and wish someone can give me a helping hand: 1) I have setted up several remote repositories in Proximity, including central, ibiblio and codehaus ones. I f

RE: Non-classpath resources filtering?

2006-07-31 Thread Adrian Shum
true [...] [...] [...] you can add as many resource entries as you want. Hope this helps. pete marvin Adrian Shum wrote: > Dear all, > > I am new to Maven and I have tried to find related answer but I failed. &g

Non-classpath resources filtering?

2006-07-31 Thread Adrian Shum
Dear all, I am new to Maven and I have tried to find related answer but I failed. Is it possible to perform non-classpath resources filter? My application has its own application configs which I don't want to put into the JAR. Instead I want it be put in a separated directory to let users able t