Guys I've just tried using archetype butgot a dud POM generated for the -web
project - seems there's an extra </dependency> added at line 111  


<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>
        <parent>
                <artifactId>mylibrary-parent</artifactId>
                <groupId>org.library</groupId>
                <version>1.0-SNAPSHOT</version>
        </parent>
        <groupId>org.library</groupId>
        <artifactId>mylibrary-web</artifactId>
        <packaging>war</packaging>
        <name>Web project for mylibrary-web</name>
        <build>
                <finalName>mylibrary-web</finalName>
                <plugins>
                        <plugin>
                                <artifactId>maven-clean-plugin</artifactId>
                                <configuration>
                                        <filesets>
                                                <fileset>
                                                        
<directory>src/generated</directory>
                                                        <includes>
                                                                
<include>**/*.java</include>
                                                                
<include>**/*.xml</include>
                                                                
<include>**/*.properties</include>
                                                        </includes>
                                                        <excludes>
                                                                
<exclude>**/.svn/*</exclude>
                                                        </excludes>
                                                        
<followSymlinks>false</followSymlinks>
                                                </fileset>
                                                <fileset>
                                                        
<directory>src/test/generated</directory>
                                                        <includes>
                                                                
<include>**/*.java</include>
                                                                
<include>**/*.xml</include>
                                                                
<include>**/*.properties</include>
                                                        </includes>
                                                        <excludes>
                                                                
