Skip to end of metadata
Go to start of metadata

Maven2-Repository

The repository has the openArchitectureWare libraries in Version 4.2.0. Now you can use the new version.
If you use the M2 oAW-Plugin you must update the version to 1.1.0 in your POM.

The Fornax-Platform is based on the Maven2 Buildsystem. So we are building an own repository to administrate artifacts produced by the projects hosted on the Fornax-Platform.
Additionally to this we are provide a simple way to access the artifacts provided by the openArchitectureWare project. This is realized with the Maven-Proxy, a tool to collect and cache artifact from the different repositories. You can access and browse the repository here.

Structure of the Fornax M2-Repository

The Fornax M2-Repository is based on Maven-Proxy.  This tool collect and cache artifacts from different repositories. The Fornax M2-Repository uses this external repositories to collect the artifacts:

Unknown macro: {div}
Unknown macro: {diagram}

(Fornax M2-Repository[Releases:true][Snapshots:true]
(fornax-repo[Description:Fornax Repository][URL:http://fornax.sourceforge.net/m2/repository/][Releases:true][Snapshots:false])
(fornax-snapshot-repo[Description:Fornax Snapshot Repository][URL:http://fornax.sourceforge.net/m2/snapshots/][Releases:true][Snapshots:false])
(oaw-repo[Description:openArchitectureWare Repository][URL:http://openarchitectureware.org/m2][Releases:true][Snapshots:true])
(codehaus-repo[Description:Codehaus Repository][URL:http://repository.codehaus.org/][Releases:true][Snapshots:false])
(eclipse-repo[Description:Eclipse Repository][URL:http://repo1.maven.org/eclipse/][Releases:true][Snapshots:false]
(codehaus-snapshot-repo[Description:Codehaus Snapshot Repository][URL:http://snapshots.repository.codehaus.org/][Releases:false][Snapshots:true])

(codehaus-repo[Description:Codehaus Snapshot Repository][URL:http://openarchitectureware.org/m2][Releases:true][Snapshots:true])
)

Usage of the Fornax Artifacts

The usage of the Fornax M2-Repository is very simple. You only have to add the informations about the repository into the project's pom.xml or as profile into your settings.xml. If you choose to add a profile you can decide what level you use to enable the profile. For further informations about profiles and their activitation you can refer the Maven2 documentation about profiles.

Configuring the repository in the project's pom.xml

This is the easiest way if you want to enable only less projects with the Fornax M2-Repository. The only thing you must change is your project's pom.xml:

This is all you must done. At now you can use the Fornax M2-Repository.

Configuring the repository as profile in the settings.xml

To add the configuration as profile is a very useful pattern. With a profile you can use a special configuration for a great number of projects without changing the project's pom.xml. You have 4 locations you can store a profile:

  1. In the project's pom.xml as profile (another way as described above)
  2. Per User - Defined in the Maven-settings (%USER_HOME%/.m2/settings.xml)
  3. Global - Defined in the global maven-settings {{(%M2_HOME%/conf/settings.xml)
  4. Profile Descriptor - a descriptor located in project basedir (profiles.xml)

For the profile configuration you can use this snippet:

 After adding this snippet to your settings you can use the Fornax M2-Repository.

  1. Anonymous

    I just have a question. as far as I learnt from the article found by http://rapid4me.com SE, there is now a google-maven-repository for google projects and all google projects are free to use it. Istill, it seems that even with the maven repository we have, a release is still manual, as I
    need to upload to the google code site, so that it will be available in the
    "Download" tab, plus set the "Feature", "Deprecated" tags, so that it will show up in
    the home page etc.
    Any plans to support an automated process here?

  2. Anonymous

    People deserve good life time and <a href="http://bestfinance-blog.com/topics/personal-loans">personal loans</a> or just financial loan will make it much better. Just because freedom depends on money state.

  3. Anonymous

    Hi, I seem to be having recurrent issues downloading artifacts from the repository @ http://www.fornax-platform.org/archiva/repository/release

    It's been just pausing for days. It works once or twice out of several attempts.

    $ mvn clean install -P fornax
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Business tier project for csc-test
    [INFO] task-segment: [clean, install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [clean:clean

    Unknown macro: {execution}

    ]
    [INFO] Deleting file-set: src/generated (included: [**/*.java, **/*.xml, **/*.properties, **/*.dot], excluded: [**/.svn/*])
    [INFO] Deleting file-set: src/test/generated (included: [**/*.java, **/*.xml, **/*.properties], excluded: [**/.svn/*])
    Downloading: http://www.fornax-platform.org/archiva/repository/releases//org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.4.pom

    <sit and wait for 5 minutes, nothing happens>
    ^C

    $ wget http://www.fornax-platform.org/archiva/repository/releases//org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.pom
    -2010-12-26 00:18:24- http://www.fornax-platform.org/archiva/repository/releases//org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.4.pom
    Resolving www.fornax-platform.org... 217.160.176.204
    Connecting to www.fornax-platform.org|217.160.176.204|:80... connected.
    HTTP request sent, awaiting response...

    <sit and wait for 5 minutes, nothing happens>
    ^C

    removing the double slash in there does not help. It was working ok for a bit earlier. Trying to connect from eastern united states. Can someone please check the logs/health/responsiveness of the server? thanks

  4. Anonymous

    i can wget the index.html for any of those parent directories 200 OK, just the download of the .pom itself is never responding.

    $ wget --timeout=4 http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4
    -2010-12-26 00:28:39- http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4
    Resolving www.fornax-platform.org... 217.160.176.204
    Connecting to www.fornax-platform.org|217.160.176.204|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4/ following
    -2010-12-26 00:28:39- http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4/
    Reusing existing connection to www.fornax-platform.org:80.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified text/html
    Saving to: `1.4'

    [ <=> ] 1,503 --.-K/s in 0s

    $ wget --timeout=4 http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.4.pom
    -2010-12-26 00:28:57- http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.4.pom
    Resolving www.fornax-platform.org... 217.160.176.204
    Connecting to www.fornax-platform.org|217.160.176.204|:80... connected.
    HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
    Retrying.

    -2010-12-26 00:29:02- (try: 2) http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.4.pom
    Connecting to www.fornax-platform.org|217.160.176.204|:80... connected.
    HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
    Retrying.

    -2010-12-26 00:29:08- (try: 3) http://www.fornax-platform.org/archiva/repository/releases/org/mongodb/mongo-java-driver/1.4/mongo-java-driver-1.4.pom
    Connecting to www.fornax-platform.org|217.160.176.204|:80... connected.
    HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
    Retrying.