Re: Dependency (jar) files in an output jar (but not an assembly)

2006-01-03 Thread dan tran
bind dependency-maven-plugin to any post compile phase and place your jars into a place that package phase can pickup this plugin is at http://mojo.codehaus.org -D On 1/3/06, John Wells <[EMAIL PROTECTED]> wrote: > > > I want to put some dependent jar files into the jar file created during > th

Continuum + Clearcae. [Was] Re: How to use continuum with Maven2? - Please Help

2006-01-03 Thread dan tran
Wim, Do you have a suggestion for this problem? Hope you are around ;-) -Dan On 1/3/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi dan, > > Now more confused. > > My pom.xml is in my clearcase view like > > ccview > + MyModule > + EJB > +pom.xml

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread dan tran
On 1/3/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > hi > > I have successfully setup maven-proxy, based on the following website. > http://maven-proxy.codehaus.org/ > > Q1) now, the only problem is deploying 3rd Party jars from our > deployment pc to maven-proxy > > I followed this instruction

Re: System-wide Plugin pre-configuration

2006-01-03 Thread dan tran
you can do that with build-->pluginManagement element -D On 1/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I forgot to mention that this is related to Maven2 > (2.0.1) > > --- [EMAIL PROTECTED] wrote: > > > I'd like to preconfigure a couple of plugins (e.g. > > javadoc, etc.), so that

Re: System-wide Plugin pre-configuration

2006-01-03 Thread dan tran
gure in MAVEN_HOME/conf/settings.xml > or somewhere else. My goal is to avoid putting any > settings into the POM, unless I want to override my > custom default system-wide plugin settings. > > I may misunderstand how exactly this works ... > > Thanks, > Chris > > -

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread dan tran
nt Client: ERROR!! > - > But on my development machine, whenever I run mvn, I encountered the > followings Error: > [INFO] A required plugin was not found: Plugin could not be found - > check that the goal name is correct: Unable to download the artifact

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-03 Thread dan tran
configure a default profile in your settings.xml to point plugin repository to your maven-proxy host Hope this helps. -Dan On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > You seem to have 2 separate problems maven-proxy's configuration and > deploy:deploy-file. >

Re: [ANN] dependency-maven-plugin 1.0

2006-01-04 Thread dan tran
copy mojo copies artifacts specified in plugin's configuration copy-dependencies copies artifacts in your pom dependencies including transitive ones -D On 1/4/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > Cool, I can use that. Does "copy" only copy the direct dependencies and > does > copy-de

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-04 Thread dan tran
On 1/4/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > > On Jan 4, 2006, at 3:56 AM, dan tran wrote: > > > On 1/3/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > >> > >> hi > >> > >> I have successfully setup maven-proxy, based o

Re: [ANN] dependency-maven-plugin 1.0

2006-01-04 Thread dan tran
o component defined for this plugin. > > regards, > > Wim > > 2006/1/4, dan tran <[EMAIL PROTECTED]>: > > > > copy mojo copies artifacts specified in plugin's configuration > > > > copy-dependencies copies artifacts in your pom dependencies inc

antrun's antlr task problem

2006-01-04 Thread dan tran
Folks, Here is my build : maven-antrun-plugin 1.1-SNAPSHOT ant ant-nodeps 1.6.5 antlr antlr 2.7.4 compile

Re: [ANN] dependency-maven-plugin 1.0

2006-01-04 Thread dan tran
what is your use case may i ask? can you just do the exclusion? -D On 1/4/06, Wim Deblauwe <[EMAIL PROTECTED]> wrote: > > yep > > 2006/1/4, dan tran <[EMAIL PROTECTED]>: > > > > direct = without transitive dependencies? > > > > -D > > >

Re: JNI with maven2

2006-01-04 Thread dan tran
Philippe native-maven-plugin is at http://mojo.codehaus.com. Still in alpha, but I am able to compile windows and linux,etc. Give it a try, feedback + help is greatly appreciated. The doc is still very limitted. -D On 1/4/06, Philippe Faes <[EMAIL PROTECTED]> wrote: > > Hi all, > > I found a

Re: antrun's antlr task problem

