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

Commit

Permalink
Version updates for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulbot committed Oct 31, 2019
1 parent 5b55b8b commit ba7e553
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pip install mediameter-cliff
To test it out, hit this url in a browser and you should get some JSON back:

```
http://localhost:8080/cliff-2.4.2/parse/text?q=This is some text about New York City, and maybe about Accra as well, and maybe Boston as well.
http://localhost:8080/cliff-2.5.0/parse/text?q=This is some text about New York City, and maybe about Accra as well, and maybe Boston as well.
```

Of course, when you use this in a script you should do an HTTP POST, not a GET!
Expand Down Expand Up @@ -138,7 +138,7 @@ Response:
},
"status": "ok",
"milliseconds": 4004,
"version": "2.4.2"
"version": "2.5.0"
}
```

Expand All @@ -151,7 +151,7 @@ A convenience method to help you lookup places by their geonames ids.
|id|(required)|The unique id that identifies a place in the [geonames.org](geonames.org) database|

Example Query:
`http://localhost:8080/cliff-2.4.2/geonames?id=4930956`
`http://localhost:8080/cliff-2.5.0/geonames?id=4930956`

Response:
```json
Expand Down Expand Up @@ -209,7 +209,7 @@ Response:
"population": 617594
},
"status": "ok",
"version": "2.4.2"
"version": "2.5.0"
}
```

Expand All @@ -222,7 +222,7 @@ A convenience method to help you get the raw text of the story from a URL. This
|url|(required)|The url of a news story to extract the text of|

Example Query:
`http://localhost:8080/cliff-2.4.2/extract?url=http://www.theonion.com/articles/woman-thinks-she-can-just-waltz-back-into-work-aft,38349/`
`http://localhost:8080/cliff-2.5.0/extract?url=http://www.theonion.com/articles/woman-thinks-she-can-just-waltz-back-into-work-aft,38349/`

Response:
```json
Expand All @@ -234,7 +234,7 @@ Response:
},
"status": "ok",
"milliseconds": 625,
"version": "2.4.2"
"version": "2.5.0"
}
```

Expand Down Expand Up @@ -341,7 +341,7 @@ We have a number of unit tests that can be run with `mvn test`.
## Releasing

To build a release:
1. first update the version numbers in all the `pom.xml` files (`pom.xml`, `webapp/pom.xml`, `common/pom.xml`, `stanford-entity-extractor/pom.xml`, `webapp/pom.xml`)
1. first update the version numbers in all the `pom.xml` files (`pom.xml`, `webapp/pom.xml`, `common/pom.xml`, `stanford-entity-extractor/pom.xml` )
2. also update the version number in `org.mediameter.cliff.ParseManager`
3. to create the WAR file, run `mvn package -DskipTests`.
4. update the examples in `README.md`
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>CLIFF</artifactId>
<groupId>org.mediameter</groupId>
<version>2.4.2</version>
<version>2.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>common</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class ParseManager {
* Minor: small new features, changes to the json result format, or changes to the disambiguation algorithm
* Revision: minor change or bug fix
*/
static final String PARSER_VERSION = "2.4.2";
static final String PARSER_VERSION = "2.5.0";

private static final Logger logger = LoggerFactory.getLogger(ParseManager.class);

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>org.mediameter</groupId>
<artifactId>CLIFF</artifactId>
<packaging>pom</packaging>
<version>2.4.2</version>
<version>2.5.0</version>
<modules>
<module>common</module>
<module>webapp</module>
Expand Down
4 changes: 2 additions & 2 deletions stanford-entity-extractor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>CLIFF</artifactId>
<groupId>org.mediameter</groupId>
<version>2.4.2</version>
<version>2.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -14,7 +14,7 @@
<dependency>
<groupId>org.mediameter</groupId>
<artifactId>common</artifactId>
<version>2.4.2</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>edu.stanford.nlp</groupId>
Expand Down
6 changes: 3 additions & 3 deletions webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>CLIFF</artifactId>
<groupId>org.mediameter</groupId>
<version>2.4.2</version>
<version>2.5.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -16,7 +16,7 @@
<dependency>
<groupId>org.mediameter</groupId>
<artifactId>common</artifactId>
<version>2.4.2</version>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>com.bericotech</groupId>
Expand Down Expand Up @@ -76,7 +76,7 @@
<dependency>
<groupId>org.mediameter</groupId>
<artifactId>stanford-entity-extractor</artifactId>
<version>2.4.2</version>
<version>2.5.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit ba7e553

Please sign in to comment.