You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by "Richardson, Jason - FSA, Kansas City, MO" <ja...@kcc.usda.gov> on 2012/05/03 20:26:19 UTC

How do I enable the Scimpi Viewer?

I want to enable the SCIMPI viewer on my ISIS app.
Do I just uncomment out this dependency in the main pom, and change the artifact id to match my application name.

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>quickstart-viewer-scimpi</artifactId>
                <version>${project.version}</version>
            </dependency>

And use this as the artifact id?
<artifactId> Assignments-viewer-scimpi</artifactId>


I see in the main pom that these entries are not commented out.


            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-webapp</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-viewer-html</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>


Jason Richardson






This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


Re: How do I enable the Scimpi Viewer?

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
ah.  oh.  Well, that's not much good to you, is it!

If you want to try to get started by yourself, then, you could pull down
the source of one of the examples, specifically:
http://svn.apache.org/repos/asf/incubator/isis/trunk/examples/claims/viewer-scimpi/


Otherwise, as I say, I'll try to get you some more complete instructions
later.

Dan



On 22 May 2012 15:31, Richardson, Jason - FSA, Kansas City, MO <
jason.richardson@kcc.usda.gov> wrote:

> Ahh,  it looks like the archetype didn't generate the scimp app.  Here are
> the projects that the archetype created.
>
> Assignments
> Assignments-dom
> Assignments-fixture
> Assignments-objstore-dflt
> Assignments-tests-bdd
> Assignments-tests-junit
> Assignments-webapp
>
> Here is my main POM in the Assignments 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/maven-v4_0_0.xsd
> ">
>    <modelVersion>4.0.0</modelVersion>
>
>    <groupId>gov.faa.apps</groupId>
>    <artifactId>Assignments</artifactId>
>    <version>1.0-SNAPSHOT</version>
>
>    <name>Quickstart App</name>
>
>    <packaging>pom</packaging>
>
>    <properties>
>        <isis.version>0.2.0-incubating</isis.version>
>    </properties>
>
>    <repositories>
>        <repository>
>              <id>apache.snapshots</id>
>              <name>Apache Snapshots</name>
>              <url>
> https://repository.apache.org/content/repositories/snapshots/</url>
>              <releases>
>                  <enabled>false</enabled>
>              </releases>
>              <snapshots>
>              </snapshots>
>          </repository>
>    </repositories>
>
>    <build>
>        <pluginManagement>
>            <plugins>
>                <plugin>
>                    <groupId>org.apache.maven.plugins</groupId>
>                    <artifactId>maven-compiler-plugin</artifactId>
>                    <version>2.3.1</version>
>                    <configuration>
>                        <source>1.6</source>
>                        <target>1.6</target>
>                    </configuration>
>                    <executions>
>                        <execution>
>                            <id>source</id>
>                            <phase>compile</phase>
>                        </execution>
>                        <execution>
>                            <id>test</id>
>                            <phase>test-compile</phase>
>                        </execution>
>                    </executions>
>                </plugin>
>
>                <plugin>
>                    <groupId>org.apache.maven.plugins</groupId>
>                    <artifactId>maven-surefire-plugin</artifactId>
>                    <version>2.5</version>
>                    <configuration>
>                        <excludes>
>                            <exclude>**/Test*.java</exclude>
>                        </excludes>
>                        <useFile>true</useFile>
>                        <printSummary>false</printSummary>
>
>  <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
>                    </configuration>
>                </plugin>
>
>                <plugin>
>                    <groupId>org.apache.maven.plugins</groupId>
>                    <artifactId>maven-surefire-report-plugin</artifactId>
>                    <version>2.5</version>
>                    <configuration>
>                        <excludes>
>                            <exclude>**/Test*.java</exclude>
>                        </excludes>
>                        <showSuccess>false</showSuccess>
>                    </configuration>
>                    <executions>
>                        <execution>
>                            <phase>test</phase>
>                        </execution>
>                    </executions>
>                </plugin>
>
>                <plugin>
>                    <groupId>org.mortbay.jetty</groupId>
>                    <artifactId>maven-jetty-plugin</artifactId>
>                    <version>6.1.25</version>
>                </plugin>
>
>                                <plugin>
>
>  <groupId>org.apache.maven.plugins</groupId>
>
>  <artifactId>maven-shade-plugin</artifactId>
>                                        <version>1.4</version>
>                                </plugin>
>
>                                <plugin>
>
>  <groupId>org.apache.maven.plugins</groupId>
>
>  <artifactId>maven-antrun-plugin</artifactId>
>                                        <version>1.6</version>
>                                        <executions>
>                                                <execution>
>                                                <goals>
>                                                  <goal>run</goal>
>                                                </goals>
>                                                </execution>
>                                        </executions>
>                                </plugin>
>                <!-- http://simplericity.com/2009/11/10/1257880778509.html-->
>                <plugin>
>                    <groupId>org.simplericity.jettyconsole</groupId>
>                    <artifactId>jetty-console-maven-plugin</artifactId>
>                    <version>1.43</version>
>                </plugin>
>            </plugins>
>        </pluginManagement>
>        <plugins>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-compiler-plugin</artifactId>
>            </plugin>
>            <plugin>
>                <groupId>org.apache.maven.plugins</groupId>
>                <artifactId>maven-surefire-report-plugin</artifactId>
>            </plugin>
>        </plugins>
>    </build>
>
>    <dependencyManagement>
>        <dependencies>
>
>            <!-- this project's own modules -->
>             <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>Assignments-dom</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>Assignments-fixture</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>Assignments-objstore-dflt</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                <artifactId>Assignments-webapp</artifactId>
>                <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                <artifactId>Assignments-viewer-html</artifactId>
>                <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>             <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>Assignments-viewer-json</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>Assignments-tests-bdd</artifactId>
>                 <version>1.0-SNAPSHOT</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>tests-junit</artifactId>
>                 <version>${project.version}</version>
>            </dependency>
>
>             <!--
>             <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>quickstart-quickrun</artifactId>
>                 <version>${project.version}</version>
>            </dependency>
>
>            <dependency>
>                <groupId>${project.groupId}</groupId>
>                <artifactId>quickstart-viewer-scimpi</artifactId>
>                <version>${project.version}</version>
>            </dependency>
>
>             <dependency>
>                <groupId>${project.groupId}</groupId>
>                 <artifactId>quickstart-viewer-wicket</artifactId>
>                 <version>${project.version}</version>
>            </dependency>
>             -->
>
>
>            <!-- isis: applib -->
>            <dependency>
>                <groupId>org.apache.isis</groupId>
>                <artifactId>applib</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis</groupId>
>                <artifactId>applib</artifactId>
>                <classifier>javadoc</classifier>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: core -->
>            <dependency>
>                <groupId>org.apache.isis.core</groupId>
>                <artifactId>commons</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.core</groupId>
>                <artifactId>metamodel</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.core</groupId>
>                <artifactId>progmodel</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.core</groupId>
>                <artifactId>runtime</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.core</groupId>
>                <artifactId>webapp</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: progmodels: dflt -->
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>dflt</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: progmodel: wrapper -->
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>wrapper</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>wrapper-applib</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>wrapper-metamodel</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: progmodel: groovy -->
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>groovy</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>groovy-applib</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.progmodels</groupId>
>                <artifactId>groovy-metamodel</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: security: dflt -->
>            <dependency>
>                <groupId>org.apache.isis.security</groupId>
>                <artifactId>dflt</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: security: ldap -->
>            <dependency>
>                <groupId>org.apache.isis.security</groupId>
>                <artifactId>ldap</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: security: file -->
>            <dependency>
>                <groupId>org.apache.isis.security</groupId>
>                <artifactId>file</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes: dflt -->
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt</groupId>
>                <artifactId>runtime</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt</groupId>
>                <artifactId>monitoring</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt</groupId>
>                <artifactId>webapp</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt</groupId>
>                <artifactId>webserver</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
>                <artifactId>dflt</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
>                <artifactId>identity</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
>                <artifactId>javassist</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes-dflt: objectstores: dflt -->
>            <dependency>
>
>  <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
>                <artifactId>dflt</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes-dflt: objectstores: xml -->
>            <dependency>
>
>  <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
>                <artifactId>xml</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes-dflt: objectstore: sql -->
>            <dependency>
>
>  <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
>                <artifactId>sql-impl</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes-dflt: objectstores: nosql -->
>            <!--
>            <dependency>
>
>  <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
>                <artifactId>nosql</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            -->
>
>
>            <!-- isis: runtimes-dflt: profilestores: dflt -->
>            <dependency>
>
>  <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
>                <artifactId>dflt</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes-dflt: profilestores: xml -->
>            <dependency>
>
>  <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
>                <artifactId>xml</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: runtimes-dflt: remoting -->
>            <!--
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>common</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>transport-sockets</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>marshalling-encode</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>marshalling-serialize</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>transport-http</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>transport-http-client</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>transport-http-server</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
>                <artifactId>marshalling-xstream</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            -->
>
>            <!-- isis: runtimes: embedded -->
>            <dependency>
>                <groupId>org.apache.isis.runtimes</groupId>
>                <artifactId>embedded</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>
>            <!-- isis: viewer: html -->
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>html</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: viewer: json -->
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>json</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>json-applib</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>json-viewer</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: viewer: junit -->
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>junit</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <!-- isis: viewer: bdd -->
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>bdd</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>bdd-common</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>bdd-concordion</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>
>            <dependency>
>                <groupId>junit</groupId>
>                <artifactId>junit</artifactId>
>                <version>4.8.2</version>
>            </dependency>
>
>
>            <!-- isis: viewer: scimpi -->
>            <!--
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>scimpi</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>scimpi-dispatcher</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>scimpi-servlet</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            -->
>
>
>            <!-- isis: viewer: dnd -->
>            <!--
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>dnd</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            -->
>
>            <!-- isis: viewer: wicket -->
>            <!--
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>wicket</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>wicket-applib</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>wicket-facets</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>wicket-model</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>wicket-ui</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            <dependency>
>                <groupId>org.apache.isis.viewer</groupId>
>                <artifactId>wicket-viewer</artifactId>
>                <version>${isis.version}</version>
>            </dependency>
>            -->
>
>        </dependencies>
>    </dependencyManagement>
>
>  <modules>
>    <module>dom</module>
>    <module>fixture</module>
>    <module>objstore-default</module>
>    <module>webapp</module>
>    <module>tests-junit</module>
>    <module>tests-bdd</module>
>  </modules>
> </project>
>
>
>
>
>
>
> Jason Richardson
>
>
>
> -----Original Message-----
> From: Dan Haywood [mailto:dan@haywood-associates.co.uk]
> Sent: Tuesday, May 22, 2012 8:51 AM
> To: isis-users@incubator.apache.org
> Subject: Re: How do I enable the Scimpi Viewer?
>
> Hi Jason,
>
> With the 0.2.0-incubating version of the archetype, you need to run your
> app using the generated xxx-scimpi project.  This is a regular WAR app with
> its own web.xml.  You'll need to copy over isis.properties etc files from
> the xxx-html viewer project (or whatever it is you currently have working).
>
> In the next version of the archetype, I've consolidated all these
> different WAR projects into a single app; hopefully this will make it
> easier to switch between the different viewer options.
>
> I haven't got time right now to provide more detail, but if the above
> doesn't get you started, then let us know here and I'll try to answer more
> fully in a few hours (ie this evening here in Europe).
>
> Cheers
> Dan
>
>
> On 22 May 2012 14:01, Richardson, Jason - FSA, Kansas City, MO <
> jason.richardson@kcc.usda.gov> wrote:
>
> >
> > How do I enable the Scimpi Viewer?   I already have used the archetype to
> > create my Isis project.
> >
> >
> >
> > Jason Richardson
> >
> >
> >
> >
> > This electronic message contains information generated by the USDA
> > solely for the intended recipients. Any unauthorized interception of
> > this message or the use or disclosure of the information it contains
> > may violate the law and subject the violator to civil or criminal
> > penalties. If you believe you have received this message in error,
> > please notify the sender and delete the email immediately.
> >
> >
>
>

