filter module when deploying multi-modules project

2008-09-12 Thread Zemian Deng
Hi, If I have a multi-modules project with a package type jar and war, how can I disable the upload of the war file when I perform a deploy to my own repository? In another word, I just want to upload the jar as artifact and ignore the war file. Is this possible? -- Come visit my open source pr

jdk version range is not checking with dashes?

2008-08-22 Thread Zemian Deng
Hi, If I have the following config, which I think it should restrict JDK1.5 or higher: org.apache.maven.plugins maven-enforcer-plugin 1.0-alpha-2

achivia - what is locked user mean?

2008-08-18 Thread Zemian Deng
What is the meaning of locked user in Archivia? Also, I have unselected "Force User to Change Password" but it still prompt to change change password every few month. Is there way to disable this? Thanks. -- Sweet - a Scala web framework: http://code.google.com/p/sweetscala

generating javadoc on one of the dependency jar

2008-08-13 Thread Zemian Deng
Hello list, I have a commercial jar artifact that uploaded to my own repository, and I can access it fine. I want to gerenate a javadoc for this particular jar along with my project javadoc. Is this possible? Can someone show me what I have to do in pom to configure this? Thanks, -Zemian -- Swe

default-skin not found from central?

2008-07-10 Thread Zemian Deng
Hi, I received this error when trying mvn site:stage on my project: INFO] [ERROR] BUILD FAILURE [INFO] [INFO] The skin does not exist: Unable to locate

how modules gets other modules as dependencies?

2008-07-02 Thread Zemian Deng
Hi list, I a parent pom with two sub modules, one war and one jar. the war depends on jar. When I tries to run jetty:run on war modules, it can't find the artifact from jar module that it depends on. It only works when I install the jar into local repo. Is there better way to do this? Thanks. -Z

archetype:create parameter

2008-06-23 Thread Zemian Deng
HI, In http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-batch.html, the example shown with "-Dpackage=1.5". What does it do? I Can't seem to find document for that. -Z - To unsubscribe, e-mail: [EMAIL PROT

how to prevent default goal in a phase to run?

2008-04-23 Thread Zemian Deng
Hi, I have successfully setup and bind assembly plugin in pom to generate my custom jar file at package phase. But then the default jar:jar still get run during package phase. How can i prevent it from running, or skip this goal? -- Thanks, Zemian Deng

Re: [ANN] Maven Eclipse Plugin 2.5.1 Released

2008-04-05 Thread Zemian Deng
there way to auto set these? Thanks, Zemian Deng On Sat, Apr 5, 2008 at 3:09 AM, Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > The Maven team is pleased to announce the release of the Maven Eclipse > Plugin, version 2.5.1 > > This plugin is used to generate Eclipse

Re: Filter config directory...

2008-04-04 Thread Zemian Deng
to filter src/main/resources. > > Any tips? > > Cheers,Borut > -- Thanks, Zemian Deng

Re: is there way to reset admin password?

2008-04-04 Thread Zemian Deng
site is up. I went restart the webapp and everything is fine again. Might be some caching and not flushing out with a bad shutdown? -Zemian On Fri, Apr 4, 2008 at 9:57 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Fri, Apr 4, 2008 at 6:50 AM, Zemian Deng <[EMAIL PROTECTED]> >

how to force archiva download an artifact

2008-03-24 Thread Zemian Deng
oxied repo) that I have setup? Thanks Zemian Deng

Re: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Zemian Deng
here is more logging using -X option if you needed + Error stacktraces are turned on. Maven version: 2.0.8 Java version: 1.5.0_13 OS name: "mac os x" version: "10.5.2" arch: "i386" Family: "unix" [DEBUG] Building Maven user-level plugin registry from: '/Users/ thebugslayer/.m2/plugin-registry.xm

Re: maven-archetype-plugin 2.0-alpha-2 failed

2008-03-11 Thread Zemian Deng
The command I stated doesn't require any project setup. You should able to just run it on your terminal and you get error. On my Mac10.5, I get this: ~ thebugslayer$ mvn org.apache.maven.plugins:maven-archetype-plugin: 2.0-alpha-2:create - DarchetypeGroupId=net.liftweb

Re: escaping dollar sign in archetype templates

