Installing Domian

There are two ways to install/integrate Domian into your projects. Domian is a Maven project, and both of the following routines are based on the Maven build tool and Maven standards. If you are not a Maven user, move to the bottom of this page.

Download code and add to classpath

  1. Go to Domian@SourceForge and download the Domain distribution. The distribution is a zipped version of Domian artifacts in a Maven repository lay-out. The project JAR, source JAR, test source JAR, and Javadoc JAR are included.
  2. Extract the ZIP file directly into your local Maven repository. Delete the LICENCE and README files.
  3. Add Domian to your dependencies in your project POM
    <dependencies>
        ...
        <dependency>
            <groupId>net.sourceforge.domian</groupId>
            <artifactId>domian</artifactId>
            <version>0.5</version>
        </dependency>
        ...
    </dependencies>
    
  4. Update your project workspace

Check out code from Subversion repository

  1. Go to your suitable project parent folder, and check out the project trunk
    svn checkout http://domian.svn.sourceforge.net/svnroot/domian/trunk/domian
    
  2. Go to project folder
    cd domian
    

Now you can either build your artifacts of choice, or load the project into your IDE

Build project artifacts with Maven

  1. Compile, test, build, and install project JAR in local repository
    mvn install
    
  2. Build source JARs
    mvn source:jar
    mvn source:test-jar
    
  3. Build Javadoc JAR
    mvn javadoc:jar
    
  4. Generate project web
    mvn site
    

Other build tools than Maven

Extract the distribution ZIP file at a suitable place, and retrieve the artifacts of choice. The ZIP file is organized this way:

/README.txt
/LICENSE.txt
/net/sourceforge/domain/domian/0.5/domian-0.5.pom                                                           ,Project POM
/net/sourceforge/domain/domian-api/0.5/domian-api-0.5.pom                                                   ,Module POM
/net/sourceforge/domain/domian-api/0.5/domian-api-0.5.jar                                                   ,Class files
/net/sourceforge/domain/domian-api/0.5/domian-api-0.5-sources.jar                                           ,Java files
/net/sourceforge/domain/domian-api/0.5/domian-api-0.5-test-sources.jar                                      ,Java files
/net/sourceforge/domain/domian-api/0.5/domian-core-0.5-javadoc.jar                                          ,HTML files
/net/sourceforge/domain/domian-core/0.5/domian-core-0.5.pom                                                 ,Module POM
/net/sourceforge/domain/domian-core/0.5/domian-core-0.5.jar                                                 ,Class files
/net/sourceforge/domain/domian-core/0.5/domian-core-0.5-tests.jar                                           ,Class files
/net/sourceforge/domain/domian-core/0.5/domian-core-0.5-sources.jar                                         ,Java files
/net/sourceforge/domain/domian-core/0.5/domian-core-0.5-test-sources.jar                                    ,Java files
/net/sourceforge/domain/domian-core/0.5/domian-core-0.5-javadoc.jar                                         ,HTML files
/net/sourceforge/domain/domian-predicate/0.5/domian-predicate-0.5.pom                                       ,Module POM
/net/sourceforge/domain/domian-predicate/0.5/domian-predicate-0.5.jar                                       ,Class files
/net/sourceforge/domain/domian-predicate/0.5/domian-predicate-0.5-sources.jar                               ,Java files
/net/sourceforge/domain/domian-predicate/0.5/domian-predicate-0.5-test-sources.jar                          ,Java files
/net/sourceforge/domain/domian-predicate/0.5/domian-predicate-0.5-javadoc.jar                               ,HTML files
/net/sourceforge/domain/domian-xstream-repository/0.5/domian-xstream-repository-0.5.pom                     ,Module POM
/net/sourceforge/domain/domian-xstream-repository/0.5/domian-xstream-repository-0.5.jar                     ,Class files
/net/sourceforge/domain/domian-xstream-repository/0.5/domian-xstream-repository-0.5-sources.jar             ,Java files
/net/sourceforge/domain/domian-xstream-repository/0.5/domian-xstream-repository-0.5-test-sources.jar        ,Java files
/net/sourceforge/domain/domian-xstream-repository/0.5/domian-xstream-repository-0.5-javadoc.jar             ,HTML files
/net/sourceforge/domain/domian-hibernate-repository/0.5/domian-hibernate-repository-0.5.pom                 ,Module POM
/net/sourceforge/domain/domian-hibernate-repository/0.5/domian-hibernate-repository-0.5.jar                 ,Class files
/net/sourceforge/domain/domian-hibernate-repository/0.5/domian-hibernate-repository-0.5-sources.jar         ,Java files
/net/sourceforge/domain/domian-hibernate-repository/0.5/domian-hibernate-repository-0.5-test-sources.jar    ,Java files
/net/sourceforge/domain/domian-hibernate-repository/0.5/domian-hibernate-repository-0.5-javadoc.jar         ,HTML files
/net/sourceforge/domain/domian-test-benchmark/0.5/domian-test-benchmark-0.5.pom                             ,Module POM
/net/sourceforge/domain/domian-test-benchmark/0.5/domian-test-benchmark-0.5.jar                             ,Class files
/net/sourceforge/domain/domian-test-benchmark/0.5/domian-test-benchmark-0.5-sources.jar                     ,Java files
/net/sourceforge/domain/domian-test-benchmark/0.5/domian-test-benchmark-0.5-test-sources.jar                ,Java files
/net/sourceforge/domain/domian-test-benchmark/0.5/domian-test-benchmark-0.5-javadoc.jar                     ,HTML files