Hi folks,

I am facing a config problem with deploying two classified WAR files at once. 
My setup is this, I have a WAR project which is developed and tested locally 
with Tomcat and Eclipse. Deploying this WAR file to host1 and host2 requires a 
different context.xml. So I tried to solve this with a profile with copies a 
different context.xml with filtering for the hostname. Invoke would be like 
this:
mvn package -Pdeployment -Dhostname=host1

Package is created. I rerun the same process a second time for host2. Now the 
real problem arises when I do a release:perform to Nexus. I cannot produce two 
files at the same time during this process. Of course only one file is 
deployed. A second deployment does not work because Nexus blocks. I have to 
manually upload the second war file.

Is there any remedy to this? I want to avoid tampering with the assembly plugin 
since this would be just tedious work which the WAR plugin already does 
perfectly.

Thanks,

Mike
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to