Move "shade" plugin to a profile (POM).
Cf.
</dependencyManagement>
<build>
+
<pluginManagement>
<plugins>
</pluginManagement>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>commons-math-examples</id>
+ <build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
</executions>
</plugin>
</plugins>
-
</build>
+ </profile>
+ </profiles>
<modules>
<module>examples-sofm</module>
