You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 3 folders for the environments but when I run 'mvn clean package', the target folder gets created
and it too is treated as an environment. This causes it to create an additional 2 zips:
[INFO] --- multienv-maven-plugin:0.2.0:configuration (default) @ myapp ---
[INFO]
[INFO] We have found 5 environments.
[INFO] We have the following environments: target,target/maven-archiver,dev,prod,test
[INFO]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 40 resources
[INFO] Building Environment: 'target'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-target.zip
[INFO] Building Environment: 'target/maven-archiver'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-target/maven-archiver.zip
[INFO] Building Environment: 'dev1'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-dev.zip
[INFO] Building Environment: 'prod'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-prod.zip
[INFO] Building Environment: 'uat'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-test.zip
The respective portion of my pom:
com.soebes.maven.plugins
multienv-maven-plugin
0.2.0
zip
${basedir}
${basedir}/target/
configuration
Am I missing anything that ensures that the target and target/maven-archiver folders are not zipped?
The text was updated successfully, but these errors were encountered:
I have 3 folders for the environments but when I run 'mvn clean package', the target folder gets created
and it too is treated as an environment. This causes it to create an additional 2 zips:
[INFO] --- multienv-maven-plugin:0.2.0:configuration (default) @ myapp ---
[INFO]
[INFO] We have found 5 environments.
[INFO] We have the following environments: target,target/maven-archiver,dev,prod,test
[INFO]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 40 resources
[INFO] Building Environment: 'target'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-target.zip
[INFO] Building Environment: 'target/maven-archiver'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-target/maven-archiver.zip
[INFO] Building Environment: 'dev1'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-dev.zip
[INFO] Building Environment: 'prod'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-prod.zip
[INFO] Building Environment: 'uat'
[INFO] Building jar: /some/path/myapp-0.0.1-SNAPSHOT-test.zip
The respective portion of my pom:
com.soebes.maven.plugins multienv-maven-plugin 0.2.0 zip ${basedir} ${basedir}/target/ configurationAm I missing anything that ensures that the target and target/maven-archiver folders are not zipped?
The text was updated successfully, but these errors were encountered: