Excluded Environments

There could be scenarios where you may have directories inside src/main/environments for which you don’t want to generate archives. For example if you have directories dev-local and qa-local inside src/main/environments directory and these are useful if a develop wants to run his localhost against dev or qa, then you probably don’t want to generate archives for these as that would unncessarily delay your build. Environments-Maven-Plugin provides excludeEnvironments tag for this purpose.This tag takes comma separted list of directory names. leading and trailing spaces are ignored. So dev,ci,qa,prod is the same as dev, ci, qa, prod.

	<plugin>
		<groupId>net.sf.environments-maven-plugin</groupId>
		<artifactId>environments-maven-plugin</artifactId>
		<version>1.1.0-SNAPSHOT</version>
		<configuration>
			<excludeEnvironments>dev01, qa01 ,qa02,</excludeEnvironments>
			<parallel>true</parallel>
		</configuration>
		<executions>
			<execution>
				<goals>
					<goal>configuration</goal>
				</goals>
			</execution>
		</executions>
	</plugin>