It means nothing in particular, it only declares two build profiles each one of them set the value of the env
property.
The meaning depends on how such declaration is used.
For example if in your pom.xml
there is something like:
<packaging>jar</packaging>
...
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<built-for-environment>${env}</built-for-environment>
</manifestEntries>
</archive>
</configuration>
</plugin>
...
<profiles>
<profile>
<id>inmemory</id>
<properties>
<env>inmemory</env>
</properties>
</profile>
<profile>
<id>cloudbees</id>
<properties>
<env>cloudbees</env>
</properties>
</profile>
</profiles>
and you run:
mvn clean install -Pinmemory
than in the generated MANIFEST.MF
you can find the row:
built-for-environment: inmemory
So the meaning, in this example, is to add in the MANIFEST.MF
an entry row with built-for-environment:
followed by the name of the profile id.
You can answer yourself, finding the meaning for your project, by searching for ${env}
in your project.