Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
move ArtipieStorage to a separate module (#474)
Browse files Browse the repository at this point in the history
* move ArtipieStorage to a separate module

* fix a lint violation

* fix review comments
  • Loading branch information
dgarus authored Sep 12, 2022
1 parent 2970bc8 commit a5a70b2
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 11 deletions.
52 changes: 52 additions & 0 deletions asto-artipie/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
The MIT License (MIT)
Copyright (c) 2020-2022 artipie.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>asto</artifactId>
<groupId>com.artipie</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>asto-artipie</artifactId>
<dependencies>
<dependency>
<groupId>com.artipie</groupId>
<artifactId>asto-core</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.artipie</groupId>
<artifactId>http-client</artifactId>
<version>0.3.9</version>
<exclusions>
<exclusion>
<groupId>com.artipie</groupId>
<artifactId>asto-core</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/**
* Proxy storage for a file-adapter via HTTP.
*
* @since 1.11.0
* @since 0.1
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
* @checkstyle LineLengthCheck (500 lines)
*/
Expand Down
12 changes: 12 additions & 0 deletions asto-artipie/src/main/java/com/artipie/asto/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* The MIT License (MIT) Copyright (c) 2020-2022 artipie.com
* https://github.com/artipie/asto/LICENSE.txt
*/

/**
* Artipie Storage.
*
* @since 0.1
*/
package com.artipie.asto;

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Test case for {@link ArtipieStorage}.
*
* @since 1.11.0
* @since 0.1
* @checkstyle ClassDataAbstractionCouplingCheck (500 lines)
*/
public final class ArtipieStorageTest {
Expand Down
12 changes: 12 additions & 0 deletions asto-artipie/src/test/java/com/artipie/asto/package-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
* The MIT License (MIT) Copyright (c) 2020-2022 artipie.com
* https://github.com/artipie/asto/LICENSE.txt
*/

/**
* Artipie Storage tests.
*
* @since 0.1
*/
package com.artipie.asto;

11 changes: 2 additions & 9 deletions asto-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,8 @@ SOFTWARE.
<artifactId>asto-core</artifactId>
<dependencies>
<dependency>
<groupId>com.artipie</groupId>
<artifactId>http-client</artifactId>
<version>0.3.6</version>
<exclusions>
<exclusion>
<groupId>com.artipie</groupId>
<artifactId>asto</artifactId>
</exclusion>
</exclusions>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ SOFTWARE.
<module>asto-s3</module>
<module>asto-vertx-file</module>
<module>asto-etcd</module>
<module>asto-artipie</module>
</modules>
<properties>
<qulice.license>${project.basedir}/../LICENSE.header</qulice.license>
Expand Down

0 comments on commit a5a70b2

Please sign in to comment.