2008-03-05 Thread Zemian Deng
Sure Wendy, it's added under "How To" section now. -Z On Wed, Mar 5, 2008 at 9:16 AM, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 12:01 PM, Zemian Deng <[EMAIL PROTECTED]> > wrote: > > This is the archetype's template pom.xml, no

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
to improvement. -Zemian On Mar 4, 2008, at Tue Mar 4 - 1:15 PM, Wendy Smoak wrote: On Tue, Mar 4, 2008 at 10:37 AM, Zemian Deng <[EMAIL PROTECTED]> wrote: Added this on top of pom.xml #set($dollar = '$') Doesn't that make it invalid xml? I'm not sure this is

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
Added this on top of pom.xml #set($dollar = '$') On Mar 4, 2008, at Tue Mar 4 - 12:02 PM, Wendy Smoak wrote: On Tue, Mar 4, 2008 at 9:17 AM, Zemian Deng <[EMAIL PROTECTED]> wrote: Never mind, Answered my own question. Setting velocity parameter in pom.xml will be visible as

Re: escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
Never mind, Answered my own question. Setting velocity parameter in pom.xml will be visible as global to all other resources filter. Zemian Deng On Mar 4, 2008, at Tue Mar 4 - 11:07 AM, Zemian Deng wrote: Hello, This is for maven-archetype-plugin related. There is a "Closed-Won&

escaping dollar sign in archetype templates

2008-03-04 Thread Zemian Deng
set($dollar = '$'), so I can use in many more jsp without adding it on every file? Thanks, Zemian Deng. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

passing system properties to exec:java

2008-02-18 Thread Zemian Deng
Hello list, Is there way I can pass System Property on command line instead of pom xml to the programming run by exec:java plugin? Thanks, Zemian Deng.

Re: Antwort: create extra folder on my own achetype layout [Virus checked]

2008-02-05 Thread Zemian Deng
hanks, Zemian Deng. On Feb 5, 2008, at Tue Feb 5 - 4:53 AM, [EMAIL PROTECTED] wrote: -Zemian Deng put an empty file in the directory: src/main/my-special-conf/readme.txt mit freundlichen Grüßen/best regards Wolfgang Schrecker "Using a proven set of basic building blocks along with

create extra folder on my own achetype layout

2008-02-04 Thread Zemian Deng
Hello list, Does anyone know how can I create a folder named "my-special-conf" in a custom archetype besides pom.xml and src? I don't see a way to do this using archetype.xml descriptor. Thanks, -Zemian Deng

Re: eclipse plugin snapshot setup

2008-01-29 Thread Zemian Deng
26, 2008 1:20 AM, Zemian Deng <[EMAIL PROTECTED]> wrote: Hello list, Is there a standard repository URL for maven's plugin snapshot? I am interested in using the maven-eclipse-plugin with 2.5- SNAPSHOT Thanks, Zemian Deng -- ..

eclipse plugin snapshot setup

2008-01-25 Thread Zemian Deng
Hello list, Is there a standard repository URL for maven's plugin snapshot? I am interested in using the maven-eclipse-plugin with 2.5- SNAPSHOT Thanks, Zemian Deng

archiva-1.0-bin download failed

2008-01-25 Thread Zemian Deng
Hi, has anyone notice this very of Strandalone download is corrupted? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to remove an artifact

2008-01-21 Thread Zemian Deng
Hi, Is there way to remove an artifact from my internal repository that setup by Archiva?

how to use "Find Artifact"

2008-01-08 Thread Zemian Deng
example: "The entire file will *not* be uploaded to the server."??? Do you mean to say it will not be on server until it's completely finished upload like progress bar is reached to 100%? I like the rest of the application so far. Great job on those! -Zemian Deng

Re: archiva failed with mysql setup

2008-01-07 Thread Zemian Deng
quick response. -Zemian On Jan 7, 2008 3:17 PM, Mick Knutson <[EMAIL PROTECTED]> wrote: > You did not specify the port :3306 in your jdbc URL And you need 2 DB's. 1 > for archiva, and 1 for users. > > > On Jan 7, 2008 11:34 AM, Zemian Deng <[EMAIL PROTECTED]> wrote: >

Re: archiva failed with mysql setup

2008-01-07 Thread Zemian Deng
e mailing lists... please come join us there if you > have questions: http://maven.apache.org/archiva/mail-lists.html > > Wayne > > On 1/7/08, Mick Knutson <[EMAIL PROTECTED]> wrote: > > What MySql Version? > > > > Can you post your archiva.xml? > > &g

archiva failed with mysql setup

2008-01-07 Thread Zemian Deng
Hi list, I didn't see a separated list for archiva, so I post question here. I am installing archiva with default derby worked fine. Now I am trying to configure to use Mysql. When I run my Tomcat server, I get the following error: 2008-01-07 13:18:12,481 [main] INFO org.apache.catalina.core.Cont

Getting started with Maven Tutorial

2007-12-10 Thread Zemian Deng
from scratch to all the way on deploying and releasing it. It also has a small webapp application walk through as well. The tutorial is on Maven wiki: http://docs.codehaus.org/display/MAVENUSER/Getting+started+with+Maven2+-+complete+projects+walk+through Enjoys, -Zemian Deng