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

Commit

Permalink
Package name change
Browse files Browse the repository at this point in the history
Deploy ready
  • Loading branch information
Mauro Molin committed Jan 2, 2018
1 parent 837ecd0 commit 9369fa8
Show file tree
Hide file tree
Showing 22 changed files with 146 additions and 49 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Questa libreria consente il download e il parsing dei dati presenti nel sito htt
## Nozioni generali
Nel sito sono presenti entrate e uscite relative ad un certo ente in un certo mese/anno. Per poter parsare questi dati sono però necessari dei dati "anagrafici", che contengono alcune informazioni base (comuni, province, categorie, ecc.).

## Installazione
È possibile utilizzare questa libreria tramite maven:
```xml
<dependency>
<groupId>com.github.mmauro94</groupId>
<artifactId>siopeDownloader</artifactId>
<version>1.0.0</version>
</dependency>
```

## Utilizzo

### Download anagrafiche
Expand Down
91 changes: 89 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,34 @@
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">
<modelVersion>4.0.0</modelVersion>

<groupId>org.github.mmauro94</groupId>
<groupId>com.github.mmauro94</groupId>
<artifactId>siopeDownloader</artifactId>
<version>1.0.0</version>

<name>siope.it downloader</name>
<description>Una libreria per scaricare i dati di siope.it</description>
<url>https://github.com/MMauro94/siopeDownloader</url>

<licenses>
<license>
<name>GNU GENERAL PUBLIC LICENSE, Version 3.0</name>
<url>https://www.gnu.org/licenses/gpl-3.0.txt</url>
</license>
</licenses>

<developers>
<developer>
<name>Mauro Molin</name>
<email>[email protected]</email>
<organization>NA</organization>
<organizationUrl>https://github.com/MMauro94</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/MMauro94/siopeDownloader.git</connection>
<developerConnection>scm:git:ssh://github.com:MMauro94/siopeDownloader.git</developerConnection>
<url>https://github.com/MMauro94/siopeDownloader/tree/master</url>
</scm>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -25,6 +49,69 @@
<scope>provided</scope>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- explicitly define maven-deploy-plugin after other to force exec order -->
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.github.mmauro94.siopeDownloader.datastruct;
package com.github.mmauro94.siopeDownloader.datastruct;

import org.github.mmauro94.siopeDownloader.utils.CSVRecordParser;
import com.github.mmauro94.siopeDownloader.utils.CSVRecordParser;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.download.SiopeZipDownloader;
import com.github.mmauro94.siopeDownloader.utils.ParseUtils;
import com.github.mmauro94.siopeDownloader.utils.URLUtils;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.download.SiopeZipDownloader;
import org.github.mmauro94.siopeDownloader.utils.ParseUtils;
import org.github.mmauro94.siopeDownloader.utils.ReaderUtils;
import org.github.mmauro94.siopeDownloader.utils.URLUtils;
import com.github.mmauro94.siopeDownloader.utils.ReaderUtils;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import com.github.mmauro94.siopeDownloader.utils.ParseUtils;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.github.mmauro94.siopeDownloader.utils.ParseUtils;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import com.github.mmauro94.siopeDownloader.utils.ParseUtils;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.github.mmauro94.siopeDownloader.utils.ParseUtils;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.anagrafiche;
package com.github.mmauro94.siopeDownloader.datastruct.anagrafiche;

import com.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.AutoMap;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.operazioni;
package com.github.mmauro94.siopeDownloader.datastruct.operazioni;

import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Anagrafiche;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.CodiceGestionaleEntrate;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Ente;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Anagrafiche;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.CodiceGestionaleEntrate;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Ente;
import org.jetbrains.annotations.NotNull;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package org.github.mmauro94.siopeDownloader.datastruct.operazioni;
package com.github.mmauro94.siopeDownloader.datastruct.operazioni;

import lombok.Getter;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Anagrafiche;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.CodiceGestionale;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Ente;
import org.github.mmauro94.siopeDownloader.download.SiopeZipDownloader;
import org.github.mmauro94.siopeDownloader.utils.ParseUtils;
import org.github.mmauro94.siopeDownloader.utils.URLUtils;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Anagrafiche;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.CodiceGestionale;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Ente;
import com.github.mmauro94.siopeDownloader.download.SiopeZipDownloader;
import com.github.mmauro94.siopeDownloader.utils.ParseUtils;
import com.github.mmauro94.siopeDownloader.utils.URLUtils;
import org.apache.commons.csv.CSVParser;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.github.mmauro94.siopeDownloader.datastruct.operazioni;
package com.github.mmauro94.siopeDownloader.datastruct.operazioni;

import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Anagrafiche;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.CodiceGestionaleUscite;
import org.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Ente;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.CodiceGestionaleUscite;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Anagrafiche;
import com.github.mmauro94.siopeDownloader.datastruct.anagrafiche.Ente;
import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.download;
package com.github.mmauro94.siopeDownloader.download;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.utils;
package com.github.mmauro94.siopeDownloader.utils;

import org.apache.commons.csv.CSVRecord;
import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.utils;
package com.github.mmauro94.siopeDownloader.utils;

import org.apache.commons.csv.CSVFormat;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.utils;
package com.github.mmauro94.siopeDownloader.utils;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.github.mmauro94.siopeDownloader.utils;
package com.github.mmauro94.siopeDownloader.utils;

public final class URLUtils {
private URLUtils() {
Expand Down

0 comments on commit 9369fa8

Please sign in to comment.