This should be removed without RCL:
<webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory>

I don't start individual blocks so I cannot help with this. But you can always workaround it by creating web-app that references one block and nothing else.

On 2012-03-15 12:13, Robby Pelssers wrote:
Hi Igor,

I commented out the cocoon-maven-plugin and now jetty starts fine. But now the 
below configuration does not work anymore when executing mvn jetty:run

             <plugin>
                 <groupId>org.mortbay.jetty</groupId>
                 <artifactId>maven-jetty-plugin</artifactId>   <!-- 
jetty-maven-plugin -->
                 <version>6.1.26</version>     <!-- 8.1.0.RC5 -->
                 <configuration>
                     <connectors>
                         <connector 
implementation="org.mortbay.jetty.nio.SelectChannelConnector">  <!-- 
org.eclipse.jetty.server.nio.SelectChannelConnector -->
                             <port>8888</port>
                             <maxIdleTime>30000</maxIdleTime>
                         </connector>
                     </connectors>
                     
<webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory>
                     <contextPath>/</contextPath>
                     <systemProperties>
                         <systemProperty>
                             <name>org.apache.cocoon.mode</name>
                             <value>dev</value>
                         </systemProperty>
                     </systemProperties>
                 </configuration>
             </plugin>


It now can't find the webapp source directory anymore as I expect that the 
cocoon-maven-plugin copied over files to the target/rcl folder.

So my next question is.  How do you test (and start) an individual block?


Reply via email to