Skip to content

Commit

Permalink
GH-62 Rename project to Reposilite (Resolve #62)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed May 18, 2020
1 parent e5b362f commit 9e9b2dc
Show file tree
Hide file tree
Showing 57 changed files with 400 additions and 400 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ RUN mvn -f /app/pom.xml clean package
# Run stage
FROM openjdk:14-alpine
WORKDIR /app
COPY --from=build /app/target/nanomaven*.jar nanomaven.jar
ENTRYPOINT [ "java", "-Xmx128M", "-jar", "nanomaven.jar"]
COPY --from=build /app/target/reposilite*.jar reposilite.jar
ENTRYPOINT [ "java", "-Xmx128M", "-jar", "reposilite.jar"]
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Reposilite [![Build Status](https://travis-ci.org/dzikoysk/nanomaven.svg?branch=master)](https://travis-ci.org/dzikoysk/nanomaven)
# Reposilite [![Build Status](https://travis-ci.org/dzikoysk/reposilite.svg?branch=master)](https://travis-ci.org/dzikoysk/reposilite)
Reposilite *(formerly NanoMaven)* - lightweight repository manager for Maven artifacts.
It is a simple solution to replace managers like Nexus, Archiva or Artifactory.

![Preview](https://user-images.githubusercontent.com/4235722/82151266-f732c680-985a-11ea-842c-bb53acad794b.png)

#### Features
* [x] Working Maven repository manager *(example: [repo.panda-lang.org](https://repo.panda-lang.org))*
* [x] Docker image *(repository: [dzikoysk/nanomaven](https://hub.docker.com/r/dzikoysk/nanomaven))*
* [x] Docker image *(repository: [dzikoysk/reposilite](https://hub.docker.com/r/dzikoysk/reposilite))*
* [x] Authorization *(deploy and downloads)*
* [x] Deploy *(using tokens and BCrypt)*
* [x] Customizable front page
Expand All @@ -19,8 +19,8 @@ It is a simple solution to replace managers like Nexus, Archiva or Artifactory.
* [ ] Admin panel

#### Installation
Releases: [GitHub Downloads](https://github.com/dzikoysk/NanoMaven/releases) <br>
Images: [DockerHub Repository](https://hub.docker.com/r/dzikoysk/nanomaven) <br>
Releases: [GitHub Downloads](https://github.com/dzikoysk/reposilite/releases) <br>
Images: [DockerHub Repository](https://hub.docker.com/r/dzikoysk/reposilite) <br>
Requirements:
* Java 8+
* RAM 4MB+
Expand All @@ -32,22 +32,22 @@ Requirements:
| *48MB - 128MB* | Tiny public repository *(recommended)* |
| *128MB+* | Public repository |

To launch NanoMaven with defined amount of RAM, use `Xmx` parameter:
To launch Reposilite with defined amount of RAM, use `Xmx` parameter:
```bash
$ java -Xmx<Amount>M -jar nanomaven.jar
$ java -Xmx<Amount>M -jar reposilite.jar
```
If you will not define the memory size, NanoMaven will probably use around *~30 to ~250MB*.
You may also use NanoMaven through the docker image:
If you will not define the memory size, Reposilite will probably use around *~30 to ~250MB*.
You may also use Reposilite through the docker image:

```bash
$ docker pull dzikoysk/nanomaven
$ docker pull dzikoysk/reposilite
```

#### Guide
List of available management commands

```bash
NanoMaven 2.2.2 Commands:
Reposilite 2.3.0 Commands:
help - List available commands
status - Display metrics
tokens - List all generated tokens
Expand All @@ -64,13 +64,13 @@ keygen / admin
19:55:20.692 INFO | AW7-kaXSSXTRVL_Ip9v7ruIiqe56gh96o1XdSrqZCyTX2vUsrZU3roVOfF-YYF-y
19:55:20.723 INFO | Stored tokens: 1

keygen /org/panda-lang/nanomaven nanomaven
19:56:09.109 INFO | Generated new access token for nanomaven (/org/panda-lang/nanomaven)
keygen /org/panda-lang/reposilite reposilite
19:56:09.109 INFO | Generated new access token for reposilite (/org/panda-lang/reposilite)
19:56:09.109 INFO | OFnV-2GiZeX0cHpeDvuLo0xjUpU5wNUcpkR4521fG68U9anfqNwKsVkFcQUCK4yk
19:56:09.114 INFO | Stored tokens: 2
```

To use generated token add a new server in your `./m2/settings.xml`
To use generated token add a new server in your `~/m2/settings.xml`

```xml
<server>
Expand Down
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.panda-lang</groupId>
<artifactId>nanomaven</artifactId>
<artifactId>reposilite</artifactId>
<version>2.2.2</version>
<licenses>
<license>
Expand All @@ -31,13 +31,13 @@

<properties>
<!-- NanoMaven properties -->
<nanomaven.version>${project.version}</nanomaven.version>
<nanomaven.javaLanguageLevel>1.8</nanomaven.javaLanguageLevel>
<nanomaven.javaVersion>1.8</nanomaven.javaVersion>
<reposilite.version>${project.version}</reposilite.version>
<reposilite.javaLanguageLevel>1.8</reposilite.javaLanguageLevel>
<reposilite.javaVersion>1.8</reposilite.javaVersion>

<!-- Maven properties -->
<maven.compiler.source>${nanomaven.javaLanguageLevel}</maven.compiler.source>
<maven.compiler.target>${nanomaven.javaVersion}</maven.compiler.target>
<maven.compiler.source>${reposilite.javaLanguageLevel}</maven.compiler.source>
<maven.compiler.target>${reposilite.javaVersion}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down Expand Up @@ -166,8 +166,8 @@
</dependency>
</dependencies>
<configuration>
<source>${nanomaven.javaLanguageLevel}</source>
<target>${nanomaven.javaVersion}</target>
<source>${reposilite.javaLanguageLevel}</source>
<target>${reposilite.javaVersion}</target>
</configuration>
</plugin>
<plugin>
Expand All @@ -192,8 +192,8 @@
<archive>
<manifestEntries>
<Implementation-Title>NanoMaven</Implementation-Title>
<Implementation-Version>${nanomaven.version}</Implementation-Version>
<Main-Class>org.panda_lang.nanomaven.NanoMaven</Main-Class>
<Implementation-Version>${reposilite.version}</Implementation-Version>
<Main-Class>org.panda_lang.reposilite.Reposilite</Main-Class>
</manifestEntries>
</archive>
</configuration>
Expand Down
55 changes: 0 additions & 55 deletions src/main/java/org/panda_lang/nanomaven/NanoWorkspace.java

This file was deleted.

39 changes: 0 additions & 39 deletions src/main/java/org/panda_lang/nanomaven/console/HelpCommand.java

This file was deleted.

43 changes: 0 additions & 43 deletions src/main/java/org/panda_lang/nanomaven/console/StatusCommand.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* limitations under the License.
*/

package org.panda_lang.nanomaven;
package org.panda_lang.reposilite;

import java.io.Serializable;
import java.util.List;

public final class NanoConfiguration implements Serializable {
public final class Configuration implements Serializable {

private String hostname;
private int port;
Expand Down
Loading

0 comments on commit 9e9b2dc

Please sign in to comment.