Maven: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<source lang="xml"> | |||
<profile> | |||
<id>ext</id> | |||
<activation> | |||
<file> | |||
<missing>${basedir}/ext</missing> | |||
</file> | |||
</activation> | |||
</profile> | |||
</source> | |||
==References== | ==References== | ||
* [http://maven.apache.org/ref/3.3.3/maven-model/maven.html#class_file File specification used to activate the profile] | * [http://maven.apache.org/ref/3.3.3/maven-model/maven.html#class_file File specification used to activate the profile] | ||
* [https://stackoverflow.com/questions/30649044 Activate a Maven Profile if missing a file] | * [https://stackoverflow.com/questions/30649044 Activate a Maven Profile if missing a file] |
Revision as of 02:02, 21 May 2020
<profile>
<id>ext</id>
<activation>
<file>
<missing>${basedir}/ext</missing>
</file>
</activation>
</profile>