On 3/16/2012 4:01 AM, Francesco Chicchiriccò wrote:
Lars,
you are right: first of all, yesterday I've fixed some minor errors on
C3 archetypes; moreover, there are some errors in the instructions C
reported below.
Basically, once you've generated all projects and indicated below, you
have to
Add this to mywebapp/pom.xml, right before <build>...</build> (you
need this because you are telling to mywebapp that it has to include
mysite, i.e. an empty C3 block - you can of course add more of such
blocks, as indicated by Thorsten in one of former e-mails):
<dependencies>
<dependency>
<groupId>com.mycompany</groupId>
<artifactId>mysite</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
then
mvn clean package
and only finally
cd mywebapp
mvn jetty:run
Thank you for this response!
If I understand correctly, when I put this into the reproducible
instructions, I should include the new dependency block in
mywebapp/pom.xml, but the "mvn clean package" is only for the current
situation where I have already built the package and then modified it --
is that right?
Also, in what folder do I run "mvn clean package" - the parent folder?
Thanks again,
Lars