2006-01-04 Thread dan tran
ok, have my plugin's configuration as wrote: > > You need to use the plugin classpath in your build.xml and call > with inheritRefs="true" > > &

Re: Help needed Urgent

2006-01-04 Thread dan tran
UCM is not support yet by maven-scm, view is created by dont think the view has any files in it -D On 1/4/06, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Hi All, > > I'm new to continuum and i'm trying to use it with maven 2 > > I have my project structure in clearcase as like > > ccview >

Re: antrun's antlr task problem

2006-01-04 Thread dan tran
any one? ;-) On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > ok, have my plugin's configuration as > > > > > > > > > > and have my bui

Re: JNI with maven2

2006-01-05 Thread dan tran
start! > > > > regards, > > > > Wim > > > > 2006/1/4, Sean Hennessy <[EMAIL PROTECTED]>: > > > > > > FYI: http://mojo.codehaus.org instead of http://mojo.codehaus.com > > > > > > > > > -Original Message- > > &g

Re: antrun's antlr task problem

2006-01-05 Thread dan tran
Yes I am using 1.1 plugin -D On 1/5/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > Are you using the 1.1 plugin? > > On 1/4/06, dan tran <[EMAIL PROTECTED]> wrote: > > ok, hav

Re: antrun's antlr task problem

2006-01-05 Thread dan tran
> >resource="org/apache/commons/attributes/anttasks.properties"> > > > -Original Message- > From: dan tran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 04, 2006 10:35 PM > To: Maven Users List > Subject: Re: antrun's antlr task problem

Re: call for testers: scp wagon

2006-01-05 Thread dan tran
it is a great joice to see scp working with all the correct persmission settings there is one minor problem with scpexe thou Tested with the recommended snapshot build using scp, sftp,and scpexe. The project ( maven-native) consists of 2 parents, 6 jars, and 1 plugin projects. the plugin deploy a

Re: antrun's antlr task problem

2006-01-05 Thread dan tran
/test1 in the plugin sources, that works for me. > BTW antlr 2.7.4 jar is not in the repo > > > On 1/5/06, dan tran <[EMAIL PROTECTED]> wrote: > > Yes I am using 1.1 plugin > > > > -D > > > > > > On 1/5/06, Carlos Sanchez <[EMAIL PROTECTED]>

Re: [ANN] m2 antrun plugin 1.1 released

2006-01-05 Thread dan tran
sound like you are running into the same problem that I have in other thread ( antlr task) You may want use that thread to configure your classpath + dependencies if It does not work, sound like a JIRA tome -Dan On 1/5/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Is there something fundamen

Re: ${project.build.directory} different in M2.0 & M2.0.1

2006-01-05 Thread dan tran
JIRA please ;-) did you test it with a snapshot of 2.0.2? -D On 1/5/06, Chris Berry <[EMAIL PROTECTED]> wrote: > > We have seen the same issue, and it is a serious PITA. > Now we will have to go through any home grown Plugins and modify them > accordingly. > > 1) the absolute path makes more se

Re: call for testers: scp wagon

2006-01-05 Thread dan tran
s almost certianly permissions problems with deploying > that project, rather than an scpexe error, and though the returned > error is limited, its all it gets back from the server :) > > I'll try to reproduce it, though. > > - Brett > > On 1/6/06, dan tran <[EMAIL PRO

Re: call for testers: scp wagon

2006-01-05 Thread dan tran
I have both putty.exe and cygwin scpexe in my path. Putty if first. But i think maven picks up scp.exe, no sure thou -Dan On 1/5/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > Ok, looking into it. Do you use putty? > > On 1/6/06, dan tran <[EMAIL PROTECTED]> wrote: >

Re: [m2] How to add additional path for surefire test sources?

2006-01-05 Thread dan tran
use build-helper-maven-plugin at http://mojo.codehaus.org in sandbox -D On 1/5/06, Jason Dillon <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to figure out how to add an additional directory of > sources for inclusion when running surefire tests. Basically I have > generated some base tests cla

SCM username/password lookup

2006-01-05 Thread dan tran
There are 3 places to look for in this order Command line settings.xml connectionUrl However in maven-release-plugin, if user does not provide username via command line (ie -Dusername=xyz), username is default to system property ${user.name} and by passing settings.xml. is it a bug? -Dan

