• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Switching to Maven
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Switching to Maven


  • Subject: Re: Switching to Maven
  • From: John Huss <email@hidden>
  • Date: Wed, 03 Sep 2014 09:17:33 -0500

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@hidden> wrote:



On Wed, Sep 3, 2014 at 7:39 AM, Ken Anderson <email@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


<?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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Switching to Maven
      • From: Paul Yu <email@hidden>
References: 
 >Switching to Maven (From: Ken Anderson <email@hidden>)
 >Re: Switching to Maven (From: John Huss <email@hidden>)

  • Prev by Date: Re: Switching to Maven
  • Next by Date: Re: Eclipse 4.4 support for WOLips
  • Previous by thread: Re: Switching to Maven
  • Next by thread: Re: Switching to Maven
  • Index(es):
    • Date
    • Thread