Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
poi: cleaned pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Codes Sánchez committed Oct 30, 2018
1 parent 9192614 commit 42424de
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 42 deletions.
92 changes: 50 additions & 42 deletions apache-poi/pom.xml
Original file line number Diff line number Diff line change
@@ -1,49 +1,57 @@
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>es.implementations.frameworks</groupId>
<artifactId>Apache-poi</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>Apache POI</name>
<artifactId>apache-poi</artifactId>
<version>1.0.0-RELEASE</version>
<description>Excel parser usage</description>

<dependencies>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>

<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.assertj/assertj-core -->
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.8.0</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.mockito/mockito-all -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.10.19</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.18</version>
<scope>provided</scope>
</dependency>
<properties>
<!-- dependencies versions -->
<apache.poi.version>3.17</apache.poi.version>

<!-- test dependencies -->
<junit.version>4.12</junit.version>
<assertj.version>3.8.0</assertj.version>
<mockito.version>1.10.19</mockito.version>
</properties>

<dependencies>
<!-- excel parser -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${apache.poi.version}</version>
</dependency>

<!-- other dependencies -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.18</version>
<scope>provided</scope>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>

</dependencies>
</project>
1 change: 1 addition & 0 deletions apache-poi/src/main/java/es/apache/poi/ExcelParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* @since Oct 19, 2017 - 1.0.0
*/
public class ExcelParser {

@Getter
private FileInputStream inputStream;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

@RunWith(MockitoJUnitRunner.class)
public class ExcelParserTest {

private final String FILE_NAME = "excel-file.xlsx";

@InjectMocks
Expand Down

0 comments on commit 42424de

Please sign in to comment.