Re: antrun's antlr task problem

2006-01-06 Thread dan tran
Thanks Carlos, the secret is ant-antlr, i did not define that -D On 1/6/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > > I got it working, take a look at the test6 > > On 1/5/06, dan tran <[EMAIL PROTECTED]> wrote: > > OK the IT test1 works, I now use it as a base

Re: [m2] Artifacts not available during the generate-sources phase?

2006-01-06 Thread dan tran
Add this to your mojo's annotation to allow your mojo to see all dependencies as if it is in test phase @requiresDependencyResolution test On 1/6/06, Allan Lewis <[EMAIL PROTECTED]> wrote: > > The following code in a Mojo: > > > > or (Iterator i = project.getArtifacts().iterator(); i.hasNext();)

Re: plexus-archiver-1.3-SNAPSHOT?

2006-01-06 Thread dan tran
would plexus-archiver-1.3 be ok? -D On 1/6/06, John Fallows <[EMAIL PROTECTED]> wrote: > > Folks, > > Looks like plexus-archiver-1.3-SNAPSHOT is not available from > http://snapshots.maven.codehaus.org even though there are dated snapshots > there. > > Any chance of getting this fixed in the Cod

Re: [m2]: Problem using maven-antrun-plugin twice

2006-01-06 Thread dan tran
generate-sources run generate-sources

Re: SCM username/password lookup

2006-01-06 Thread dan tran
any one? -D On 1/5/06, dan tran <[EMAIL PROTECTED]> wrote: > > > There are 3 places to look for in this order > > Command line > settings.xml > connectionUrl > > However in maven-release-plugin, if user does not provide username > via command lin

Re: SCM username/password lookup

2006-01-06 Thread dan tran
OK, JIRA is on the way Thank your for all inputs -D On 1/6/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > Yes, i think it's a bug. We must set username to ${user.name} if other > places don't set it. > > Emmanuel > > dan tran a écrit : > > any

Re: SCM username/password lookup

2006-01-06 Thread dan tran
ot;Maven Users List" > Sent: Friday, January 06, 2006 3:23 PM > Subject: Re: SCM username/password lookup > > > > Yes, i think it's a bug. We must set username to ${user.name} if other > > places don't set it. > > > > Emmanuel >

Re: SCM username/password lookup

2006-01-06 Thread dan tran
David, From Brett's comment, your suggestions are not allowed. Since It happens inside maven-scm-api WDYT? -D On 1/6/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > Yes. Anything settings.xml provides should be passed into the SCM API. > > - Brett > > On 1/7/0

release plugin with cvs provider??

2006-01-07 Thread dan tran
Any one with succussfull use of maven-release-plugin with your project in cvs yet? see http://jira.codehaus.org/browse/SCM-128 and http://jira.codehaus.org/browse/SCM-129 Advice is greatly appreciated. -Dan

Re: release plugin with cvs provider??

2006-01-08 Thread dan tran
://jira.codehaus.org/browse/SCM-128 -Dan On 1/8/06, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > dan tran wrote: > > Any one with succussfull use of maven-release-plugin with your project > in > > cvs yet? > > > > see http://jira.codehaus.org/browse/SCM-1

Re: "You need to define a connectionUrl parameter."

2006-01-09 Thread dan tran
is it the old problem where maven:scm ignores connectionurl in the pom and requires user to pass it in from command line? 2.0-beta-2 should already fix it -D On 1/9/06, Yann Le Du <[EMAIL PROTECTED]> wrote: > > In some cases, I had to put also a beside > > . Maybe this is not the cause, but y

Re: [m2]release:prepare requires snapshots ?

2006-01-09 Thread dan tran
To > > "Maven Users List" > > cc > > > > Subject > > RE: [m2]release:prepare requires snapshots ? > > > > > > > > > > > I think the idea is that if you are releasing an entire set of projects > at once, you would want to ke

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-09 Thread dan tran
arget/repo > >> > >> [INFO] [deploy:deploy-file] > >> [INFO] > >> - > >> --- > >> [ERROR] BUILD ERROR > >> [INFO] > >>

