Hi,

I have searched simple deploy method than artifact plug in. The artifact
plug in is very good ,but it force to use maven directory rule. I want
to deploy some property files & jar and war files specified directory
PATH  to multi hosts with ftp.

Do you have some information or idea? Please help me.


My problem is:
 1. I want to deploy jar and war file like following.

-------The image of STDOUT message----------
Connected to HostA.
  :
CWD /opt/bea/user_properties/domains/mydomain/
250 CWD command successful.
Deploying: /root/build/war/XT.war-->XT.war
  :
Connected to HostB.
  :
CWD /opt/bea/user_properties/domains/mydomain/
250 CWD command successful.
Deploying: /root/build/war/XT.war-->XT.war
------------

-------STDOUT message with war:deploy----------
Connected to HostA.
  :
CWD /opt/bea/user_properties/domains/mydomain/
250 CWD command successful.
Deploying: /root/build/war/XT.war-->XT/wars/XT-.war
                                  ^^^^^^^^^^^^^^^^^^
  :
Connected to HostB.
  :
CWD /opt/bea/user_properties/domains/mydomain/
250 CWD command successful.
Deploying: /root/build/war/XT.war-->XT/wars/XT-.war
                                  ^^^^^^^^^^^^^^^^^^
------------
I understand what this directory PATH is the rule of maven.



 2. I want to deploy property files like following.

-------The image of STDOUT message----------
Connected to HostA.
  :
CWD /opt/bea/user_properties/domains/mydomain/properties/
250 CWD command successful.
Deploying: /root/src/properties/AAA.properties-->AAA.properties
Deploying: /root/src/properties/BBB.properties-->BBB.properties
  :
Connected to HostB.
  :
CWD /opt/bea/user_properties/domains/mydomain/properties/
250 CWD command successful.
Deploying: /root/src/properties/AAA.properties-->AAA.properties
Deploying: /root/src/properties/BBB.properties-->BBB.properties
------------


-----The image of project.properties--------
maven.repo.list= HostA,HostB

#settings for repository 'HostA'
maven.repo.HostA=ftp://HostA
maven.repo.HostA.username=USERNAME
maven.repo.HostA.password=******
maven.repo.HostA.directory=/opt/bea/user_properties/domains/mydomain/properties/

#settings for repository 'HostB'
maven.repo.HostB=ftp://HostB
maven.repo.HostB.username=USERNAME
maven.repo.HostB.password=******
maven.repo.HostB.directory=/opt/bea/user_properties/domains/mydomain/properties/
----------------

Thanks and Regards,
Keisuke


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

Reply via email to