[M2] How to include a subproject that is not named "pom.xml"

2006-07-02 Thread Kevin Wang
Hi, All,

 

In my scenario, I want to define a module in a root project, the POM
file of the module (subproject) is named as "pom-test.xml" rather than
standard pom.xml, for example,

pom.xml (root project)

systest/pom-systest.xml (sub-project)

 

It seems the modules element in a POM only support the fixed name. Could
anyone tell me how to resolve it?

 

Regards/Kevin. 

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


[m2] whether the build-helper-maven-plugin can add webapp resouces

2006-04-07 Thread Kevin Wang
Hi, friends,

   I knew the plugin could add source codes from other directories, but
I don't know if it can add some webapp directoies, for example, add some
jsp or gif files from another project.

 

Regards/Kevin.

  _  

Qiang(Kevin) Wang
Software Engineer
Phone: 8610.85281188.1564
Mobile: 86.13910673958
Yahoo_IM: wiseking_wq
[EMAIL PROTECTED]

 BEA  

BEA Systems (China) Ltd.
11F, China Life Tower No. 16
Chao Wai Da Jie, Beijing 100020, China
Fax: 86. 85251008
www.bea.com.cn
dev2dev.bea.com 

 

 

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


[M2] using tomcat-maven-plugin to stop a no existing war

2006-04-04 Thread Kevin Wang








Hi, all,

   I am using tomcat-maven-plugin to stop
a war which was deployed or not, If the war was not deployed, the mvn job will give
BUILD ERROR and stop to build, Can you tell me how to ignore and continue building
it?

 

Regards/Kevin.








 
  
  Qiang(Kevin) Wang
  Software Engineer
  Phone: 8610.85281188.1564
Mobile:
  86.13910673958
  Yahoo_IM: wiseking_wq
  [EMAIL PROTECTED]
  
  
  
  
  
  BEA Systems (China) Ltd.
  11F, China
  Life Tower No. 16
  Chao Wai Da Jie, Beijing 100020, China
  Fax: 86. 85251008
  www.bea.com.cn
  dev2dev.bea.com 
  
  
  
  
 


 






___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


RE: [m2] How to get the plugin's root path

2006-03-29 Thread Kevin Wang
Hi, 
  I think it's better using relative path, or a property variable in 
settings.xml

Thanks,
--
Qiang Wang [Kevin]

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu
Sent: 2006年3月20日 4:01
To: users@maven.apache.org
Subject: [m2] How to get the plugin's root path

Hi all,

I am writing an ANT-based plugin which needs to validate a set of XML
files. I would like to have the schema files packaged inside the plugin
JAR and wondered how to reference those files.

Please help,
Adrian.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to use external jar's while compiling

2006-02-26 Thread Kevin Wang

In Maven2, if  plugin or dependency can not be found in ibiblio, for example, 
weblogic.jar, you can use below lines to install the jar into local repository:

set wl-home=D:/bea91/weblogic91
set group-id=com.bea.mytest
set version=9.1
set packaging=jar
@rem #weblogic
set path-to-file=%wl-home%/server/lib/weblogic.jar
set artifact-id=weblogic

mvn install:install-file -Dfile=%path-to-file% -DgroupId=%group-id% 
-DartifactId=%artifact-id% -Dversion=%version% -Dpackaging=%packaging%


then you can use the jar as a dependency, as:

com.bea.mytest
weblogic
9.1



Thanks,
--
Qiang Wang [Kevin]
-Original Message-
From: tanya Rust [mailto:[EMAIL PROTECTED] 
Sent: 2006年2月27日 14:43
To: users@maven.apache.org
Subject: How to use external jar's while compiling

Hi all,
  I am new to maven environment 
  Can any one help me finding out solution for compiling my project as it 
requires an external jar for compilation ..
   
   
  Tanya


-
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: How to build Beehive pageflows in Maven2, maven plugin or antrun

2006-02-22 Thread Kevin Wang
Yes, I have changed it in another way, It seems can work now, like this:
POM.xml---

  maven-antrun-plugin
  

  compile
   

  ant compile beehive pageflows ${beehive.dir} 
  


  

  
  
run
  

  


Build.xml---







  
  
  
  







Thanks,
--
Qiang Wang [Kevin]

-Original Message-
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] 
Sent: 2006年2月21日 22:32
To: Maven Users List
Subject: Re: How to build Beehive pageflows in Maven2, maven plugin or antrun

Since I have never used Beehive, it's hard to help so you need to be a
little bit more specific.

On 2/21/06, Kevin Wang <[EMAIL PROTECTED]> wrote:
> Urgent, need your help!
>
>
>
> Thanks,
>
> Kevin
>
> ___
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
>


--
Alexandre Poitras
Québec, Canada

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to build Beehive pageflows in Maven2, maven plugin or antrun

2006-02-21 Thread Kevin Wang
Urgent, need your help!

 

Thanks,

Kevin

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.


how to build JPF(pageflows) in Maven2

2006-02-20 Thread Kevin Wang
Hi, all,

   I have a problem when building beehive page flows in Maven2, I
couldn't find the build-pageflows plugin on ibiblio site for Maven2, So
I compile those JPF files using below snippet:

 



  

...



  maven-antrun-plugin

  



  compile

   



  ant compile beehive pageflows
${beehive.dir} 

 

  

 



  

  

run

  



  





 

 

But it gave such error message:

[INFO] [antrun:run {execution: default}]

[INFO] Executing tasks

 [echo] ant compile beehive pageflows
D:/WLS_WORK/subv/src_load10/beehive

[INFO]



[ERROR] BUILD ERROR

[INFO]



[INFO] Error executing ant tasks

 

Embedded error: java.lang.NullPointerException

[INFO]



[INFO] Trace

org.apache.maven.lifecycle.LifecycleExecutionException: Error executing
ant tasks

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:556)

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:472)

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:451)

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:303)

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:270)

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:139)

 at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)

 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)

 at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

 at java.lang.reflect.Method.invoke(Method.java:585)

 at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

 at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.MojoExecutionException: Error
executing ant tasks

 at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntM
ojo.java:114)

 at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)

 at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:415)

 at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:531)

 ... 16 more

Caused by: java.lang.NullPointerException

 at org.apache.tools.ant.Task.perform(Task.java:373)

 at org.apache.tools.ant.Target.execute(Target.java:341)

 at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntM
ojo.java:108)

 ... 19 more

Caused by: java.lang.NullPointerException

 at
org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:96)

 at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

 at org.apache.tools.ant.Task.perform(Task.java:364)

 ... 21 more

[INFO]



[INFO] Total time: 43 seconds

[INFO] Finished at: Tue Feb 21 10:08:29 CST 2006

[INFO] Final Memory: 5M/10M

[INFO]



 

Why?  (the ant script can be run successfully using ant command)

 

Please help,

 

Regards/Kevin.

  _  

___
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.