Re: Doing a CVS checkout from within a Maven 1.0 script

2006-01-09 Thread dan tran
use maven-scm-plugin -D On 1/9/06, Michael Thomsen <[EMAIL PROTECTED]> wrote: > > Hi, > > I am looking for some information on how to perform a CVS checkout > from within a Maven script. This is part of an automated build system > that I am putting together and I would like to know if there is a

Re: [m2] Project with multiple artifacts as a result

2006-01-09 Thread dan tran
bind assembly:attach as the last execution in package phase, of course you need to configure your assembly descriptor. -D On 1/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > But there is no way for me to insert a new lifecycle phase? > > Chris > > Brett Porter <[EMAIL PROTECTED]> wrote:

Re: [m2] what should I set for Plugin Repository URL?

2006-01-10 Thread dan tran
http://www.ibiblio.org/maven2/org/apache/maven/plugins/ is the right one however org.apache.maven.plugin is the groupId and http://www.ibiblio.org/maven2 is the root -D On 1/10/06, Man-Chi Leung <[EMAIL PROTECTED]> wrote: > > very sorry, lets correct my mistake. > > I am comparing the reposito

Re: [M1] 302 errors

2006-01-10 Thread dan tran
does it mean we need patch our maven-1.0.2 as well? -D On 1/10/06, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > ok, thanks > > On 1/10/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > > > Fixed. > > > > On 1/10/06, Tim McCune <[EMAIL PROTECTED]> wrote: > > > Anyone have any idea what's going on

Re: [m2] Using array types in mojo configuration

2006-01-10 Thread dan tran
since you have OsgiManifest and Paths are at the same level it should be like this . your down bean's attribute here one two -D On 1/10/06, John Wells <[EMAIL PROTECTED]> wrote: > > Lets say I have a mojo with something like this: > > /** > * @parameter > */ >

Re: Dependency and POM's with 3rd party Jars in maven 2

2006-01-10 Thread dan tran
did you use deploy:deploy-file ( still in SVN) to deploy your artifacts to your internal remote repository? did you add your internal repository entry into your root pom? -D On 1/10/06, Todd Nine <[EMAIL PROTECTED]> wrote: > > I am having some trouble managing an internal repository usilizing

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-10 Thread dan tran
go but I > came back for a try after your previous reply! > > thanks man. I love M2 > > btw, one quick question: > do I need to specify repository for plugin URL in maven-proxy? > http://www.ibiblio.org/maven2/plugins/ > > ~manchi > > > On Jan 10, 2006, at 2:18 AM

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-10 Thread dan tran
btw http://www.ibiblio.org/maven2/plugins/ is wrong it is http://www.ibiblio.org/maven2 On 1/10/06, dan tran <[EMAIL PROTECTED]> wrote: > > glad it works for you. > > and no you dont need to specify maven central plugin repo. Just add your > maven-proxy entry in > your

Re: Doing a CVS checkout from within a Maven 1.0 script

2006-01-10 Thread dan tran
t; Could you point me to any examples of this plugin? I've defined my > repository in the project.xml, now how do I define a place in > maven.xml to perform the CVS update? If you could show me any example > project.xml/maven.xml files that'd be great. > > Thanks, >

