Skip to content

Commit

Permalink
Merge pull request yasserg#177 from rzo1/pom-improvements
Browse files Browse the repository at this point in the history
Updates .gitignore for Maven / IntelliJ & Pom Readability Improvements
  • Loading branch information
s17t authored Dec 15, 2016
2 parents a6f2bc2 + 97109e0 commit 0675b33
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 8 deletions.
106 changes: 106 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,109 @@ logs/
**/.idea/libraries/
**/.idea/tasks.xml
**/.idea/workspace.xml


### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml

# Sensitive or high-churn files:
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.xml
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml

# Gradle:
.idea/gradle.xml
.idea/libraries

# Mongo Explorer plugin:
.idea/mongoSettings.xml

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties


### Maven template
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

# Exclude maven wrapper
!/.mvn/wrapper/maven-wrapper.jar
### Eclipse template

.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

30 changes: 22 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<version>4.3-SNAPSHOT</version>
<description>Open Source Web Crawler for Java</description>
<url>https://github.com/yasserg/crawler4j</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
Expand All @@ -20,6 +21,18 @@
<developerConnection>scm:git:[email protected]:yasserg/crawler4j.git</developerConnection>
</scm>

<properties>
<slf4j.version>1.7.21</slf4j.version>
<logback.version>1.1.7</logback.version>
<guava.version>19.0</guava.version>
<apache.http.components.version>4.4</apache.http.components.version>
<je.version>5.0.73</je.version>
<apache.tika.version>1.14</apache.tika.version>
<!--test dependency versions -->
<junit.version>4.12</junit.version>
<wiremock.version>2.4.1</wiremock.version>
</properties>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
Expand Down Expand Up @@ -135,51 +148,52 @@
<!-- Logging framework -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<!-- Implementation of slf4j -->
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.1.7</version>
<version>${logback.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<!-- Google's core Java libraries -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.4</version>
<version>${apache.http.components.version}</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>com.sleepycat</groupId>
<artifactId>je</artifactId>
<version>5.0.73</version>
<version>${je.version}</version>
</dependency>

<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-parsers</artifactId>
<version>1.14</version>
<version>${apache.tika.version}</version>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock</artifactId>
<version>2.4.1</version>
<version>${wiremock.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down

0 comments on commit 0675b33

Please sign in to comment.