Open BigSocial opened 9 years ago
I will have a look at it, sounds weird indeed.
I tried it, and it works for me. Please note that the content assembly is put into target/maven
and then afterwards everything under target/maven
is copied into the Docker image. That means, if there is already something within it, it will be copied, too. A mvn clean
before should fix this.
Maybe its a good idea to cleanup target/maven
before doing the assembly. Hmm, let's think about this.
Sorry, the path is target/docker/<image name>/build/maven/
When an image includes this:
And
tomcat-artifacts.xml
look like this:The files are copied to both
/tomcat
and their correct/tomcat/lib
and/tomcat/webapps
directories. Even more strange, theservice.war
file is renamedservice-1.0.war
when copied to the/tomcat
directory.