Re: [m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread dan tran
maven-assembly-plugin -D On 1/10/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > Is it Possible to create a zip/tar that includes my ear, and other misc > resources? > > > > --- > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BA

Re: [m2] Possible to create a zip/tar that includes my ear, and other misc resources

2006-01-10 Thread dan tran
> BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BASELogic.com > > Washington Mutual (WAMU) (Emeryville, California) > --- > > > > > > >From: dan tran <[EMAIL PROTECTED]> > >Reply-To: "Maven Users List" > >To: Maven Users List

Re: [m2] Deploying 3 Party Jar to Maven-Proxy

2006-01-11 Thread dan tran
plugins in > > > http://www.ibiblio.org/maven2/plugins/ > > but not in > > > http://www.ibiblio.org/maven2 > > what is happening for this? > > ~manchi > > On Jan 11, 2006, at 2:35 AM, dan tran wrote: > > > btw http://www.ibiblio.org/maven2/plugins/ is

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread dan tran
http://mojo.codehaus.org/build-helper-maven-plugin/ On 1/11/06, Geoffrey <[EMAIL PROTECTED]> wrote: > > Hi, > > What is the best practice to add a second source directory? > I am aware it is not recommended to have more then one, but it's > unavoidable at this time in the project: > > src/main/jav

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread dan tran
t; I need to add the sources generated thru xdoclet (its in a separate > folder).. is there a cleaner way of adding it, other than using this > build-helper? > > > > On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > http://mojo.codehaus.org/build-helper-ma

Re: [m2] Using variables from parent pom.xml - like version etc.

2006-01-11 Thread dan tran
maven-release-plugin will do all that update for you -D On 1/11/06, Sanjay Choudhary <[EMAIL PROTECTED]> wrote: > > I agree with Sean, it will be a pain and time comsuming effort if all the > child project's POM needs to be updated. > > -Sanjay > > On 1/11/06, Sean McNamara <[EMAIL PROTECTED]> w

Re: [m2] war project and dll dependency

2006-01-11 Thread dan tran
use dependency-maven-plugin at mojo.codehaus.org for the work around. -D On 1/12/06, Piotr Bzdyl <[EMAIL PROTECTED]> wrote: > > Hi, > > You got it right, your solution looks fine. Just check for typos, just > like > > how you declared the native library as a dependency of your jar > artifact. >

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread dan tran
oh mine this question is getting popular ;-) check out build-helper-maven-plugin at http://mojo.codehaus.org maven 2 books are comming out first quater of 2006, i heard ;-) On 1/12/06, Andreas Zschorn <[EMAIL PROTECTED]> wrote: > > Hi, > I have a question regarding maven 2 and the use of mu

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread dan tran
y elements (its much cleaner and clearer than having to > use a plugin for it). > > Jason Dillon wrote: > > This functionality should be added to the core pom IMO. > > > > --jason > > > > > > > > > > > > -Original Message- >

Re: [m2] Maven2 configuration for a plugin which contains a Map?

2006-01-12 Thread dan tran
John, 1. Add a Map field into your mojo ex private Map myMap = new HashMap(); 2 To inject a map from pom, use this format yourvalue . Hope it helps -D On 1/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have developed a plugin for my project that uses a

Re: [m2] native-maven-plugin project setup

2006-01-12 Thread dan tran
On 1/12/06, RedBugz Software <[EMAIL PROTECTED]> wrote: > > I'm an m2 newbie trying to implement our JNI library building via the > native-maven-plugin. I've grabbed the latest source and built it and > installed it. > > How are these projects normally set up? I'm trying to get the Sun JNI > Tutori

Re: [m2] maven-assembly-plugin: does install result to respository?

2006-01-12 Thread dan tran
yes, use assembly:attach goal, but this feature is still SVN -Dan On 1/12/06, Richard Allen <[EMAIL PROTECTED]> wrote: > > When using the assembly plugin, will the install goal put the result of > the assembly into the repository? > > Thanks, > Richard Allen > >

Re: [m2]: dependency-maven-plugin "artifactItems" error

2006-01-12 Thread dan tran
wrong goal, it should be unpack-dependencies instead of unpack. Check out examples for details -D On 1/12/06, Rollo, Dan <[EMAIL PROTECTED]> wrote: > > Sorry if I'm missing the obvious, but I keep getting the following error > with the dependency plugin: > > [INFO] >

Re: [m2] native-maven-plugin project setup

2006-01-12 Thread dan tran
On 1/12/06, RedBugz Software <[EMAIL PROTECTED]> wrote: > > On 1/12/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > On 1/12/06, RedBugz Software <[EMAIL PROTECTED]> wrote: > > > I don't see from the documentation where I specify the classp

Re: Filtering resources

2006-01-13 Thread dan tran
I use antrunt to remove those classes in the process of migrating ant/make builds to maven. Hopefully, I dont need it any more soon. -D On 1/13/06, John Casey <[EMAIL PROTECTED]> wrote: > > Well, looking at the jar plugin, it seems that it doesn't allow > inclusions/exclusions to be specified

Re: Filtering resources

