Here are the parts I remember doing.  There may be more. You have to have
WO installed, and if WO is in the standard directories it is easier.

# this file is attached
mv archetype-catalog.xml ~/.m2/

mvn wobootstrap:install

# Optional
#mvn install:install-file -Dfile=/Users/john/Downloads/ERServlet-1.0.jar
-DgroupId=er.extensions.jspservlet -DartifactId=ERServlet -Dversion=1.0
-Dpackaging=jar

mvn archetype:generate -DarchetypeArtifactId=erxapplication-archetype
-DarchetypeGroupId=org.objectstyle.woproject.maven2 -DartifactId=MyApp



On Wed, Sep 3, 2014 at 9:10 AM, John Huss <[email protected]> wrote:

>
>
>
> On Wed, Sep 3, 2014 at 7:39 AM, Ken Anderson <[email protected]>
> wrote:
>
>> All,
>>
>> I’ve decided to bite the bullet and try and integrate Maven into my
>> WOrkflow.  Any hints or tips?  Is the WOProject-Maven page (
>> http://wiki.wocommunity.org/display/WOL/WOProject-Maven) up to date?  It
>> was last edited in 2011…
>>
>
> No, you have to hodge-podge instructions together using the wiki and the
> mailing list.  I did get it working eventually though.
>
>
>>
>> Thanks!
>>
>> Ken
>>
>>
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>>
>> https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>>
>> This email sent to [email protected]
>
>
>
<?xml version="1.0" encoding="UTF-8"?>
<archetype-catalog xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd";
    xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <archetypes>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woframework-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woframework-archetype</artifactId>
      <version>2.0.17</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woframework-archetype</artifactId>
      <version>2.0.16</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woapplication-servlet-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woapplication-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woapplication-archetype</artifactId>
      <version>2.0.17</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woapplication-archetype</artifactId>
      <version>2.0.16</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woapplication-archetype</artifactId>
      <version>2.0.15</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>woapplication-archetype</artifactId>
      <version>2.0.14</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>partial-woapplication-servlet-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>maven-archetype-woapplication</artifactId>
      <version>2.0.17</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>maven-archetype-woapplication</artifactId>
      <version>2.0.16</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>maven-archetype-woapplication</artifactId>
      <version>2.0.15</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>maven-archetype-woapplication</artifactId>
      <version>2.0.14</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>erxapplication-servlet-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>erxapplication-d2w-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
    <archetype>
      <groupId>org.objectstyle.woproject.maven2</groupId>
      <artifactId>erxapplication-archetype</artifactId>
      <version>2.1</version>
      <repository>http://maven.wocommunity.org/content/groups/public</repository>
    </archetype>
  </archetypes>
</archetype-catalog>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to