RE: How do I enable the Scimpi Viewer?

Posted by "Richardson, Jason - FSA, Kansas City, MO" <ja...@kcc.usda.gov>.
Ahh,  it looks like the archetype didn't generate the scimp app.  Here are the projects that the archetype created.

Assignments
Assignments-dom
Assignments-fixture
Assignments-objstore-dflt
Assignments-tests-bdd
Assignments-tests-junit
Assignments-webapp

Here is my main POM in the Assignments 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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>gov.faa.apps</groupId>
    <artifactId>Assignments</artifactId>
    <version>1.0-SNAPSHOT</version>

    <name>Quickstart App</name>

    <packaging>pom</packaging>
    
    <properties>
        <isis.version>0.2.0-incubating</isis.version>
    </properties>

    <repositories>
        <repository>
              <id>apache.snapshots</id>
              <name>Apache Snapshots</name>
              <url>https://repository.apache.org/content/repositories/snapshots/</url>
              <releases>
                  <enabled>false</enabled>
              </releases>
              <snapshots>
              </snapshots>
          </repository>
    </repositories>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>2.3.1</version>
                    <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                    </configuration>
                    <executions>
                        <execution>
                            <id>source</id>
                            <phase>compile</phase>
                        </execution>
                        <execution>
                            <id>test</id>
                            <phase>test-compile</phase>
                        </execution>
                    </executions>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                        <excludes>
                            <exclude>**/Test*.java</exclude>
                        </excludes>
                        <useFile>true</useFile>
                        <printSummary>false</printSummary>
                        <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
                    </configuration>
                </plugin>

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-report-plugin</artifactId>
                    <version>2.5</version>
                    <configuration>
                        <excludes>
                            <exclude>**/Test*.java</exclude>
                        </excludes>
                        <showSuccess>false</showSuccess>
                    </configuration>
                    <executions>
                        <execution>
                            <phase>test</phase>
                        </execution>
                    </executions>
                </plugin>

                <plugin>
                    <groupId>org.mortbay.jetty</groupId>
                    <artifactId>maven-jetty-plugin</artifactId>
                    <version>6.1.25</version>
                </plugin>

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-shade-plugin</artifactId>
					<version>1.4</version>
				</plugin>

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-antrun-plugin</artifactId>
					<version>1.6</version>
					<executions>
						<execution>
					        <goals>
					          <goal>run</goal>
					        </goals>
						</execution>
					</executions>
				</plugin>
                <!-- http://simplericity.com/2009/11/10/1257880778509.html -->
                <plugin>
                    <groupId>org.simplericity.jettyconsole</groupId>
                    <artifactId>jetty-console-maven-plugin</artifactId>
                    <version>1.43</version>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-report-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>

            <!-- this project's own modules -->
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-dom</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-fixture</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-objstore-dflt</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-webapp</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-viewer-html</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-viewer-json</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>Assignments-tests-bdd</artifactId>
                <version>1.0-SNAPSHOT</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>tests-junit</artifactId>
                <version>${project.version}</version>
            </dependency>

            <!-- 
            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>quickstart-quickrun</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>quickstart-viewer-scimpi</artifactId>
                <version>${project.version}</version>
            </dependency>

            <dependency>
                <groupId>${project.groupId}</groupId>
                <artifactId>quickstart-viewer-wicket</artifactId>
                <version>${project.version}</version>
            </dependency>
            -->


            <!-- isis: applib -->
            <dependency>
                <groupId>org.apache.isis</groupId>
                <artifactId>applib</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis</groupId>
                <artifactId>applib</artifactId>
                <classifier>javadoc</classifier>
                <version>${isis.version}</version>
            </dependency>
            
            <!-- isis: core -->
            <dependency>
                <groupId>org.apache.isis.core</groupId>
                <artifactId>commons</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.core</groupId>
                <artifactId>metamodel</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.core</groupId>
                <artifactId>progmodel</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.core</groupId>
                <artifactId>runtime</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.core</groupId>
                <artifactId>webapp</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: progmodels: dflt -->
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>dflt</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: progmodel: wrapper -->
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>wrapper</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>wrapper-applib</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>wrapper-metamodel</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: progmodel: groovy -->
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>groovy</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>groovy-applib</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.progmodels</groupId>
                <artifactId>groovy-metamodel</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: security: dflt -->
            <dependency>
                <groupId>org.apache.isis.security</groupId>
                <artifactId>dflt</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: security: ldap -->
            <dependency>
                <groupId>org.apache.isis.security</groupId>
                <artifactId>ldap</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: security: file -->
            <dependency>
                <groupId>org.apache.isis.security</groupId>
                <artifactId>file</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: runtimes: dflt -->            
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt</groupId>
                <artifactId>runtime</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt</groupId>
                <artifactId>monitoring</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt</groupId>
                <artifactId>webapp</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt</groupId>
                <artifactId>webserver</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
                <artifactId>dflt</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
                <artifactId>identity</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
                <artifactId>javassist</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: runtimes-dflt: objectstores: dflt -->
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
                <artifactId>dflt</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: runtimes-dflt: objectstores: xml -->
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
                <artifactId>xml</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: runtimes-dflt: objectstore: sql -->
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
                <artifactId>sql-impl</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: runtimes-dflt: objectstores: nosql -->
            <!-- 
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
                <artifactId>nosql</artifactId>
                <version>${isis.version}</version>
            </dependency>
            -->


            <!-- isis: runtimes-dflt: profilestores: dflt -->
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
                <artifactId>dflt</artifactId>
                <version>${isis.version}</version>
            </dependency>
            
            <!-- isis: runtimes-dflt: profilestores: xml -->
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
                <artifactId>xml</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: runtimes-dflt: remoting -->
            <!-- 
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>common</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>transport-sockets</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>marshalling-encode</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>marshalling-serialize</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>transport-http</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>transport-http-client</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>transport-http-server</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.runtimes.dflt.remoting</groupId>
                <artifactId>marshalling-xstream</artifactId>
                <version>${isis.version}</version>
            </dependency>
            -->

            <!-- isis: runtimes: embedded -->
            <dependency>
                <groupId>org.apache.isis.runtimes</groupId>
                <artifactId>embedded</artifactId>
                <version>${isis.version}</version>
            </dependency>


            <!-- isis: viewer: html -->
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>html</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: viewer: json -->
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>json</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>json-applib</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>json-viewer</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: viewer: junit -->
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>junit</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <!-- isis: viewer: bdd -->
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>bdd</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>bdd-common</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>bdd-concordion</artifactId>
                <version>${isis.version}</version>
            </dependency>

            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.8.2</version>
            </dependency>


            <!-- isis: viewer: scimpi -->
            <!-- 
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>scimpi</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>scimpi-dispatcher</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>scimpi-servlet</artifactId>
                <version>${isis.version}</version>
            </dependency>
            -->


            <!-- isis: viewer: dnd -->
            <!-- 
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>dnd</artifactId>
                <version>${isis.version}</version>
            </dependency>
            -->

            <!-- isis: viewer: wicket -->
            <!-- 
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>wicket</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>wicket-applib</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>wicket-facets</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>wicket-model</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>wicket-ui</artifactId>
                <version>${isis.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.isis.viewer</groupId>
                <artifactId>wicket-viewer</artifactId>
                <version>${isis.version}</version>
            </dependency>
            -->

        </dependencies>
    </dependencyManagement>

  <modules>
    <module>dom</module>
    <module>fixture</module>
    <module>objstore-default</module>
    <module>webapp</module>
    <module>tests-junit</module>
    <module>tests-bdd</module>
  </modules>
</project>






Jason Richardson



-----Original Message-----
From: Dan Haywood [mailto:dan@haywood-associates.co.uk] 
Sent: Tuesday, May 22, 2012 8:51 AM
To: isis-users@incubator.apache.org
Subject: Re: How do I enable the Scimpi Viewer?

Hi Jason,

With the 0.2.0-incubating version of the archetype, you need to run your app using the generated xxx-scimpi project.  This is a regular WAR app with its own web.xml.  You'll need to copy over isis.properties etc files from the xxx-html viewer project (or whatever it is you currently have working).

In the next version of the archetype, I've consolidated all these different WAR projects into a single app; hopefully this will make it easier to switch between the different viewer options.

I haven't got time right now to provide more detail, but if the above doesn't get you started, then let us know here and I'll try to answer more fully in a few hours (ie this evening here in Europe).

Cheers
Dan


On 22 May 2012 14:01, Richardson, Jason - FSA, Kansas City, MO < jason.richardson@kcc.usda.gov> wrote:

>
> How do I enable the Scimpi Viewer?   I already have used the archetype to
> create my Isis project.
>
>
>
> Jason Richardson
>
>
>
>
> This electronic message contains information generated by the USDA 
> solely for the intended recipients. Any unauthorized interception of 
> this message or the use or disclosure of the information it contains 
> may violate the law and subject the violator to civil or criminal 
> penalties. If you believe you have received this message in error, 
> please notify the sender and delete the email immediately.
>
>


Re: How do I enable the Scimpi Viewer?

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Jason,

With the 0.2.0-incubating version of the archetype, you need to run your
app using the generated xxx-scimpi project.  This is a regular WAR app with
its own web.xml.  You'll need to copy over isis.properties etc files from
the xxx-html viewer project (or whatever it is you currently have working).

In the next version of the archetype, I've consolidated all these different
WAR projects into a single app; hopefully this will make it easier to
switch between the different viewer options.

I haven't got time right now to provide more detail, but if the above
doesn't get you started, then let us know here and I'll try to answer more
fully in a few hours (ie this evening here in Europe).

Cheers
Dan


On 22 May 2012 14:01, Richardson, Jason - FSA, Kansas City, MO <
jason.richardson@kcc.usda.gov> wrote:

>
> How do I enable the Scimpi Viewer?   I already have used the archetype to
> create my Isis project.
>
>
>
> Jason Richardson
>
>
>
>
> This electronic message contains information generated by the USDA solely
> for the intended recipients. Any unauthorized interception of this message
> or the use or disclosure of the information it contains may violate the law
> and subject the violator to civil or criminal penalties. If you believe you
> have received this message in error, please notify the sender and delete
> the email immediately.
>
>

RE: How do I enable the Scimpi Viewer?

Posted by "Richardson, Jason - FSA, Kansas City, MO" <ja...@kcc.usda.gov>.
How do I enable the Scimpi Viewer?   I already have used the archetype to create my Isis project.



Jason Richardson




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


RE: How do I enable the Scimpi Viewer?

Posted by "Richardson, Jason - FSA, Kansas City, MO" <ja...@kcc.usda.gov>.
You can ignore my SCIMPI request for now.

I'm going to concentrate on adding my domain objects.



Jason Richardson




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


Re: How do I enable the Scimpi Viewer?

Posted by Robert Matthews <rm...@nakedobjects.org>.
Jason

I've been working on a Scimpi archetype, which I have attached.  This is 
the projects that the archetype is created from so it should just be 
usable once it is unzipped.  Either launch internal web-server using the 
Eclipse launcher in scimpi-viewer or drop the generated Jar into Tomcat.

Regards
Rob

On 09/05/12 21:27, Richardson, Jason - FSA, Kansas City, MO wrote:
> Ok,  now I have a fairly good baseline using the html viewer.
>
> How do I enable the Scimpi Viewer?
>
>
>
> Jason Richardson
>
>
>
>
> This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.
>

RE: How do I enable the Scimpi Viewer?

Posted by "Richardson, Jason - FSA, Kansas City, MO" <ja...@kcc.usda.gov>.
Ok,  now I have a fairly good baseline using the html viewer.

How do I enable the Scimpi Viewer?



Jason Richardson




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


RE: How do I enable the Scimpi Viewer?

Posted by "Richardson, Jason - FSA, Kansas City, MO" <ja...@kcc.usda.gov>.
How do I enable the Scimpi Viewer?   I already have used the archetype to create my Isis project.



Jason Richardson




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.