2006-01-13 Thread dan tran
u give me a link that explains how > to > use it? > > > On 1/13/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > I use antrunt to remove those classes in the process of migrating > > ant/make builds to maven. > > > > Hopefully, I dont need it any more

Re: How to generate the header of a table in APT Format?

2006-01-13 Thread dan tran
http://maven.apache.org/guides/mini/guide-apt-format.html ? On 1/13/06, HezhiQiang <[EMAIL PROTECTED]> wrote: > > Using maven site plugin,How to generate the header of a table in apt > format > and that is element in html text file. > >

Re: Building my project from source in CVS

2006-01-13 Thread dan tran
mvn scm:bootstrap -DconnectionUrl=yourcvsscmurl -DcheckoutDirectory=xyz -Dgoals=install http://maven.apache.org/scm/ -D On 1/13/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > I know it is doable with the scm plugin but you don't have to use > Maven for this part in my mind since a checko

Re: [m2] Unarchive selected files/dirs

2006-01-14 Thread dan tran
I think it is best to make plexus unarchiver to suppport patternset ( exclude/include). This way dependend-maven-plugin and others can inherit this work for free. To add your own Unarchiver you need to fix up ArchiverManager's src/main/resource/META-INF/plexus/components.xml. it is not neccesary i

Re: [m2] Unarchive selected files/dirs

2006-01-15 Thread dan tran
I would prefer to add to add perttern set or the existing interface, so that there will be minimal impact on other plugins if they decide to use this new feature. +1 from me and Brian, i am sure others will follow. Open JIRA for this this feature, and advertize your vote ;-) -D On 1/15/06, Sasv

Re: [m2] Unarchive selected files/dirs

