Hey,
I want to deploy a number of artifacts (WAR/EAR) to JBoss AS 7.x and I want to be able to do that using both Maven or IntelliJ. Using IntelliJ I prefer to use exploded artifacts and that's where I'm running into trouble.
So I read documentation telling me that I need to specify the output directory which has to end with either .war/.ear. I also decided not to create such a folder in the default Maven output folder, as I would not be able to do 'mvn clean' when the target folder is used by JBoss.
Hence I decided to use ${basedir}/jboss/<finalName.war> as a folder.
However, every time I've done an mvn clean I need to reconfigure these output folders, eventhough it's not in /target. This means that I probably configure the jboss output folders for each artifact (8 pieces) about 5 times per day.
So, any advice on how to configure this robustly ?
Thanks,
Thomas