Existing Maven Project

Maven Dependency

Add the following stanza to your dependencies section to include Redline Smalltalk in your projects.

<dependency>
  <groupId>st.redline</groupId>
  <artifactId>redline</artifactId>
  <version>0.3-SNAPSHOT</version>
</dependency>

You are now ready to work with Redline.

New Maven Project

These instructions create a new project that will use Redline Smalltalk.

Create your project using the mvn archetype generate command:

mvn archetype:generate
This is standard Maven and you can find more details on the archetype generation here. Once you have your pom.xml generated you need to add the Repository and Dependency stanzas defined at the top of this page. Try building your project to make sure everything is ok.
mvn clean test

Maven projects typically have the following structure:

$ tree project
project
|-- pom.xml
`-- src
    |-- main
    |   `-- java
    |       `-- com
    |           `-- company
    |               `-- project
    |                   `-- App.java
    `-- test
        `-- java
            `-- com
                `-- company
                    `-- project
                        `-- AppTest.java

11 directories, 3 files
To fit in with this and not fight the tooling we suggest adding smalltalk subtrees, like this:
$ tree project
project
|-- pom.xml
`-- src
    |-- main
    |   `-- java
    |   |   `-- com
    |   |       `-- company
    |   |           `-- project
    |   |               `-- App.java
    |   `-- smalltalk
    |       `-- com
    |           `-- company
    |               `-- project
    |                   `-- MyClass.st
    `-- test
    |   `-- java
    |   |   `-- com
    |   |       `-- company
    |   |           `-- project
    |   |               `-- AppTest.java
    |   `-- smalltalk
            `-- com
                `-- company
                    `-- project
                        `-- MyClassTest.st

*** MORE TO COME ***