2006-01-15 Thread dan tran
svata Chatterjee [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 15, 2006 3:39 PM > To: Maven Users List > Subject: Re: [m2] Unarchive selected files/dirs > > Dan, > > On 1/15/06, dan tran <[EMAIL PROTECTED]> wrote: > > I would prefer to add to add perttern set or

Re: [m2] Unarchive selected files/dirs

2006-01-15 Thread dan tran
On 1/15/06, Sasvata Chatterjee <[EMAIL PROTECTED]> wrote: > > On 1/15/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > I think he means add it to the plexus archiver so that it can be easily > > implemented where the archiver is used. > > > It would be nice for reusability if it were in Plexus. But,

Re: [m2] native-maven-plugin project setup

2006-01-16 Thread dan tran
On 1/16/06, RedBugz Software <[EMAIL PROTECTED]> wrote: > > On 1/12/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > Since Sun JVM/JNI built with mvcs 6.0 service pack3, you have to use the > > same compiler. > > > > But it does not prevent you

Re: [M2] Configuration parameters for my Mojo(s)

2006-01-17 Thread dan tran
@parameter expression="skip" default-value="false" would fix the problem. On 1/17/06, John Wells <[EMAIL PROTECTED]> wrote: > > Does anyone have any help for me here? > > The basic problem is that my Mojo is not getting configured from the > pom.xml file during the integration-test phase. The

Re: How to display the compiled files?

2006-01-17 Thread dan tran
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html has some configurable params. verbose may be the one you are looking for -D On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Is there an option in maven-compiler-plugin to list the files being > compiled? I'm trying to

pmd crashes

2006-01-18 Thread dan tran
Folks my problem is PMD not the plugin, but I ask anyway here Here is the error: = [INFO] Error during report generation Embedded error: Failure executing PMD for: ..\ui\internal\launcher\configuration\PreferencePageHistory.java Encountered "abstract" at line 151, column 17. Was

Re: [m2] Dependencies declaration: .dll / .so files howto?

2006-01-18 Thread dan tran
all dependency files go to the same place ( ie .jar,.so,.dll) - local repository. If you decide to move it some where else, use dependency-maven-plugin -D On 1/17/06, Valerio Schiavoni <[EMAIL PROTECTED]> wrote: > > hello Napoleon, > i don't understand if using the dll/so packaging i'm declaring

Re: Executing a task before Clean

2006-01-18 Thread dan tran
How do I bind my mojo to one of those clean phases in my own lifecyle extension? An example is super. Thanks On 1/18/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > pre-clean > clean > post-clean > > On 1/18/06, Chris Berry <[EMAIL PROTECTED]> wrote: > > Hi Paul, > > You can, you will have atta

Re: Executing a task before Clean

2006-01-18 Thread dan tran
; - Brett > > On 1/18/06, dan tran <[EMAIL PROTECTED]> wrote: > > How do I bind my mojo to one of those clean phases in my own lifecyle > > extension? > > > > An example is super. > > > > Thanks > > > > > > On 1/18/06, Bre

Re: [m2] Dependencies declaration: .dll / .so files howto?

2006-01-18 Thread dan tran
Dont understand why you can't rename? Could you give a specific scenario? What do you mean by "dll inn't linked any more? You can not set version element to empty -Dan On 1/18/06, Loïc Lefèvre <[EMAIL PROTECTED]> wrote: > > However, what can I do if I *can't* rename the .dll / .so files: > f

Re: [m2] how can multiple users use the same settings.xml?

2006-01-19 Thread dan tran
how about placing the entired maven2 + settings.xml in scm so htat every one would use the same m2. -D On 1/19/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > > Hi. > > You might want to take a look at the maven command option "-s " > where path is the location of your settings.xml. So you c

Re: [m2] multiple project's component dependency declaration possible or too complex?

2006-01-19 Thread dan tran
how about create one big zip file?? then use antrun to unpack. I do that quite often -Dan On 1/19/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > > You mean you want a single pom to have several jars associated with it? > This doesn't comply with the one-artifact-one-jar philosophy of maven

Re: [m2] Next maven-war-plugin release?

2006-01-23 Thread dan tran
One way to get away from this problem is - remove element from your plugin, so that release:prepare will work - download the latest svn of war plugin and build. maven will pickup the local snapshot build from there on. When the next war plugin release, you can put the version back. -

mvn clean is slow

2006-01-24 Thread dan tran
Today I noticed mvn clean implementation transverses to all files and does a remove one by one. is it intended? why can we just do a bulk remove. It is quite slow specially with clearcase dynamic view. -D

Re: mvn clean is slow

2006-01-24 Thread dan tran
does Ant encounter the same issue? -D On 1/24/06, Torsten Curdt <[EMAIL PROTECTED]> wrote: > > > On 24.01.2006, at 20:35, Emmanuel Venisse wrote: > > > Yes, it's intended due to Windows bug encountered in both Sun and > > IBM JDKs. > > We need to call System.gc() if a delete fail, wait few milli

Re: mvn clean is slow

2006-01-24 Thread dan tran
gt; Raphaël > > > > 2006/1/24, Wim Deblauwe <[EMAIL PROTECTED]>: > >> > >> And this is in Maven 1 also I guess? Because there it is also very > slow. > >> > >> Call me crazy but wouldn't an System.exec("del *.*") be faster? >

Re: tag command failed in release plugin

2006-01-24 Thread dan tran
try with -X On 1/24/06, Soon Leong Yap <[EMAIL PROTECTED]> wrote: > > I enountered the following: > > [INFO] [release:prepare] > [INFO] Tagging release with the label my-sample-tag. > Provider message: > The svn tag command failed. > Command output: > svn: Local, non-commit operations do not take

Re: mvn clean is slow

2006-01-24 Thread dan tran
also not sure why it is not fixed by sun and ibm, source very very major to me -Dan On 1/24/06, dan tran <[EMAIL PROTECTED]> wrote: > > may be we should specialize the delete command per platform ;-) > > -D > > > On 1/24/06, Kathryn Huxtable <[EMAIL PROTECTED

Re: pmd crashes

2006-01-26 Thread dan tran
my production build and eclispe IDE is very happy about the syntax during compilation I ended up refactor the code to make PMD happy -Dan On 1/26/06, jason r tibbetts <[EMAIL PROTECTED]> wrote: > > Dan, > > > Folks my problem is PMD not the plugin, but I ask anyway here > > > > Here is the err

Re: [m2] How to create multiple jars

2006-01-26 Thread dan tran
create 2 projects using same source tree ( change project.build.sourceRoot of both project point to the same tree) then tinker with the compiler plugin configuration. but you must have 2 diffrent artifact ids thou -Dan On 1/26/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > Thanks, I get wha

Re: Any workaround for the maven-antrun-plugin 'maven.dependency.classpath' bug?

2006-01-27 Thread dan tran
suggestion, get the latest from svn and build it. -D On 1/27/06, Dennis Ho <[EMAIL PROTECTED]> wrote: > > Hi, > >The bug I am referring to is: > http://jira.codehaus.org/browse/MANTRUN-38?page=comments. > >From the comments, it looks like I can use > maven.compile.classpath in pl

Re: [m2] deploy:deploy-file with source?

2006-01-27 Thread dan tran
note possible due to http://jira.codehaus.org/browse/MDEPLOY-19 try build-helper-maven-plugin at mojo.codehaus.org as alternative On 1/27/06, Dirk Olmes <[EMAIL PROTECTED]> wrote: > > Dear List, > > I'm currently deploying third party jars into our company's repository > using deploy:deploy-fil

Re: scm checkout directory

2006-01-28 Thread dan tran
according to this page, http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html the only way to change location of checkout dir is to modify your project.build.directory element in your pom.xml. you can modify the annotation of workingDirectory ( in PerformMojo.java) to /**

Re: [m2.0.2] assembly across modules?

2006-01-29 Thread dan tran
You can use Assembly FileSet and FileItem to copy files from any where to your final assembly archive. -D On 1/29/06, Treloar, Barrie (SAPOL) <[EMAIL PROTECTED]> wrote: > > If I have three modules: core, standalone, webapp and the core module > contains property files for configuration. > > Is i

Re: [m2.0.2] assembly across modules?

2006-01-29 Thread dan tran
You modules are not in the same build tree? -D On 1/29/06, Treloar, Barrie (SAPOL) <[EMAIL PROTECTED]> wrote: > > Across modules? > i.e. in not in the current project space. > > > -Original Message- > > From: dan tran [mailto:[EMAIL PROTECTED] > > S

Re: [m2] deploy:deploy-file with source?

2006-01-30 Thread dan tran
sorry, i thougth you already have the source zipped up. Perhaps you can zip it up before package phase. Also the Deploy plugin ( in svn ) now supports deploy artifact with classifier, but you still need to have the zip source thou -Dan On 1/30/06, Dirk Olmes <[EMAIL PROTECTED]> wrote: &

Re: [m2] deploy:deploy-file with source?

2006-01-30 Thread dan tran
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html indicates what maven will zip and deploy the your source if you pass in -DperformRelease=true. Give it a try. -Dan On 1/30/06, dan tran <[EMAIL PROTECTED]> wrote: > > sorry, i thougth you already have the s

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread dan tran
@phase xyz means you dont have to define phase in your plugin execution ( use default phase defined mojo). But you still need to define your plugin executions. However if you want hardwire to a phase when mojo is invoked from command line use @execute. See maven-assembly-plugin for example. -D

Re: [m2] binding mojos to lifecycle

2006-01-31 Thread dan tran
It only works if you run the mojo on command line ;-) -D On 1/31/06, Arik Kfir <[EMAIL PROTECTED]> wrote: > > What's more, when I add @execute phase="compile" it still doesn't work... > > On 2/1/06, Arik Kfir <[EMAIL PROTECTED]> wrote: > > I see...but I still don't understand then, how I can

Re: [m2] ant copy before maven -> urgent !!

2006-02-01 Thread dan tran
checkout maven-antrun-plugin from svn, it has plenty of example in src/it -D On 2/1/06, Fredy <[EMAIL PROTECTED]> wrote: > > Hi, > all is urgent ,-) > > Now I have a pom for almost the hole modules/artifacts in our project. > But there are in a separate folder on before I execute Maven i have to

Re: deploy snapshot error

2006-02-02 Thread dan tran
i think this problem is fixed in maven-2.0.2 + maven-deploy-plugin 2.0 google Did receive proper ACK: '1' for details -D On 2/2/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > > I have already deployed a 1.0-SNAPSHOT into my repository. I am trying > to deploy again over this snapshot and am hav

  1   2   3   4   5   6   7   8   9   10   >