GitXplorerGitXplorer
n

moxie

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
5f532ab35235c67045b2f4b9c616e23a47a1afb6

Formatting

committed 11 years ago
Unverified
3025eecc8198c1b8d26e4c545615f6beca99c6e3

Rename to Moxie

committed 11 years ago
Unverified
22d3578b2b7347e7c6c5d7364cce2005077ba685

More details how to use

committed 11 years ago
Unverified
97866a038bc4f95da35dd440e2444cb8692575b6

Formatting

committed 11 years ago
Unverified
471ff620e0ae0a40cfb0657bdf14936e26df192a

Import code for async-maven-proxy

committed 11 years ago
Unverified
3eace607655bd0421cf8b7ba3f8e7268ac8025f1

Initial commit

nnormanmaurer committed 11 years ago

README

The README file for this repository.

Moxie

Moxie is a caching maven proxy which is written on top of Netty and is pretty light-weight. I mainly wrote this because sonatype nexus and apache archiva did not work on my NAS to well and I was in need for some more light-weight solution.

The code itself is written in Scala and uses Netty for the network code itself. Hope you find it useful.

How to use it

First compile it

# mvn clean compile assembly:single

Then copy the moxie.properties to your prefered directory and adjust if needed. After this start the proxy via:

# java -Dmoxie.config=/path/to/config/moxie.properties -jar moxie-1.0-SNAPSHOT-jar-with-dependencies.jar

Now configure maven to make use of it by add this settings to your ~/.m2/settings.xml

  <mirrors>
    <mirror>
      <id>moxie</id>
      <mirrorOf>*</mirrorOf>
      <url>http://addressOfProxy:portOfProxy</url>
    </mirror>
  </mirrors>
  <profiles>
    <profile>
      <id>moxie</id>
      <repositories>
        <repository>
          <id>central</id>
          <url>http://central</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </repository>
      </repositories>
     <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>http://central</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>moxie</activeProfile>
  </activeProfiles>

Enjoy!