[ https://issues.apache.org/jira/browse/OPENNLP-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017244#comment-16017244 ]
ASF GitHub Bot commented on OPENNLP-1067: ----------------------------------------- Github user kinow commented on a diff in the pull request: https://github.com/apache/opennlp-site/pull/14#discussion_r117456563 --- Diff: src/main/jbake/content/maven-dependency.ad --- @@ -35,59 +34,75 @@ all transient dependencies are resolved automatically. To use the OpenNLP Tools define the following dependency: - - <dependency> - <groupId>org.apache.opennlp</groupId> - <artifactId>opennlp-tools</artifactId> - <version>1.7.2</version> - </dependency> - +[source,xml,indent=0,subs=attributes+] +---- +<dependency> + <groupId>org.apache.opennlp</groupId> + <artifactId>opennlp-tools</artifactId> + <version>{opennlp_version}</version> +</dependency> +---- ## OpenNLP UIMA Annotators Dependency To use the OpenNLP UIMA Annotators define the following dependency: - <dependency> - <groupId>org.apache.opennlp</groupId> - <artifactId>opennlp-uima</artifactId> - <version>1.7.2</version> - </dependency> +[source,xml,indent=0,subs=attributes+] +---- +<dependency> + <groupId>org.apache.opennlp</groupId> + <artifactId>opennlp-uima</artifactId> + <version>{opennlp_version}</version> +</dependency> +---- ## OpenNLP Morfologik AddOn Dependency To use the OpenNLP Morfologik-Addon define the following dependency: - <dependency> - <groupId>org.apache.opennlp</groupId> - <artifactId>opennlp-morfologik-addon</artifactId> - <version>1.7.2</version> - </dependency> +[source,xml,indent=0,subs=attributes+] +---- +<dependency> + <groupId>org.apache.opennlp</groupId> + <artifactId>opennlp-morfologik-addon</artifactId> + <version>{opennlp_version}</version> +</dependency> +---- ## OpenNLP Brat Annotator Dependency To use the OpenNLP UIMA Annotators define the following dependency: - <dependency> - <groupId>org.apache.opennlp</groupId> - <artifactId>opennlp-brat-annotator</artifactId> - <version>1.7.2</version> - </dependency> +[source,xml,indent=0,subs=attributes+] +---- +<dependency> + <groupId>org.apache.opennlp</groupId> + <artifactId>opennlp-brat-annotator</artifactId> + <version>{opennlp_version}</version> +</dependency> +---- ## OpenNLP Tools SNAPSHOT Dependency To use the current trunk version define the following dependency: - <dependency> - <groupId>org.apache.opennlp</groupId> - <artifactId>opennlp-tools</artifactId> - <version>1.7.3-SNAPSHOT</version> - </dependency> +[source,xml,indent=0,subs=attributes+] +---- +<dependency> + <groupId>org.apache.opennlp</groupId> + <artifactId>opennlp-tools</artifactId> + <version>{opennlp_next_version}</version> +</dependency> +---- The SNAPSHOT dependency requires the following repository: - <repositories> - <repository> - <id>apache opennlp snapshot</id> - <url>https://repository.apache.org/content/repositories/snapshots/</url> - </repository> - </repositories> \ No newline at end of file +[source,xml,indent=0,subs=attributes+] +---- +<repositories> + <repository> + <id>apache opennlp snapshot</id> + <url>https://repository.apache.org/content/repositories/snapshots/</url> + </repository> +</repositories> +---- --- End diff -- Done > Use a variable to replace OpenNLP version in pages > -------------------------------------------------- > > Key: OPENNLP-1067 > URL: https://issues.apache.org/jira/browse/OPENNLP-1067 > Project: OpenNLP > Issue Type: Improvement > Components: Website > Reporter: Bruno P. Kinoshita > Assignee: Bruno P. Kinoshita > > Currently, we have to update several pages after a release, in order to > update the site. > This could be automated with a Maven variable + some JBake-fu. -- This message was sent by Atlassian JIRA (v6.3.15#6346)