<exclude>**/.svn/*</exclude>
                                                        </excludes>
                                                        
<followSymlinks>false</followSymlinks>
                                                </fileset>
                                                <fileset>
                                                        
<directory>src/main/webapp/WEB-INF/generated</directory>
                                                        <includes>
                                                                
<include>**/*.html</include>
                                <include>**/*.xml</include>
                                                        </includes>
                                                        <excludes>
                                                                
<exclude>**/.svn/*</exclude>
                                                        </excludes>
                                                        
<followSymlinks>false</followSymlinks>
                                                </fileset>
                                        </filesets>
                                </configuration>
                        </plugin>
            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.1.11</version>
            </plugin>        
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <encoding>ISO-8859-1</encoding>
                                        <source>1.5</source>
                                        <target>1.5</target>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.fornax.toolsupport</groupId>
                                <artifactId>fornax-oaw-m2-plugin</artifactId>
                                <version>${fornax-oaw-m2.version}</version>
                                <configuration>
                                        
<workflowDescriptor>workflow-gui.oaw</workflowDescriptor>
                                        <checkResources>
                                                
<checkResource>src/main/resources/model.guidesign</checkResource>
                                        
<checkResource>../mylibrary/src/main/resources/model.btdesign</checkResource>
                                        </checkResources>
                                </configuration>
                                <executions>
                                        <execution>
                                                <phase>generate-sources</phase>
                                                <goals>
                                                        
<goal>run-workflow</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
                                <artifactId>maven-surefire-plugin</artifactId>
                                <version>2.3</version>
                                <configuration>
                                        <forkMode>once</forkMode>
                                        <argLine>-Xms32m -Xmx1024m
-Dlog4j.configuration=log4j-test.properties</argLine>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
        <dependencies>
                <dependency>
                        <groupId>org.library</groupId>
                        <artifactId>mylibrary</artifactId>
                        <version>${pom.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope> -->
                </dependency>
 HERE->       </dependency>
                <dependency>
            <groupId>org.springframework.webflow</groupId>
            <artifactId>org.springframework.faces</artifactId>
            <version>${spring.webflow.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.webflow</groupId>
            <artifactId>org.springframework.js</artifactId>
            <version>${spring.webflow.version}</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.webflow</groupId>
            <artifactId>org.springframework.webflow</artifactId>
            <version>${spring.webflow.version}</version>
        </dependency>
        <dependency>
            <groupId>javax.faces</groupId>
            <artifactId>com.springsource.javax.faces</artifactId>
            <version>1.2.0.09</version>
        </dependency>
        <dependency>
            <groupId>com.sun.faces</groupId>
            <artifactId>com.springsource.com.sun.faces</artifactId>
            <version>1.2.0.09</version>
        </dependency>
        <dependency>
            <groupId>javax.el</groupId>
            <artifactId>com.springsource.javax.el</artifactId>
            <version>1.0.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.el</groupId>
            <artifactId>com.springsource.org.jboss.el</artifactId>
            <version>2.0.0.GA</version>
        </dependency>
        <dependency>
            <groupId>org.apache.myfaces.tomahawk</groupId>
            <artifactId>tomahawk12</artifactId>
            <version>1.1.8</version>
        </dependency>
        <dependency>
            <groupId>com.sun.facelets</groupId>
            <artifactId>jsf-facelets</artifactId>
            <version>1.1.14</version>
        </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-beans</artifactId>
                        <version>${spring.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-core</artifactId>
                        <version>${spring.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-context</artifactId>
                        <version>${spring.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-context-support</artifactId>
                        <version>${spring.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope> -->
                </dependency>
        <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-core</artifactId>
                        <version>${hibernate.version}</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>javax.transaction</groupId>
                                        <artifactId>jta</artifactId>
                                </exclusion>
                        </exclusions>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope>  -->
                </dependency>
                <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-annotations</artifactId>
                        <version>${hibernate.annotations.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope>  -->
                </dependency>
                <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-validator</artifactId>
                        <version>${hibernate.validator.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope>  -->
                </dependency>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>${commons-logging.version}</version>
                        <!-- Add scope provided when deployed in jboss -->
                    <!-- <scope>provided</scope> -->
                </dependency>
                <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>${commons-lang.version}</version>
        </dependency>
                <dependency>
                        <groupId>org.jmock</groupId>
                        <artifactId>jmock</artifactId>
                        <version>2.2.0</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.fornax.cartridges</groupId>
                        
<artifactId>fornax-cartridges-sculptor-framework-web</artifactId>
                        <version>${sculptor.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.fornax.cartridges</groupId>
                        
<artifactId>fornax-cartridges-sculptor-framework</artifactId>
                        <version>${sculptor.version}</version>
                        <!-- Add scope provided when deployed as ear -->
                    <!-- <scope>provided</scope> -->
                </dependency>
                <dependency>
                        <groupId>org.fornax.cartridges</groupId>
                        
<artifactId>fornax-cartridges-sculptor-framework-test</artifactId>
                        <version>${sculptor.version}</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.fornax.cartridges</groupId>
                        
<artifactId>fornax-cartridges-sculptor-generator</artifactId>
                        <version>${sculptor.version}</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jstl</artifactId>
                        <version>1.1.2</version>
                </dependency>
                <dependency>
                        <groupId>taglibs</groupId>
                        <artifactId>standard</artifactId>
                        <version>1.1.2</version>
                </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.4</version>
            <scope>test</scope>
        </dependency>
        </dependencies>
</project>


I ripped it out but then still got the following:

[INFO] Building Web project for mylibrary-web
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file-set: src/generated (included: [**/*.java, **/*.xml,
**/*.properties], excluded: [**/.svn/*])
[INFO] Deleting file-set: src/test/generated (included: [**/*.java,
**/*.xml, **/*.properties], excluded: [**/.svn/*])
[INFO] Deleting file-set: src/main/webapp/WEB-INF/generated (included:
[**/*.html, **/*.xml], excluded: [**/.svn/*])
[INFO] [fornax-oaw-m2:run-workflow {execution: default}]
[INFO] Fornax oAW/MWE Maven2 Plugin V3.0.1
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Could not find the Workflow-Descriptor "workflow-gui.oaw".
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 24 seconds
[INFO] Finished at: Mon Nov 16 15:10:46 EST 2009
[INFO] Final Memory: 34M/127M



-- 
View this message in context: 
http://old.nabble.com/-Sculptor--Archetype-broken--tp26367036s17564p26367036.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to