From ba7dddfc17f7661c7af5c91fd756d6c3a87eb615 Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 10:54:43 +0000 Subject: [PATCH 1/8] Update to scala-maven-plugin - new version of deprecated maven-scala-plugin --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 9fef84cba..32f886e27 100644 --- a/pom.xml +++ b/pom.xml @@ -89,9 +89,9 @@ - org.scala-tools - maven-scala-plugin - 2.14.3 + net.alchim31.maven + scala-maven-plugin + 3.1.0 UTF-8 @@ -151,4 +151,4 @@ - \ No newline at end of file + From e39a316f1f72be7340f764066d25fbecf41387c7 Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 11:16:40 +0000 Subject: [PATCH 2/8] Add sonatype maven configuration --- pom.xml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 32f886e27..5aae58499 100644 --- a/pom.xml +++ b/pom.xml @@ -1,13 +1,35 @@ - 4.0.0 + + org.sonatype.oss + oss-parent + 7 + + + 4.0.0 com.gravity goose - 2.1.22 + 2.1.22-SNAPSHOT jar goose - http://maven.apache.org + Goose was originally an article extractor written in Java that has most recently (aug2011) converted to a scala project. It's mission is to take any news article or article type web page and not only extract what is the main body of the article but also all meta data and most probable image candidate. + https://github.com/jiminoc/goose + + + + The Apache Software License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + scm:git:git@github.com:jiminoc/goose.git + scm:git:git@github.com:jiminoc/goose.git + git@github.com:jiminoc/goose.git + + UTF-8 From 363529cc048dadb7f610616c2f8ea4e946f8d3d1 Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 13:18:15 +0000 Subject: [PATCH 3/8] Update repo --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 5aae58499..6861aef0e 100644 --- a/pom.xml +++ b/pom.xml @@ -25,9 +25,9 @@ - scm:git:git@github.com:jiminoc/goose.git - scm:git:git@github.com:jiminoc/goose.git - git@github.com:jiminoc/goose.git + scm:git:git@github.com:matth/goose.git + scm:git:git@github.com:matth/goose.git + git@github.com:matth/goose.git From 0adfadb56b5878a7741f63e56359547211869eef Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 13:54:29 +0000 Subject: [PATCH 4/8] Replace javadoc plugin with scaladoc plugin --- pom.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 6861aef0e..c8fde8b38 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,4 @@ - + org.sonatype.oss @@ -158,14 +157,14 @@ - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 + net.alchim31.maven + scala-maven-plugin + 3.1.0 attach-javadocs - jar + doc-jar From facfba2d957e86d4be50b8cf6b6f9a2cd1ebbda9 Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 13:57:26 +0000 Subject: [PATCH 5/8] [maven-release-plugin] prepare release goose-2.1.22 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c8fde8b38..24d5d09c1 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 com.gravity goose - 2.1.22-SNAPSHOT + 2.1.22 jar goose Goose was originally an article extractor written in Java that has most recently (aug2011) converted to a scala project. It's mission is to take any news article or article type web page and not only extract what is the main body of the article but also all meta data and most probable image candidate. From 0bf25bf923b5642cbd4064244f9626d203933470 Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 13:57:31 +0000 Subject: [PATCH 6/8] [maven-release-plugin] prepare for next development iteration --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 24d5d09c1..3a38f6796 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 com.gravity goose - 2.1.22 + 2.1.23-SNAPSHOT jar goose Goose was originally an article extractor written in Java that has most recently (aug2011) converted to a scala project. It's mission is to take any news article or article type web page and not only extract what is the main body of the article but also all meta data and most probable image candidate. From 3208c51964e4a1056852773d29a386b0d3d7a789 Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 14:08:32 +0000 Subject: [PATCH 7/8] Change repo back --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 3a38f6796..2dea0d5fb 100644 --- a/pom.xml +++ b/pom.xml @@ -24,9 +24,9 @@ - scm:git:git@github.com:matth/goose.git - scm:git:git@github.com:matth/goose.git - git@github.com:matth/goose.git + scm:git:git@github.com:jiminoc/goose.git + scm:git:git@github.com:jiminoc/goose.git + git@github.com:jiminoc/goose.git From 8de1855ead3f678afb6b903142af4c75c5c917ef Mon Sep 17 00:00:00 2001 From: Matt Haynes Date: Tue, 27 Nov 2012 14:33:13 +0000 Subject: [PATCH 8/8] Add notes about maven repo availability to README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47af399be..e6e3eb646 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,15 @@ To use goose from the command line: mvn compile MAVEN_OPTS="-Xms256m -Xmx2000m"; mvn exec:java -Dexec.mainClass=com.gravity.goose.TalkToMeGoose -Dexec.args="http://techcrunch.com/2011/05/13/native-apps-or-web-apps-particle-code-wants-you-to-do-both/" -e -q > ~/Desktop/gooseresult.txt +##Usage as a maven dependency + +Goose is hosted on Sonatype's OSS repository, https://oss.sonatype.org/content/repositories/releases/com/gravity/goose/ + + + com.gravity + goose + 2.1.22 + ##Regarding the port from JAVA to Scala @@ -55,4 +64,4 @@ Here are some of the reasons for the port to Scala: ##Issues It was a pretty fast Java to Scala port so lots of the nicities of the Scala language aren't in the codebase yet, but those will come over the coming months as we re-write alot of the internal methods to be more Scalesque. -We made sure it was still nice and operable from Java as well so if you're using goose from java you still should be able to use it with a few changes to the method signatures. \ No newline at end of file +We made sure it was still nice and operable from Java as well so if you're using goose from java you still should be able to use it with a few changes to the method signatures.