I have a Maven (web) project consisting of a packer project ( packaging = pom
) and several modules. I want to deploy this project in Heroku.
Questions:
Where should Procfile
be? In the wrapping project or the web project?
How should be Procfile
?
pom.xml
of the packer project:
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>valor.alterado.para.stackoverflow</groupId>
<artifactId>stackoverflow-package</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>../stackoverflow-web</module>
<module>../stackoverflow-service</module>
<module>../stackoverflow-business</module>
<module>../stackoverflow-model</module>
<module>../stackoverflow-commons</module>
</modules>
</project>