Re: Switching to Maven
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
<?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