Compare commits
93 commits
ROME-244-i
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
a4b8f35741 | ||
|
a5436ba70e | ||
|
4c817f7ad1 | ||
|
a0efae5cde | ||
|
e7cab478b3 | ||
|
700dd58514 | ||
|
39c460c0c6 | ||
|
9b27f0563d | ||
|
998e2060eb | ||
|
e77ed9fd17 | ||
|
cca2fb9a42 | ||
|
3f59e5c7eb | ||
|
13a5e407e5 | ||
|
bc33fa68e8 | ||
|
c0a3a2cd16 | ||
|
0bd157918b | ||
|
b87f3293fe | ||
|
48cccfb5a9 | ||
|
63bd54f047 | ||
|
b7a715d54a | ||
|
1606804f0f | ||
|
0656fa3ef4 | ||
|
1ddb67044b | ||
|
511c6ffac8 | ||
|
761f2aa274 | ||
|
0de36f1a02 | ||
|
e3dc44cf97 | ||
|
acd0911c4d | ||
|
74befdc358 | ||
|
1395794562 | ||
|
9199f0d66b | ||
|
31eb82b386 | ||
|
d9d2bb9e32 | ||
|
20e07a97e1 | ||
|
970d91771a | ||
|
998bf4ac8e | ||
|
eaf6af2f9b | ||
|
af93948e78 | ||
|
29b992ba02 | ||
|
d2cc166afa | ||
|
baa13b578e | ||
|
f0b12ab41e | ||
|
a6a20c3012 | ||
|
ac7d9c83b5 | ||
|
c36bfd8f47 | ||
|
6f6ff0ddd5 | ||
|
0993a6a10c | ||
|
961a6407e1 | ||
|
943c0db298 | ||
|
3c681bd4ae | ||
|
6920ff0fbe | ||
|
63ce6584f4 | ||
|
e13c27471e | ||
|
f07562f94d | ||
|
eb2f5f1258 | ||
|
d1456ace4a | ||
|
0fed3b4bb6 | ||
|
eb917277b6 | ||
|
23a5e7990b | ||
|
70af49f938 | ||
|
e6732b88e1 | ||
|
083a5d32d5 | ||
|
874a0c89a7 | ||
|
932f0546dc | ||
|
15a5f15ed0 | ||
|
94861b0532 | ||
|
a090ed9b24 | ||
|
7bbcce50d1 | ||
|
9aa69bf607 | ||
|
9b45f200af | ||
|
e91a99ccea | ||
|
ce28559041 | ||
|
a731362234 | ||
|
28fad6ad07 | ||
|
b907f73a8e | ||
|
1fe72c7ad0 | ||
|
0683b18cf4 | ||
|
d4b8b14c88 | ||
|
fe4fb3b4cd | ||
|
30638903e9 | ||
|
6f61c4f12e | ||
|
494cff6955 | ||
|
91da3003a1 | ||
|
fdffe7d315 | ||
|
b718922a53 | ||
|
a058deb267 | ||
|
deb781924e | ||
|
a1995c4779 | ||
|
7a2805c904 | ||
|
f9dedf8200 | ||
|
c94292698a | ||
|
7debaa444e | ||
|
d779068ed3 |
747 changed files with 4938 additions and 7831 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Set the default behavior, in case people don't have core.autocrlf set. See http://git-scm.com/docs/gitattributes
|
||||||
|
* text=auto
|
10
.gitignore
vendored
10
.gitignore
vendored
|
@ -1,3 +1,7 @@
|
||||||
/.settings
|
target
|
||||||
/.project
|
.checkstyle
|
||||||
/target
|
.project
|
||||||
|
.settings
|
||||||
|
.classpath
|
||||||
|
.idea
|
||||||
|
*.iml
|
||||||
|
|
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
language: java
|
||||||
|
jdk:
|
||||||
|
- oraclejdk8
|
||||||
|
- oraclejdk7
|
||||||
|
script: mvn verify
|
10
Jenkinsfile
vendored
Normal file
10
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
node {
|
||||||
|
|
||||||
|
stage 'Checkout'
|
||||||
|
checkout scm
|
||||||
|
|
||||||
|
stage 'Build'
|
||||||
|
def mvnHome = tool 'Maven 3.3.9'
|
||||||
|
sh "${mvnHome}/bin/mvn clean install"
|
||||||
|
|
||||||
|
}
|
9
LICENSE
9
LICENSE
|
@ -1,4 +1,5 @@
|
||||||
Apache License
|
|
||||||
|
Apache License
|
||||||
Version 2.0, January 2004
|
Version 2.0, January 2004
|
||||||
http://www.apache.org/licenses/
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
@ -178,7 +179,7 @@ Apache License
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
To apply the Apache License to your work, attach the following
|
||||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
replaced with your own identifying information. (Don't include
|
replaced with your own identifying information. (Don't include
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
comment syntax for the file format. We also recommend that a
|
comment syntax for the file format. We also recommend that a
|
||||||
|
@ -186,7 +187,7 @@ Apache License
|
||||||
same "printed page" as the copyright notice for easier
|
same "printed page" as the copyright notice for easier
|
||||||
identification within third-party archives.
|
identification within third-party archives.
|
||||||
|
|
||||||
Copyright {yyyy} {name of copyright owner}
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
@ -198,4 +199,4 @@ Apache License
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
71
README.md
71
README.md
|
@ -1,36 +1,35 @@
|
||||||
# ROME
|
# ROME
|
||||||
|
|
||||||
ROME is a Java framework for RSS and Atom feeds. The framework consist of several modules:
|
[![Build Status](https://travis-ci.org/rometools/rome.svg?branch=master)](https://travis-ci.org/rometools/rome)
|
||||||
|
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.rometools/rome/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.rometools/rome)
|
||||||
| Module | Description |
|
|
||||||
| ------ | ----------- |
|
ROME is a Java framework for RSS and Atom feeds. The framework consist of several modules:
|
||||||
| rome-parent | is the parent project for all ROME modules and contains the common Maven configuration. |
|
|
||||||
| rome-utils | provides utility classes that are used in several ROME modules. |
|
| Module | Description |
|
||||||
| rome | is the main RSS and Atom library. It makes it easy to work with most syndication formats: RSS 0.90, RSS 0.91 Netscape, RSS 0.91 Userland, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0. |
|
| ------ | ----------- |
|
||||||
| rome-modules| enables rome to handle several feed extensions like MediaRSS, GeoRSS and others. |
|
| `rome` | Library for generating and parsing RSS and Atom feeds. |
|
||||||
| rome-opml | contains [OPML](https://en.wikipedia.org/wiki/OPML) parsers and tools. |
|
| `rome-modules` | Generators and parsers for extensions like MediaRSS, GeoRSS and others. |
|
||||||
| rome-fetcher | is a caching feed fetcher that supports retrieval of feeds via HTTP conditional GET. Supports ETags, GZip compression, and RFC3229 Delta encoding. |
|
| `rome-opml` | [OPML](https://en.wikipedia.org/wiki/OPML) parsers and tools. |
|
||||||
| rome-certiorem | is a [PubSubHubub](https://en.wikipedia.org/wiki/PubSubHubbub) implementation based on rome. |
|
|
||||||
| rome-certiorem-webapp | is an example webapp for rome-certiorem |
|
Deprecated modules: `rome-fetcher`, `rome-certiorem`, `rome-certiorem-webapp` and `rome-propono`.
|
||||||
| rome-propono | supports publishing protocols, specifically the Atom Publishing Protocol and the legacy MetaWeblog API. Propono includes an Atom client library, an Atom server framework and a Blog client that supports both Atom protocol and the MetaWeblog API. |
|
|
||||||
|
## Examples
|
||||||
## Changelog
|
|
||||||
|
Parse a feed:
|
||||||
### 1.5.1
|
|
||||||
|
```java
|
||||||
- solved an [XML bomb](https://en.wikipedia.org/wiki/Billion_laughs) vulnerability
|
String url = "http://stackoverflow.com/feeds/tag?tagnames=rome";
|
||||||
|
SyndFeed feed = new SyndFeedInput().build(new XmlReader(new URL(url)));
|
||||||
Important note: due to the security fix ROME now forbids all Doctype declarations by default. This will break compatibility with RSS 0.91 Netscape
|
System.out.println(feed.getTitle());
|
||||||
because it requires a Doctype declaration. When you experience problems you have to activate the property **allowDoctypes** on the SyndFeedInput object. You
|
```
|
||||||
should only use this possibility when the feeds that you process are absolutely trustful.
|
|
||||||
|
Generate a feed:
|
||||||
### 1.5.0
|
|
||||||
|
```java
|
||||||
- many (untracked) enhancements
|
SyndFeed feed = new SyndFeedImpl();
|
||||||
- code cleanup
|
feed.setFeedType("rss_2.0");
|
||||||
- renamed packages (was required to be able to push to Maven Central after years again)
|
feed.setTitle("test-title");
|
||||||
- updated sourcecode to Java 1.6
|
feed.setDescription("test-description");
|
||||||
|
feed.setLink("https://example.org");
|
||||||
### Prior to 1.5.0
|
System.out.println(new SyndFeedOutput().outputString(feed));
|
||||||
|
```
|
||||||
- see [http://rometools.github.io/rome/ROMEReleases](http://rometools.github.io/rome/ROMEReleases)
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
This configuration file was written by the eclipse-cs plugin configuration editor
|
This configuration file was written by the eclipse-cs plugin configuration editor
|
||||||
-->
|
-->
|
||||||
<!--
|
<!--
|
||||||
Checkstyle-Configuration: ROME
|
Checkstyle-Configuration: ROME
|
||||||
Description:
|
Description:
|
||||||
CheckStyle configuration for the ROME project
|
CheckStyle configuration for the ROME project
|
||||||
-->
|
-->
|
||||||
<module name="Checker">
|
<module name="Checker">
|
||||||
<property name="severity" value="warning"/>
|
<property name="severity" value="warning"/>
|
||||||
|
|
|
@ -1,59 +1,59 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<profiles version="2">
|
<profiles version="2">
|
||||||
<profile kind="CleanUpProfile" name="ROME" version="2">
|
<profile kind="CleanUpProfile" name="ROME" version="2">
|
||||||
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
|
<setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
|
||||||
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
|
<setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
|
||||||
<setting id="cleanup.organize_imports" value="true"/>
|
<setting id="cleanup.organize_imports" value="true"/>
|
||||||
<setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
|
<setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
|
||||||
<setting id="cleanup.format_source_code_changes_only" value="false"/>
|
<setting id="cleanup.format_source_code_changes_only" value="false"/>
|
||||||
<setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
|
<setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
|
||||||
<setting id="cleanup.add_generated_serial_version_id" value="false"/>
|
<setting id="cleanup.add_generated_serial_version_id" value="false"/>
|
||||||
<setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class" value="true"/>
|
<setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class" value="true"/>
|
||||||
<setting id="cleanup.remove_unused_imports" value="true"/>
|
<setting id="cleanup.remove_unused_imports" value="true"/>
|
||||||
<setting id="cleanup.make_private_fields_final" value="true"/>
|
<setting id="cleanup.make_private_fields_final" value="true"/>
|
||||||
<setting id="cleanup.use_lambda" value="true"/>
|
<setting id="cleanup.use_lambda" value="true"/>
|
||||||
<setting id="cleanup.always_use_blocks" value="true"/>
|
<setting id="cleanup.always_use_blocks" value="true"/>
|
||||||
<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
|
<setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
|
||||||
<setting id="cleanup.sort_members_all" value="false"/>
|
<setting id="cleanup.sort_members_all" value="false"/>
|
||||||
<setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
|
<setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
|
||||||
<setting id="cleanup.add_missing_annotations" value="true"/>
|
<setting id="cleanup.add_missing_annotations" value="true"/>
|
||||||
<setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
|
<setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
|
||||||
<setting id="cleanup.make_parameters_final" value="true"/>
|
<setting id="cleanup.make_parameters_final" value="true"/>
|
||||||
<setting id="cleanup.sort_members" value="false"/>
|
<setting id="cleanup.sort_members" value="false"/>
|
||||||
<setting id="cleanup.remove_private_constructors" value="true"/>
|
<setting id="cleanup.remove_private_constructors" value="true"/>
|
||||||
<setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
|
<setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
|
||||||
<setting id="cleanup.remove_unused_local_variables" value="false"/>
|
<setting id="cleanup.remove_unused_local_variables" value="false"/>
|
||||||
<setting id="cleanup.convert_to_enhanced_for_loop" value="true"/>
|
<setting id="cleanup.convert_to_enhanced_for_loop" value="true"/>
|
||||||
<setting id="cleanup.remove_unused_private_fields" value="true"/>
|
<setting id="cleanup.remove_unused_private_fields" value="true"/>
|
||||||
<setting id="cleanup.never_use_blocks" value="false"/>
|
<setting id="cleanup.never_use_blocks" value="false"/>
|
||||||
<setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
|
<setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
|
||||||
<setting id="cleanup.use_this_for_non_static_field_access" value="true"/>
|
<setting id="cleanup.use_this_for_non_static_field_access" value="true"/>
|
||||||
<setting id="cleanup.remove_unnecessary_nls_tags" value="true"/>
|
<setting id="cleanup.remove_unnecessary_nls_tags" value="true"/>
|
||||||
<setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class" value="true"/>
|
<setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class" value="true"/>
|
||||||
<setting id="cleanup.add_missing_nls_tags" value="false"/>
|
<setting id="cleanup.add_missing_nls_tags" value="false"/>
|
||||||
<setting id="cleanup.remove_unnecessary_casts" value="true"/>
|
<setting id="cleanup.remove_unnecessary_casts" value="true"/>
|
||||||
<setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
|
<setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
|
||||||
<setting id="cleanup.format_source_code" value="true"/>
|
<setting id="cleanup.format_source_code" value="true"/>
|
||||||
<setting id="cleanup.convert_functional_interfaces" value="true"/>
|
<setting id="cleanup.convert_functional_interfaces" value="true"/>
|
||||||
<setting id="cleanup.add_default_serial_version_id" value="true"/>
|
<setting id="cleanup.add_default_serial_version_id" value="true"/>
|
||||||
<setting id="cleanup.remove_unused_private_methods" value="true"/>
|
<setting id="cleanup.remove_unused_private_methods" value="true"/>
|
||||||
<setting id="cleanup.remove_trailing_whitespaces" value="true"/>
|
<setting id="cleanup.remove_trailing_whitespaces" value="true"/>
|
||||||
<setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
|
<setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
|
||||||
<setting id="cleanup.add_serial_version_id" value="true"/>
|
<setting id="cleanup.add_serial_version_id" value="true"/>
|
||||||
<setting id="cleanup.use_this_for_non_static_method_access" value="true"/>
|
<setting id="cleanup.use_this_for_non_static_method_access" value="true"/>
|
||||||
<setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
|
<setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
|
||||||
<setting id="cleanup.use_anonymous_class_creation" value="false"/>
|
<setting id="cleanup.use_anonymous_class_creation" value="false"/>
|
||||||
<setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
|
<setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
|
||||||
<setting id="cleanup.remove_unused_private_members" value="false"/>
|
<setting id="cleanup.remove_unused_private_members" value="false"/>
|
||||||
<setting id="cleanup.make_local_variable_final" value="true"/>
|
<setting id="cleanup.make_local_variable_final" value="true"/>
|
||||||
<setting id="cleanup.add_missing_methods" value="false"/>
|
<setting id="cleanup.add_missing_methods" value="false"/>
|
||||||
<setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
|
<setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
|
||||||
<setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="true"/>
|
<setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="true"/>
|
||||||
<setting id="cleanup.use_parentheses_in_expressions" value="true"/>
|
<setting id="cleanup.use_parentheses_in_expressions" value="true"/>
|
||||||
<setting id="cleanup.add_missing_override_annotations" value="true"/>
|
<setting id="cleanup.add_missing_override_annotations" value="true"/>
|
||||||
<setting id="cleanup.use_blocks" value="true"/>
|
<setting id="cleanup.use_blocks" value="true"/>
|
||||||
<setting id="cleanup.make_variable_declarations_final" value="true"/>
|
<setting id="cleanup.make_variable_declarations_final" value="true"/>
|
||||||
<setting id="cleanup.correct_indentation" value="true"/>
|
<setting id="cleanup.correct_indentation" value="true"/>
|
||||||
<setting id="cleanup.remove_unused_private_types" value="true"/>
|
<setting id="cleanup.remove_unused_private_types" value="true"/>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
|
@ -1,295 +1,295 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<profiles version="12">
|
<profiles version="12">
|
||||||
<profile kind="CodeFormatterProfile" name="ROME" version="12">
|
<profile kind="CodeFormatterProfile" name="ROME" version="12">
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
<setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
|
<setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="100"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="100"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_lambda_body" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
|
<setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
<setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_resources_in_try" value="80"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8"/>
|
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
<setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8"/>
|
<setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.8"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
<setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8"/>
|
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
|
<setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
|
<setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="true"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
|
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
|
<setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="160"/>
|
<setting id="org.eclipse.jdt.core.formatter.lineSplit" value="160"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation" value="do not insert"/>
|
||||||
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
<setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
652
pom.xml
652
pom.xml
|
@ -1,309 +1,343 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<parent>
|
<groupId>com.rometools</groupId>
|
||||||
<groupId>org.sonatype.oss</groupId>
|
<artifactId>rome-parent</artifactId>
|
||||||
<artifactId>oss-parent</artifactId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<version>9</version>
|
<packaging>pom</packaging>
|
||||||
</parent>
|
|
||||||
|
<modules>
|
||||||
<groupId>com.rometools</groupId>
|
<module>rome</module>
|
||||||
<artifactId>rome-parent</artifactId>
|
<module>rome-certiorem</module>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
<module>rome-certiorem-webapp</module>
|
||||||
<packaging>pom</packaging>
|
<module>rome-fetcher</module>
|
||||||
|
<module>rome-modules</module>
|
||||||
<modules>
|
<module>rome-opml</module>
|
||||||
<module>rome</module>
|
<module>rome-osgi-test</module>
|
||||||
<module>rome-certiorem</module>
|
<module>rome-propono</module>
|
||||||
<module>rome-certiorem-webapp</module>
|
<module>rome-utils</module>
|
||||||
<module>rome-fetcher</module>
|
</modules>
|
||||||
<module>rome-modules</module>
|
|
||||||
<module>rome-opml</module>
|
<name>rome-parent</name>
|
||||||
<module>rome-propono</module>
|
|
||||||
<module>rome-utils</module>
|
<description>Parent for all ROME projects</description>
|
||||||
</modules>
|
|
||||||
|
<url>http://rometools.com</url>
|
||||||
<name>rome-parent</name>
|
|
||||||
|
<licenses>
|
||||||
<description>Parent for all ROME projects</description>
|
<license>
|
||||||
|
<name>The Apache Software License, Version 2.0</name>
|
||||||
<url>http://rometools.github.io/rome-parent/</url>
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||||
|
<distribution>repo</distribution>
|
||||||
<licenses>
|
</license>
|
||||||
<license>
|
</licenses>
|
||||||
<name>The Apache Software License, Version 2.0</name>
|
|
||||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
<scm>
|
||||||
<distribution>repo</distribution>
|
<connection>scm:git:https://github.com/rometools/rome.git</connection>
|
||||||
</license>
|
<developerConnection>scm:git:ssh://git@github.com/rometools/rome.git</developerConnection>
|
||||||
</licenses>
|
<url>https://github.com/rometools/rome</url>
|
||||||
|
</scm>
|
||||||
<scm>
|
|
||||||
<connection>scm:git:ssh://github.com/rometools/rome-parent.git</connection>
|
<developers>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/rometools/rome-parent.git</developerConnection>
|
<developer>
|
||||||
<url>https://github.com/rometools/rome-parent</url>
|
<name>Patrick Gotthard</name>
|
||||||
</scm>
|
<roles>
|
||||||
|
<role>Project lead</role>
|
||||||
<developers>
|
</roles>
|
||||||
<developer>
|
</developer>
|
||||||
<name>Patrick Gotthard</name>
|
</developers>
|
||||||
<email>patrick@patrick-gotthard.de</email>
|
|
||||||
<url>http://www.patrick-gotthard.de</url>
|
<distributionManagement>
|
||||||
<timezone>+1</timezone>
|
<snapshotRepository>
|
||||||
</developer>
|
<id>ossrh</id>
|
||||||
</developers>
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||||
|
</snapshotRepository>
|
||||||
<properties>
|
<repository>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<id>ossrh</id>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||||
</properties>
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
<build>
|
|
||||||
<pluginManagement>
|
<properties>
|
||||||
<plugins>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<plugin>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</properties>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.5.1</version>
|
<build>
|
||||||
<configuration>
|
<pluginManagement>
|
||||||
<source>1.6</source>
|
<plugins>
|
||||||
<target>1.6</target>
|
<plugin>
|
||||||
</configuration>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</plugin>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<plugin>
|
<version>3.6.0</version>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<configuration>
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
<source>1.6</source>
|
||||||
<version>3.3</version>
|
<target>1.6</target>
|
||||||
</plugin>
|
</configuration>
|
||||||
<plugin>
|
</plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<plugin>
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>2.8.1</version>
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
</plugin>
|
<version>3.0.0</version>
|
||||||
<plugin>
|
</plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<plugin>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>2.8.2</version>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<configuration>
|
<version>3.0.2</version>
|
||||||
<deployAtEnd>true</deployAtEnd>
|
</plugin>
|
||||||
</configuration>
|
<plugin>
|
||||||
</plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<plugin>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<version>2.8.2</version>
|
||||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
<configuration>
|
||||||
<version>1.1</version>
|
<deployAtEnd>true</deployAtEnd>
|
||||||
</plugin>
|
</configuration>
|
||||||
<!-- The following plugin doesn't modify the build. It is only used to hide irrelevant warnings in Eclipse -->
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.eclipse.m2e</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>lifecycle-mapping</artifactId>
|
<artifactId>maven-scm-plugin</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.9.5</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<lifecycleMappingMetadata>
|
<connectionType>developerConnection</connectionType>
|
||||||
<pluginExecutions>
|
</configuration>
|
||||||
<pluginExecution>
|
</plugin>
|
||||||
<pluginExecutionFilter>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-enforcer-plugin</artifactId>
|
<artifactId>maven-scm-publish-plugin</artifactId>
|
||||||
<versionRange>[1.0.0,)</versionRange>
|
<version>1.1</version>
|
||||||
<goals>
|
</plugin>
|
||||||
<goal>enforce</goal>
|
<plugin>
|
||||||
</goals>
|
<groupId>org.apache.felix</groupId>
|
||||||
</pluginExecutionFilter>
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
<action>
|
<version>3.2.0</version>
|
||||||
<ignore />
|
<executions>
|
||||||
</action>
|
<execution>
|
||||||
</pluginExecution>
|
<id>bundle</id>
|
||||||
</pluginExecutions>
|
<phase>package</phase>
|
||||||
</lifecycleMappingMetadata>
|
<goals>
|
||||||
</configuration>
|
<goal>bundle</goal>
|
||||||
</plugin>
|
</goals>
|
||||||
<plugin>
|
</execution>
|
||||||
<groupId>org.apache.felix</groupId>
|
</executions>
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
</plugin>
|
||||||
<version>3.0.1</version>
|
<plugin>
|
||||||
<executions>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<execution>
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
<id>bundle</id>
|
<version>2.19.1</version>
|
||||||
<phase>package</phase>
|
<executions>
|
||||||
<goals>
|
<execution>
|
||||||
<goal>bundle</goal>
|
<goals>
|
||||||
</goals>
|
<goal>integration-test</goal>
|
||||||
</execution>
|
<goal>verify</goal>
|
||||||
</executions>
|
</goals>
|
||||||
</plugin>
|
</execution>
|
||||||
</plugins>
|
</executions>
|
||||||
</pluginManagement>
|
</plugin>
|
||||||
</build>
|
<plugin>
|
||||||
|
<groupId>org.sonatype.plugins</groupId>
|
||||||
<reporting>
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||||||
<plugins>
|
<version>1.6.7</version>
|
||||||
<plugin>
|
<extensions>true</extensions>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<configuration>
|
||||||
<artifactId>maven-project-info-reports-plugin</artifactId>
|
<serverId>ossrh</serverId>
|
||||||
</plugin>
|
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||||||
<plugin>
|
<autoReleaseAfterClose>false</autoReleaseAfterClose>
|
||||||
<groupId>org.apache.felix</groupId>
|
</configuration>
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
</plugin>
|
||||||
<configuration>
|
</plugins>
|
||||||
<instructions>
|
</pluginManagement>
|
||||||
<Export-Package>
|
</build>
|
||||||
com.rometools.rome.feed,
|
|
||||||
com.rometools.rome.feed.atom,
|
<profiles>
|
||||||
com.rometools.rome.feed.impl,
|
<profile>
|
||||||
com.rometools.rome.feed.module,
|
<id>release</id>
|
||||||
com.rometools.rome.feed.rss,
|
<build>
|
||||||
com.rometools.rome.feed.synd,
|
<plugins>
|
||||||
com.rometools.rome.io,
|
<plugin>
|
||||||
</Export-Package>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<Import-Package>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
org.jdom2,
|
<version>3.0.1</version>
|
||||||
org.jdom2.filter,
|
<executions>
|
||||||
org.jdom2.input,
|
<execution>
|
||||||
org.jdom2.input.sax,
|
<id>attach-sources</id>
|
||||||
org.jdom2.output,
|
<goals>
|
||||||
org.slf4j,
|
<goal>jar-no-fork</goal>
|
||||||
org.w3c.dom,
|
</goals>
|
||||||
org.xml.sax
|
</execution>
|
||||||
</Import-Package>
|
</executions>
|
||||||
<_exportcontents>com.rometools.utils</_exportcontents>
|
</plugin>
|
||||||
<Embed-Dependency>rome-utils</Embed-Dependency>
|
<plugin>
|
||||||
</instructions>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</configuration>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
</plugin>
|
<version>2.10.4</version>
|
||||||
</plugins>
|
<configuration>
|
||||||
</reporting>
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||||||
|
</configuration>
|
||||||
<dependencyManagement>
|
<executions>
|
||||||
<dependencies>
|
<execution>
|
||||||
<!-- ROME -->
|
<id>attach-javadocs</id>
|
||||||
<dependency>
|
<goals>
|
||||||
<groupId>com.rometools</groupId>
|
<goal>jar</goal>
|
||||||
<artifactId>rome</artifactId>
|
</goals>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</execution>
|
||||||
</dependency>
|
</executions>
|
||||||
<dependency>
|
</plugin>
|
||||||
<groupId>com.rometools</groupId>
|
<plugin>
|
||||||
<artifactId>rome-certiorem</artifactId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
</dependency>
|
<version>1.6</version>
|
||||||
<dependency>
|
<executions>
|
||||||
<groupId>com.rometools</groupId>
|
<execution>
|
||||||
<artifactId>rome-certiorem-webapp</artifactId>
|
<id>sign-artifacts</id>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
<phase>verify</phase>
|
||||||
</dependency>
|
<goals>
|
||||||
<dependency>
|
<goal>sign</goal>
|
||||||
<groupId>com.rometools</groupId>
|
</goals>
|
||||||
<artifactId>rome-fetcher</artifactId>
|
</execution>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</executions>
|
||||||
</dependency>
|
</plugin>
|
||||||
<dependency>
|
</plugins>
|
||||||
<groupId>com.rometools</groupId>
|
</build>
|
||||||
<artifactId>rome-modules</artifactId>
|
</profile>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</profiles>
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependencyManagement>
|
||||||
<groupId>com.rometools</groupId>
|
<dependencies>
|
||||||
<artifactId>rome-opml</artifactId>
|
<!-- ROME -->
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>com.rometools</groupId>
|
||||||
<dependency>
|
<artifactId>rome</artifactId>
|
||||||
<groupId>com.rometools</groupId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<artifactId>rome-propono</artifactId>
|
</dependency>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>com.rometools</groupId>
|
||||||
<dependency>
|
<artifactId>rome-certiorem</artifactId>
|
||||||
<groupId>com.rometools</groupId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<artifactId>rome-utils</artifactId>
|
</dependency>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
<dependency>
|
||||||
</dependency>
|
<groupId>com.rometools</groupId>
|
||||||
<!-- JDOM -->
|
<artifactId>rome-certiorem-webapp</artifactId>
|
||||||
<dependency>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<groupId>org.jdom</groupId>
|
</dependency>
|
||||||
<artifactId>jdom2</artifactId>
|
<dependency>
|
||||||
<version>2.0.6</version>
|
<groupId>com.rometools</groupId>
|
||||||
</dependency>
|
<artifactId>rome-fetcher</artifactId>
|
||||||
<!-- Logging -->
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>org.slf4j</groupId>
|
<dependency>
|
||||||
<artifactId>slf4j-api</artifactId>
|
<groupId>com.rometools</groupId>
|
||||||
<version>1.7.16</version>
|
<artifactId>rome-modules</artifactId>
|
||||||
</dependency>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>ch.qos.logback</groupId>
|
<dependency>
|
||||||
<artifactId>logback-classic</artifactId>
|
<groupId>com.rometools</groupId>
|
||||||
<version>1.1.3</version>
|
<artifactId>rome-opml</artifactId>
|
||||||
</dependency>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<!-- JUnit -->
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>com.rometools</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>rome-propono</artifactId>
|
||||||
<version>4.12</version>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Hamcrest -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>com.rometools</groupId>
|
||||||
<groupId>org.hamcrest</groupId>
|
<artifactId>rome-utils</artifactId>
|
||||||
<artifactId>hamcrest-library</artifactId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<version>1.3</version>
|
</dependency>
|
||||||
</dependency>
|
<!-- JDOM -->
|
||||||
<!-- JavaX -->
|
<dependency>
|
||||||
<dependency>
|
<groupId>org.jdom</groupId>
|
||||||
<groupId>javax.servlet</groupId>
|
<artifactId>jdom2</artifactId>
|
||||||
<artifactId>servlet-api</artifactId>
|
<version>2.0.6</version>
|
||||||
<version>2.5</version>
|
</dependency>
|
||||||
</dependency>
|
<!-- Logging -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.servlet.jsp</groupId>
|
<groupId>org.slf4j</groupId>
|
||||||
<artifactId>jsp-api</artifactId>
|
<artifactId>slf4j-api</artifactId>
|
||||||
<version>2.1</version>
|
<version>1.7.16</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>javax.persistence</groupId>
|
<groupId>ch.qos.logback</groupId>
|
||||||
<artifactId>persistence-api</artifactId>
|
<artifactId>logback-classic</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.1.3</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Guice -->
|
<!-- JUnit -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.inject.extensions</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>guice-servlet</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
<version>2.0</version>
|
<version>4.12</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- Apache Commons -->
|
<!-- XMLUnit -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-httpclient</groupId>
|
<groupId>xmlunit</groupId>
|
||||||
<artifactId>commons-httpclient</artifactId>
|
<artifactId>xmlunit</artifactId>
|
||||||
<version>3.1</version>
|
<version>1.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<!-- Hamcrest -->
|
||||||
<groupId>org.apache.commons</groupId>
|
<dependency>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<groupId>org.hamcrest</groupId>
|
||||||
<version>3.4</version>
|
<artifactId>hamcrest-library</artifactId>
|
||||||
</dependency>
|
<version>1.3</version>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>commons-beanutils</groupId>
|
<!-- JavaX -->
|
||||||
<artifactId>commons-beanutils</artifactId>
|
<dependency>
|
||||||
<version>1.9.2</version>
|
<groupId>javax.servlet</groupId>
|
||||||
</dependency>
|
<artifactId>servlet-api</artifactId>
|
||||||
<!-- Jetty -->
|
<version>2.5</version>
|
||||||
<dependency>
|
</dependency>
|
||||||
<groupId>jetty</groupId>
|
<dependency>
|
||||||
<artifactId>jetty</artifactId>
|
<groupId>javax.servlet.jsp</groupId>
|
||||||
<version>4.2.12</version>
|
<artifactId>jsp-api</artifactId>
|
||||||
</dependency>
|
<version>2.1</version>
|
||||||
<!-- XML-RPC -->
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.xmlrpc</groupId>
|
<groupId>javax.persistence</groupId>
|
||||||
<artifactId>xmlrpc-client</artifactId>
|
<artifactId>persistence-api</artifactId>
|
||||||
<version>3.1.3</version>
|
<version>1.0.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- OAuth -->
|
<!-- Guice -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.oauth.core</groupId>
|
<groupId>com.google.inject.extensions</groupId>
|
||||||
<artifactId>oauth</artifactId>
|
<artifactId>guice-servlet</artifactId>
|
||||||
<version>20100527</version>
|
<version>2.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
<!-- Apache Commons -->
|
||||||
</dependencyManagement>
|
<dependency>
|
||||||
|
<groupId>commons-httpclient</groupId>
|
||||||
</project>
|
<artifactId>commons-httpclient</artifactId>
|
||||||
|
<version>3.1</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-lang3</artifactId>
|
||||||
|
<version>3.4</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-beanutils</groupId>
|
||||||
|
<artifactId>commons-beanutils</artifactId>
|
||||||
|
<version>1.9.2</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- Jetty -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>jetty</groupId>
|
||||||
|
<artifactId>jetty</artifactId>
|
||||||
|
<version>4.2.12</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- XML-RPC -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.xmlrpc</groupId>
|
||||||
|
<artifactId>xmlrpc-client</artifactId>
|
||||||
|
<version>3.1.3</version>
|
||||||
|
</dependency>
|
||||||
|
<!-- OAuth -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>net.oauth.core</groupId>
|
||||||
|
<artifactId>oauth</artifactId>
|
||||||
|
<version>20100527</version>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
</dependencyManagement>
|
||||||
|
|
||||||
|
</project>
|
4
rome-certiorem-webapp/.gitignore
vendored
4
rome-certiorem-webapp/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
||||||
/.classpath
|
|
||||||
/.project
|
|
||||||
/.settings
|
|
||||||
/target
|
|
|
@ -1,3 +0,0 @@
|
||||||
# ROME Certiorem WebApp
|
|
||||||
|
|
||||||
An example webapp for rome-certiorem
|
|
|
@ -1,60 +1,46 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
||||||
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>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
<parent>
|
||||||
<parent>
|
<groupId>com.rometools</groupId>
|
||||||
<groupId>com.rometools</groupId>
|
<artifactId>rome-parent</artifactId>
|
||||||
<artifactId>rome-parent</artifactId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</parent>
|
||||||
</parent>
|
|
||||||
|
<artifactId>rome-certiorem-webapp</artifactId>
|
||||||
<artifactId>rome-certiorem-webapp</artifactId>
|
<packaging>war</packaging>
|
||||||
<packaging>war</packaging>
|
|
||||||
|
<name>rome-certiorem-webapp</name>
|
||||||
<name>rome-certiorem-webapp</name>
|
|
||||||
|
<description>A simple webapp that uses rome-certiorem</description>
|
||||||
<licenses>
|
|
||||||
<license>
|
<build>
|
||||||
<name>The Apache Software License, Version 2.0</name>
|
<plugins>
|
||||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
<plugin>
|
||||||
<distribution>repo</distribution>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
</license>
|
<artifactId>maven-deploy-plugin</artifactId>
|
||||||
</licenses>
|
<configuration>
|
||||||
|
<skip>true</skip>
|
||||||
<scm>
|
</configuration>
|
||||||
<connection>scm:git:git@github.com:rometools/rome-certiorem-webapp.git</connection>
|
</plugin>
|
||||||
<developerConnection>scm:git:git@github.com:rometools/rome-certiorem-webapp.git</developerConnection>
|
</plugins>
|
||||||
<url>https://github.com/rometools/rome-certiorem-webapp/</url>
|
</build>
|
||||||
</scm>
|
|
||||||
|
<dependencies>
|
||||||
<repositories>
|
<dependency>
|
||||||
<repository>
|
<groupId>com.rometools</groupId>
|
||||||
<id>sonatype-nexus-snapshots</id>
|
<artifactId>rome-certiorem</artifactId>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
</dependency>
|
||||||
<releases>
|
<dependency>
|
||||||
<enabled>false</enabled>
|
<groupId>com.google.inject.extensions</groupId>
|
||||||
</releases>
|
<artifactId>guice-servlet</artifactId>
|
||||||
<snapshots>
|
</dependency>
|
||||||
<enabled>true</enabled>
|
<dependency>
|
||||||
</snapshots>
|
<groupId>javax.servlet</groupId>
|
||||||
</repository>
|
<artifactId>servlet-api</artifactId>
|
||||||
</repositories>
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
<dependencies>
|
</dependencies>
|
||||||
<dependency>
|
|
||||||
<groupId>com.rometools</groupId>
|
</project>
|
||||||
<artifactId>rome-certiorem</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.google.inject.extensions</groupId>
|
|
||||||
<artifactId>guice-servlet</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>javax.servlet</groupId>
|
|
||||||
<artifactId>servlet-api</artifactId>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -13,7 +26,9 @@ import com.rometools.certiorem.web.AbstractHubServlet;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Singleton
|
@Singleton
|
||||||
public class HubServlet extends AbstractHubServlet {
|
public class HubServlet extends AbstractHubServlet {
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -20,7 +33,9 @@ import com.rometools.certiorem.pub.Publisher;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Singleton
|
@Singleton
|
||||||
public class NotifyTest extends HttpServlet {
|
public class NotifyTest extends HttpServlet {
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -28,7 +41,9 @@ import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class ServerModule extends GuiceServletContextListener {
|
public class ServerModule extends GuiceServletContextListener {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(ServerModule.class);
|
private static final Logger LOG = LoggerFactory.getLogger(ServerModule.class);
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -13,7 +26,9 @@ import com.rometools.certiorem.web.AbstractSubServlet;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Singleton
|
@Singleton
|
||||||
public class SubServlet extends AbstractSubServlet {
|
public class SubServlet extends AbstractSubServlet {
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -22,7 +35,9 @@ import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Singleton
|
@Singleton
|
||||||
public class SubTest extends HttpServlet {
|
public class SubTest extends HttpServlet {
|
||||||
|
|
||||||
|
|
4
rome-certiorem/.gitignore
vendored
4
rome-certiorem/.gitignore
vendored
|
@ -1,4 +0,0 @@
|
||||||
/.classpath
|
|
||||||
/.project
|
|
||||||
/.settings
|
|
||||||
/target
|
|
|
@ -1,202 +0,0 @@
|
||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
|
@ -1,3 +0,0 @@
|
||||||
# ROME Certiorem
|
|
||||||
|
|
||||||
[PubSubHubub](https://en.wikipedia.org/wiki/PubSubHubbub) implementation based on ROME
|
|
|
@ -1,109 +1,55 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
||||||
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>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
<parent>
|
||||||
<parent>
|
<groupId>com.rometools</groupId>
|
||||||
<groupId>com.rometools</groupId>
|
<artifactId>rome-parent</artifactId>
|
||||||
<artifactId>rome-parent</artifactId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</parent>
|
||||||
</parent>
|
|
||||||
|
<artifactId>rome-certiorem</artifactId>
|
||||||
<artifactId>rome-certiorem</artifactId>
|
<packaging>jar</packaging>
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
<name>rome-certiorem</name>
|
||||||
<name>rome-certiorem</name>
|
|
||||||
|
<description>A PubSubHubub implementation for Java based on ROME</description>
|
||||||
<description>A PubSubHubub implementation for Java based on ROME</description>
|
|
||||||
|
<dependencies>
|
||||||
<scm>
|
<dependency>
|
||||||
<connection>scm:git:ssh://github.com/rometools/rome-certiorem.git</connection>
|
<groupId>com.rometools</groupId>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/rometools/rome-certiorem.git</developerConnection>
|
<artifactId>rome-fetcher</artifactId>
|
||||||
<url>https://github.com/rometools/rome-certiorem</url>
|
<exclusions>
|
||||||
</scm>
|
<exclusion>
|
||||||
|
<artifactId>commons-httpclient</artifactId>
|
||||||
<developers>
|
<groupId>commons-httpclient</groupId>
|
||||||
<developer>
|
</exclusion>
|
||||||
<name>Robert Cooper</name>
|
</exclusions>
|
||||||
<email>kebernet@gmail.comM</email>
|
</dependency>
|
||||||
<url>http://www.kebernet.net</url>
|
<dependency>
|
||||||
</developer>
|
<groupId>javax.servlet</groupId>
|
||||||
<developer>
|
<artifactId>servlet-api</artifactId>
|
||||||
<name>Farrukh Najmi</name>
|
<scope>provided</scope>
|
||||||
<url>http://wellfleetsoftware.com</url>
|
</dependency>
|
||||||
</developer>
|
<dependency>
|
||||||
</developers>
|
<groupId>javax.persistence</groupId>
|
||||||
|
<artifactId>persistence-api</artifactId>
|
||||||
<repositories>
|
<scope>provided</scope>
|
||||||
<repository>
|
</dependency>
|
||||||
<id>sonatype-nexus-snapshots</id>
|
<dependency>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
<groupId>org.slf4j</groupId>
|
||||||
<releases>
|
<artifactId>slf4j-api</artifactId>
|
||||||
<enabled>false</enabled>
|
</dependency>
|
||||||
</releases>
|
<dependency>
|
||||||
<snapshots>
|
<groupId>ch.qos.logback</groupId>
|
||||||
<enabled>true</enabled>
|
<artifactId>logback-classic</artifactId>
|
||||||
</snapshots>
|
<scope>test</scope>
|
||||||
</repository>
|
</dependency>
|
||||||
</repositories>
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
<build>
|
<artifactId>junit</artifactId>
|
||||||
<plugins>
|
<scope>test</scope>
|
||||||
<plugin>
|
</dependency>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</dependencies>
|
||||||
<artifactId>maven-site-plugin</artifactId>
|
|
||||||
<configuration>
|
</project>
|
||||||
<port>9000</port>
|
|
||||||
<tempWebappDirectory>${basedir}/target/site/tempdir</tempWebappDirectory>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<scmBranch>gh-pages</scmBranch>
|
|
||||||
<pubScmUrl>${project.scm.developerConnection}</pubScmUrl>
|
|
||||||
<content>${project.build.directory}/site</content>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.rometools</groupId>
|
|
||||||
<artifactId>rome-fetcher</artifactId>
|
|
||||||
<exclusions>
|
|
||||||
<exclusion>
|
|
||||||
<artifactId>commons-httpclient</artifactId>
|
|
||||||
<groupId>commons-httpclient</groupId>
|
|
||||||
</exclusion>
|
|
||||||
</exclusions>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>javax.servlet</groupId>
|
|
||||||
<artifactId>servlet-api</artifactId>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>javax.persistence</groupId>
|
|
||||||
<artifactId>persistence-api</artifactId>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ch.qos.logback</groupId>
|
|
||||||
<artifactId>logback-classic</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
|
|
@ -21,7 +21,9 @@ package com.rometools.certiorem;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HttpStatusCodeException extends RuntimeException {
|
public class HttpStatusCodeException extends RuntimeException {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -15,7 +28,9 @@ import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||||
* changes to entries in the underlying feed.
|
* changes to entries in the underlying feed.
|
||||||
*
|
*
|
||||||
* @author najmi
|
* @author najmi
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class DeltaFeedInfoCache implements FeedFetcherCache {
|
public class DeltaFeedInfoCache implements FeedFetcherCache {
|
||||||
|
|
||||||
FeedFetcherCache backingCache;
|
FeedFetcherCache backingCache;
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -22,7 +35,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
* fetch.
|
* fetch.
|
||||||
*
|
*
|
||||||
* @author najmi
|
* @author najmi
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class DeltaSyndFeedInfo extends SyndFeedInfo {
|
public class DeltaSyndFeedInfo extends SyndFeedInfo {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -43,7 +43,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
* a very thin servlet wrapper, or other, non-HTTP notification methods you might want to use.
|
* a very thin servlet wrapper, or other, non-HTTP notification methods you might want to use.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Hub {
|
public class Hub {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(Hub.class);
|
private static final Logger LOG = LoggerFactory.getLogger(Hub.class);
|
||||||
|
|
|
@ -27,7 +27,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface Notifier {
|
public interface Notifier {
|
||||||
/**
|
/**
|
||||||
* Instructs the notifier to begin sending notifications to the list of subscribers
|
* Instructs the notifier to begin sending notifications to the list of subscribers
|
||||||
|
|
|
@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
|
||||||
* A strategy interface for verification of subscriptions.
|
* A strategy interface for verification of subscriptions.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface Verifier {
|
public interface Verifier {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,7 +23,9 @@ import java.util.List;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface HubDAO {
|
public interface HubDAO {
|
||||||
|
|
||||||
public List<? extends Subscriber> subscribersForTopic(String topic);
|
public List<? extends Subscriber> subscribersForTopic(String topic);
|
||||||
|
|
|
@ -23,7 +23,9 @@ import java.io.Serializable;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Subscriber implements Serializable {
|
public class Subscriber implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -23,7 +23,9 @@ import java.io.Serializable;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class SubscriptionSummary implements Serializable {
|
public class SubscriptionSummary implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -35,7 +35,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class JPADAO implements HubDAO {
|
public class JPADAO implements HubDAO {
|
||||||
|
|
||||||
private final EntityManagerFactory factory;
|
private final EntityManagerFactory factory;
|
||||||
|
|
|
@ -33,7 +33,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@Entity
|
@Entity
|
||||||
@NamedQueries({ @NamedQuery(name = "Subcriber.forTopic", query = "SELECT o FROM JPASubscriber o WHERE o.topic = :topic AND o.expired = false ORDER BY o.subscribedAt") })
|
@NamedQueries({ @NamedQuery(name = "Subcriber.forTopic", query = "SELECT o FROM JPASubscriber o WHERE o.topic = :topic AND o.expired = false ORDER BY o.subscribedAt") })
|
||||||
public class JPASubscriber extends Subscriber implements Serializable {
|
public class JPASubscriber extends Subscriber implements Serializable {
|
||||||
|
|
|
@ -32,7 +32,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||||
* A Simple In-Memory HubDAO for subscribers.
|
* A Simple In-Memory HubDAO for subscribers.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class InMemoryHubDAO implements HubDAO {
|
public class InMemoryHubDAO implements HubDAO {
|
||||||
private final ConcurrentHashMap<String, List<Subscriber>> subscribers = new ConcurrentHashMap<String, List<Subscriber>>();
|
private final ConcurrentHashMap<String, List<Subscriber>> subscribers = new ConcurrentHashMap<String, List<Subscriber>>();
|
||||||
private final ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>> summaries = new ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>>();
|
private final ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>> summaries = new ConcurrentHashMap<String, ConcurrentHashMap<String, SubscriptionSummary>>();
|
||||||
|
|
|
@ -40,7 +40,9 @@ import com.rometools.rome.io.SyndFeedOutput;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractNotifier implements Notifier {
|
public abstract class AbstractNotifier implements Notifier {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AbstractNotifier.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AbstractNotifier.class);
|
||||||
|
|
|
@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Notification {
|
public class Notification {
|
||||||
|
|
||||||
int retryCount = 0;
|
int retryCount = 0;
|
||||||
|
|
|
@ -31,7 +31,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||||
* A notifier implementation that uses a thread pool to deliver notifications to subscribers
|
* A notifier implementation that uses a thread pool to deliver notifications to subscribers
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class ThreadPoolNotifier extends AbstractNotifier {
|
public class ThreadPoolNotifier extends AbstractNotifier {
|
||||||
private static final long TWO_MINUTES = 2 * 60 * 1000;
|
private static final long TWO_MINUTES = 2 * 60 * 1000;
|
||||||
protected final ThreadPoolExecutor exeuctor;
|
protected final ThreadPoolExecutor exeuctor;
|
||||||
|
|
|
@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.SubscriptionSummary;
|
||||||
* A notifier that does not use threads. All calls are blocking and synchronous.
|
* A notifier that does not use threads. All calls are blocking and synchronous.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class UnthreadedNotifier extends AbstractNotifier {
|
public class UnthreadedNotifier extends AbstractNotifier {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -39,7 +39,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
|
||||||
* operations, and expects a child class to do Async ops.
|
* operations, and expects a child class to do Async ops.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractVerifier implements Verifier {
|
public abstract class AbstractVerifier implements Verifier {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AbstractVerifier.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AbstractVerifier.class);
|
||||||
|
|
|
@ -28,7 +28,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
|
||||||
* Uses a ThreadPoolExecutor to do async verifications.
|
* Uses a ThreadPoolExecutor to do async verifications.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class ThreadPoolVerifier extends AbstractVerifier {
|
public class ThreadPoolVerifier extends AbstractVerifier {
|
||||||
protected final ThreadPoolExecutor exeuctor;
|
protected final ThreadPoolExecutor exeuctor;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,9 @@ import java.util.concurrent.ThreadPoolExecutor;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class ThreadpoolVerifierAdvanced extends ThreadPoolVerifier {
|
public class ThreadpoolVerifierAdvanced extends ThreadPoolVerifier {
|
||||||
|
|
||||||
public ThreadpoolVerifierAdvanced(final ThreadPoolExecutor executor) {
|
public ThreadpoolVerifierAdvanced(final ThreadPoolExecutor executor) {
|
||||||
|
|
|
@ -24,7 +24,9 @@ import com.rometools.certiorem.hub.data.Subscriber;
|
||||||
* A verifier that does not use threads. Suitable for Google App Engine.
|
* A verifier that does not use threads. Suitable for Google App Engine.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class UnthreadedVerifier extends AbstractVerifier {
|
public class UnthreadedVerifier extends AbstractVerifier {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -21,7 +21,9 @@ package com.rometools.certiorem.pub;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class NotificationException extends Exception {
|
public class NotificationException extends Exception {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -36,7 +36,9 @@ import com.rometools.rome.feed.synd.SyndLink;
|
||||||
* A class for sending update notifications to a hub.
|
* A class for sending update notifications to a hub.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Publisher {
|
public class Publisher {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(Publisher.class);
|
private static final Logger LOG = LoggerFactory.getLogger(Publisher.class);
|
||||||
|
|
|
@ -23,7 +23,9 @@ import com.rometools.certiorem.sub.data.Subscription;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface Requester {
|
public interface Requester {
|
||||||
public void sendSubscribeRequest(String hubUrl, Subscription subscription, String verifySync, long leaseSeconds, String secret, String callbackUrl,
|
public void sendSubscribeRequest(String hubUrl, Subscription subscription, String verifySync, long leaseSeconds, String secret, String callbackUrl,
|
||||||
RequestCallback callback);
|
RequestCallback callback);
|
||||||
|
|
|
@ -47,7 +47,9 @@ import com.rometools.rome.io.SyndFeedInput;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Subscriptions {
|
public class Subscriptions {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(Subscriptions.class);
|
private static final Logger LOG = LoggerFactory.getLogger(Subscriptions.class);
|
||||||
|
|
|
@ -21,7 +21,9 @@ package com.rometools.certiorem.sub.data;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface SubDAO {
|
public interface SubDAO {
|
||||||
|
|
||||||
public Subscription findById(String id);
|
public Subscription findById(String id);
|
||||||
|
|
|
@ -23,7 +23,9 @@ import java.io.Serializable;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class Subscription implements Serializable {
|
public class Subscription implements Serializable {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,4 +1,17 @@
|
||||||
/*
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
@ -10,7 +23,9 @@ import com.rometools.fetcher.impl.SyndFeedInfo;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author najmi
|
* @author najmi
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface SubscriptionCallback {
|
public interface SubscriptionCallback {
|
||||||
|
|
||||||
void onNotify(Subscription subscribed, SyndFeedInfo feedInfo);
|
void onNotify(Subscription subscribed, SyndFeedInfo feedInfo);
|
||||||
|
|
|
@ -35,7 +35,9 @@ import com.rometools.certiorem.sub.data.Subscription;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class InMemorySubDAO implements SubDAO {
|
public class InMemorySubDAO implements SubDAO {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(InMemorySubDAO.class);
|
private static final Logger LOG = LoggerFactory.getLogger(InMemorySubDAO.class);
|
||||||
|
|
|
@ -29,7 +29,9 @@ import com.rometools.certiorem.sub.data.Subscription;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractRequester implements Requester {
|
public abstract class AbstractRequester implements Requester {
|
||||||
|
|
||||||
protected boolean sendRequest(final String hubUrl, final String mode, final Subscription subscription, final String verifySync, final long leaseSeconds,
|
protected boolean sendRequest(final String hubUrl, final String mode, final Subscription subscription, final String verifySync, final long leaseSeconds,
|
||||||
|
|
|
@ -29,7 +29,9 @@ import com.rometools.certiorem.sub.data.Subscription;
|
||||||
* A simple requester implementation that always makes requests as Async.
|
* A simple requester implementation that always makes requests as Async.
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class AsyncRequester extends AbstractRequester {
|
public class AsyncRequester extends AbstractRequester {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AsyncRequester.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AsyncRequester.class);
|
||||||
|
|
|
@ -33,7 +33,9 @@ import com.rometools.certiorem.sub.data.Subscription;
|
||||||
* A simple requester implementation that always makes requests as Async.
|
* A simple requester implementation that always makes requests as Async.
|
||||||
*
|
*
|
||||||
* @author Farrukh Najmi
|
* @author Farrukh Najmi
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class SyncRequester extends AbstractRequester {
|
public class SyncRequester extends AbstractRequester {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(SyncRequester.class);
|
private static final Logger LOG = LoggerFactory.getLogger(SyncRequester.class);
|
||||||
|
|
|
@ -32,7 +32,9 @@ import com.rometools.certiorem.hub.Hub;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractHubServlet extends HttpServlet {
|
public abstract class AbstractHubServlet extends HttpServlet {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,9 @@ import com.rometools.certiorem.sub.Subscriptions;
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author robert.cooper
|
* @author robert.cooper
|
||||||
|
* @deprecated Certiorem will be removed in Rome 2.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractSubServlet extends HttpServlet {
|
public abstract class AbstractSubServlet extends HttpServlet {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
h1 {
|
|
||||||
padding: 4px 4px 4px 6px;
|
|
||||||
border: 1px solid #999;
|
|
||||||
color: #900;
|
|
||||||
background-color: #ddd;
|
|
||||||
font-weight:900;
|
|
||||||
font-size: x-large;
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
|
@ -1,42 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/DECORATION/1.3.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd"
|
|
||||||
name="ROME Certiorem">
|
|
||||||
|
|
||||||
<skin>
|
|
||||||
<groupId>org.apache.maven.skins</groupId>
|
|
||||||
<artifactId>maven-fluido-skin</artifactId>
|
|
||||||
<version>1.3.0</version>
|
|
||||||
</skin>
|
|
||||||
|
|
||||||
<custom>
|
|
||||||
<fluidoSkin>
|
|
||||||
<gitHub>
|
|
||||||
<projectId>rometools/rome-certiorem</projectId>
|
|
||||||
<ribbonOrientation>right</ribbonOrientation>
|
|
||||||
<ribbonColor>gray</ribbonColor>
|
|
||||||
</gitHub>
|
|
||||||
</fluidoSkin>
|
|
||||||
</custom>
|
|
||||||
|
|
||||||
<bannerLeft>
|
|
||||||
<name>ROME</name>
|
|
||||||
<src>images/romelogo.png</src>
|
|
||||||
<href>http://github.com/rometools/</href>
|
|
||||||
</bannerLeft>
|
|
||||||
|
|
||||||
<publishDate position="right" />
|
|
||||||
|
|
||||||
<version position="left" />
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<menu name="ROME Certiorem">
|
|
||||||
<item name="Overview" href="index.html" />
|
|
||||||
<item name="Tutorial" href="CertioremTutorial.html" />
|
|
||||||
<item name="Example project" href="http://github.com/rometools/rome-certiorem-webapp/"/>
|
|
||||||
</menu>
|
|
||||||
<menu ref="reports" />
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</project>
|
|
|
@ -1,41 +0,0 @@
|
||||||
/*
|
|
||||||
* To change this template, choose Tools | Templates and open the template in the editor.
|
|
||||||
*/
|
|
||||||
package com.rometools.certiorem.hub;
|
|
||||||
|
|
||||||
import static org.junit.Assert.assertFalse;
|
|
||||||
import static org.junit.Assert.assertTrue;
|
|
||||||
|
|
||||||
import java.net.URL;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import com.rometools.fetcher.impl.HashMapFeedInfoCache;
|
|
||||||
import com.rometools.fetcher.impl.HttpURLFeedFetcher;
|
|
||||||
import com.rometools.rome.feed.synd.SyndEntry;
|
|
||||||
import com.rometools.rome.feed.synd.SyndFeed;
|
|
||||||
|
|
||||||
public class DeltaSyndFeedInfoTest {
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testGetSyndFeed() throws Exception {
|
|
||||||
|
|
||||||
final URL url = new URL("https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&output=rss");
|
|
||||||
|
|
||||||
final DeltaFeedInfoCache feedInfoCache = new DeltaFeedInfoCache(new HashMapFeedInfoCache());
|
|
||||||
final HttpURLFeedFetcher feedFetcher = new HttpURLFeedFetcher(feedInfoCache);
|
|
||||||
|
|
||||||
// the first time the feed should not be empty
|
|
||||||
final SyndFeed firstFeed = feedFetcher.retrieveFeed(url);
|
|
||||||
final List<SyndEntry> firstEntries = firstFeed.getEntries();
|
|
||||||
assertFalse(firstEntries.isEmpty());
|
|
||||||
|
|
||||||
// fetch once again and this time the entries should be empty because nothing has changed
|
|
||||||
final SyndFeed secondFeed = feedFetcher.retrieveFeed(url);
|
|
||||||
final List<SyndEntry> secondEntries = secondFeed.getEntries();
|
|
||||||
assertTrue(secondEntries.isEmpty());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
7
rome-fetcher/.gitignore
vendored
7
rome-fetcher/.gitignore
vendored
|
@ -1,7 +0,0 @@
|
||||||
.classpath
|
|
||||||
.project
|
|
||||||
.settings
|
|
||||||
target
|
|
||||||
.idea
|
|
||||||
*.iml
|
|
||||||
atlassian-ide-plugin.xml
|
|
|
@ -1,14 +0,0 @@
|
||||||
Copyright 2004 Sun Microsystems, Inc.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
# ROME Fetcher
|
|
||||||
|
|
||||||
is a caching feed fetcher that supports retrieval of feeds via HTTP conditional GET. Supports ETags, GZip compression, and RFC3229 Delta encoding.
|
|
|
@ -1,121 +1,78 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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/maven-v4_0_0.xsd">
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
<parent>
|
||||||
<parent>
|
<groupId>com.rometools</groupId>
|
||||||
<groupId>com.rometools</groupId>
|
<artifactId>rome-parent</artifactId>
|
||||||
<artifactId>rome-parent</artifactId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</parent>
|
||||||
</parent>
|
|
||||||
|
<artifactId>rome-fetcher</artifactId>
|
||||||
<artifactId>rome-fetcher</artifactId>
|
<packaging>jar</packaging>
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
<name>rome-fetcher</name>
|
||||||
<name>rome-fetcher</name>
|
<description>A well behaved feed fetcher API for ROME</description>
|
||||||
|
|
||||||
<description>A well behaved feed fetcher API for ROME</description>
|
<build>
|
||||||
|
<plugins>
|
||||||
<url>http://rometools.github.io/rome-fetcher/</url>
|
<plugin>
|
||||||
|
<groupId>org.apache.felix</groupId>
|
||||||
<scm>
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
<connection>scm:git:ssh://github.com/rometools/rome-fetcher.git</connection>
|
<configuration>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/rometools/rome-fetcher.git</developerConnection>
|
<instructions>
|
||||||
<url>https://github.com/rometools/rome-fetcher</url>
|
<Export-Package>
|
||||||
</scm>
|
com.rometools.fetcher,
|
||||||
|
com.rometools.fetcher.impl
|
||||||
<developers>
|
</Export-Package>
|
||||||
<developer>
|
<Import-Package>
|
||||||
<name>Nick Lothian</name>
|
com.rometools.rome.feed.impl,
|
||||||
<url>http://nicklothian.com</url>
|
com.rometools.rome.feed.synd,
|
||||||
</developer>
|
com.rometools.rome.io,
|
||||||
<developer>
|
com.rometools.utils,
|
||||||
<name>Robert Cooper</name>
|
org.apache.commons.httpclient;resolution:=optional,
|
||||||
<email>kebernet@gmail.comM</email>
|
org.apache.commons.httpclient.auth;resolution:=optional,
|
||||||
</developer>
|
org.apache.commons.httpclient.methods;resolution:=optional,
|
||||||
</developers>
|
org.apache.commons.httpclient.params;resolution:=optional,
|
||||||
|
org.slf4j
|
||||||
<repositories>
|
</Import-Package>
|
||||||
<repository>
|
</instructions>
|
||||||
<id>sonatype-nexus-snapshots</id>
|
</configuration>
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
</plugin>
|
||||||
<releases>
|
</plugins>
|
||||||
<enabled>false</enabled>
|
</build>
|
||||||
</releases>
|
|
||||||
<snapshots>
|
<dependencies>
|
||||||
<enabled>true</enabled>
|
<dependency>
|
||||||
</snapshots>
|
<groupId>com.rometools</groupId>
|
||||||
</repository>
|
<artifactId>rome</artifactId>
|
||||||
</repositories>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
<build>
|
<groupId>commons-httpclient</groupId>
|
||||||
<plugins>
|
<artifactId>commons-httpclient</artifactId>
|
||||||
<plugin>
|
<optional />
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</dependency>
|
||||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
<dependency>
|
||||||
<configuration>
|
<groupId>javax.servlet</groupId>
|
||||||
<scmBranch>gh-pages</scmBranch>
|
<artifactId>servlet-api</artifactId>
|
||||||
<pubScmUrl>${project.scm.developerConnection}</pubScmUrl>
|
<scope>test</scope>
|
||||||
<content>${project.build.directory}/site</content>
|
</dependency>
|
||||||
</configuration>
|
<dependency>
|
||||||
</plugin>
|
<groupId>jetty</groupId>
|
||||||
<plugin>
|
<artifactId>jetty</artifactId>
|
||||||
<groupId>org.apache.felix</groupId>
|
<scope>test</scope>
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
</dependency>
|
||||||
<configuration>
|
<dependency>
|
||||||
<instructions>
|
<groupId>ch.qos.logback</groupId>
|
||||||
<Export-Package>
|
<artifactId>logback-classic</artifactId>
|
||||||
com.rometools.fetcher,
|
<scope>test</scope>
|
||||||
com.rometools.fetcher.impl
|
</dependency>
|
||||||
</Export-Package>
|
<dependency>
|
||||||
<Import-Package>
|
<groupId>junit</groupId>
|
||||||
com.rometools.rome.feed.impl,
|
<artifactId>junit</artifactId>
|
||||||
com.rometools.rome.feed.synd,
|
<scope>test</scope>
|
||||||
com.rometools.rome.io,
|
</dependency>
|
||||||
com.rometools.utils,
|
</dependencies>
|
||||||
org.apache.commons.httpclient;resolution:=optional,
|
|
||||||
org.apache.commons.httpclient.auth;resolution:=optional,
|
</project>
|
||||||
org.apache.commons.httpclient.methods;resolution:=optional,
|
|
||||||
org.apache.commons.httpclient.params;resolution:=optional,
|
|
||||||
org.slf4j
|
|
||||||
</Import-Package>
|
|
||||||
</instructions>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.rometools</groupId>
|
|
||||||
<artifactId>rome</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>commons-httpclient</groupId>
|
|
||||||
<artifactId>commons-httpclient</artifactId>
|
|
||||||
<optional />
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>javax.servlet</groupId>
|
|
||||||
<artifactId>servlet-api</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>jetty</groupId>
|
|
||||||
<artifactId>jetty</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ch.qos.logback</groupId>
|
|
||||||
<artifactId>logback-classic</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
|
|
@ -22,6 +22,11 @@ import java.net.URL;
|
||||||
import com.rometools.rome.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
import com.rometools.rome.io.FeedException;
|
import com.rometools.rome.io.FeedException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface FeedFetcher {
|
public interface FeedFetcher {
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -117,4 +122,15 @@ public interface FeedFetcher {
|
||||||
* corresponding wireEntry property set.
|
* corresponding wireEntry property set.
|
||||||
*/
|
*/
|
||||||
void setPreserveWireFeed(boolean preserveWireFeed);
|
void setPreserveWireFeed(boolean preserveWireFeed);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* In ROME 1.5.1 we fixed a security vulnerability by disallowing Doctype declarations by default.
|
||||||
|
* This change breaks the compatibility with at least RSS 0.91N because it requires a Doctype declaration.
|
||||||
|
* You are able to allow Doctype declarations again with this property. You should only activate it
|
||||||
|
* when the feeds that you process are absolutely trustful.
|
||||||
|
*
|
||||||
|
* @param allowDoctypes true when Doctype declarations should be allowed again, false otherwise
|
||||||
|
*/
|
||||||
|
void setAllowDoctypes(boolean allowDoctypes);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package com.rometools.fetcher;
|
package com.rometools.fetcher;
|
||||||
|
|
||||||
import java.util.EventObject;
|
import java.util.EventObject;
|
||||||
|
@ -10,7 +25,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
* fields final.
|
* fields final.
|
||||||
*
|
*
|
||||||
* @author nl
|
* @author nl
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class FetcherEvent extends EventObject {
|
public class FetcherEvent extends EventObject {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -19,7 +19,10 @@ package com.rometools.fetcher;
|
||||||
/**
|
/**
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class FetcherException extends Exception {
|
public class FetcherException extends Exception {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,27 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package com.rometools.fetcher;
|
package com.rometools.fetcher;
|
||||||
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface FetcherListener extends EventListener {
|
public interface FetcherListener extends EventListener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -34,6 +34,11 @@ import com.rometools.fetcher.FetcherException;
|
||||||
import com.rometools.fetcher.FetcherListener;
|
import com.rometools.fetcher.FetcherListener;
|
||||||
import com.rometools.rome.feed.synd.SyndFeed;
|
import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public abstract class AbstractFeedFetcher implements FeedFetcher {
|
public abstract class AbstractFeedFetcher implements FeedFetcher {
|
||||||
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AbstractFeedFetcher.class);
|
||||||
|
@ -42,6 +47,7 @@ public abstract class AbstractFeedFetcher implements FeedFetcher {
|
||||||
private String userAgent;
|
private String userAgent;
|
||||||
private boolean usingDeltaEncoding;
|
private boolean usingDeltaEncoding;
|
||||||
private boolean preserveWireFeed;
|
private boolean preserveWireFeed;
|
||||||
|
private boolean allowDoctypes = false;
|
||||||
|
|
||||||
public AbstractFeedFetcher() {
|
public AbstractFeedFetcher() {
|
||||||
|
|
||||||
|
@ -222,4 +228,13 @@ public abstract class AbstractFeedFetcher implements FeedFetcher {
|
||||||
this.preserveWireFeed = preserveWireFeed;
|
this.preserveWireFeed = preserveWireFeed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isAllowDoctypes() {
|
||||||
|
return allowDoctypes;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setAllowDoctypes(boolean allowDoctypes) {
|
||||||
|
this.allowDoctypes = allowDoctypes;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package com.rometools.fetcher.impl;
|
package com.rometools.fetcher.impl;
|
||||||
|
|
||||||
import java.beans.EventSetDescriptor;
|
import java.beans.EventSetDescriptor;
|
||||||
|
@ -7,6 +22,11 @@ import java.lang.reflect.Method;
|
||||||
import com.rometools.fetcher.FetcherEvent;
|
import com.rometools.fetcher.FetcherEvent;
|
||||||
import com.rometools.fetcher.FetcherListener;
|
import com.rometools.fetcher.FetcherListener;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {
|
public class AbstractFeedFetcherBeanInfo extends SimpleBeanInfo {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -28,7 +28,11 @@ import com.rometools.utils.IO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disk based feed cache.
|
* Disk based feed cache.
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class DiskFeedInfoCache implements FeedFetcherCache {
|
public class DiskFeedInfoCache implements FeedFetcherCache {
|
||||||
|
|
||||||
protected String cachePath = null;
|
protected String cachePath = null;
|
||||||
|
|
|
@ -25,8 +25,11 @@ import java.net.URL;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public interface FeedFetcherCache {
|
public interface FeedFetcherCache {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -35,8 +35,11 @@ import java.util.Map;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable {
|
public class HashMapFeedInfoCache implements FeedFetcherCache, Serializable {
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
|
@ -46,7 +46,11 @@ import com.rometools.utils.IO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
|
*
|
||||||
|
* @deprecated HttpClient v3 is known to have some security vulnerabilities! In addition ROME Fetcher will be dropped in the next major version of ROME (version 2).
|
||||||
|
* For more information and some migration hints, please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HttpClientFeedFetcher extends AbstractFeedFetcher {
|
public class HttpClientFeedFetcher extends AbstractFeedFetcher {
|
||||||
|
|
||||||
private CredentialSupplier credentialSupplier;
|
private CredentialSupplier credentialSupplier;
|
||||||
|
@ -275,6 +279,7 @@ public class HttpClientFeedFetcher extends AbstractFeedFetcher {
|
||||||
|
|
||||||
final SyndFeedInput syndFeedInput = new SyndFeedInput();
|
final SyndFeedInput syndFeedInput = new SyndFeedInput();
|
||||||
syndFeedInput.setPreserveWireFeed(isPreserveWireFeed());
|
syndFeedInput.setPreserveWireFeed(isPreserveWireFeed());
|
||||||
|
syndFeedInput.setAllowDoctypes(isAllowDoctypes());
|
||||||
|
|
||||||
return syndFeedInput.build(reader);
|
return syndFeedInput.build(reader);
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,11 @@ import com.rometools.utils.IO;
|
||||||
* @see <a
|
* @see <a
|
||||||
* href="http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html">http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html</a>
|
* href="http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html">http://bobwyman.pubsub.com/main/2004/09/using_rfc3229_w.html</a>
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class HttpURLFeedFetcher extends AbstractFeedFetcher {
|
public class HttpURLFeedFetcher extends AbstractFeedFetcher {
|
||||||
|
|
||||||
private volatile int connectTimeout = -1;
|
private volatile int connectTimeout = -1;
|
||||||
|
@ -280,11 +284,6 @@ public class HttpURLFeedFetcher extends AbstractFeedFetcher {
|
||||||
is = new BufferedInputStream(inputStream);
|
is = new BufferedInputStream(inputStream);
|
||||||
}
|
}
|
||||||
|
|
||||||
// InputStreamReader reader = new InputStreamReader(is,
|
|
||||||
// ResponseHandler.getCharacterEncoding(connection));
|
|
||||||
|
|
||||||
// SyndFeedInput input = new SyndFeedInput();
|
|
||||||
|
|
||||||
final XmlReader reader;
|
final XmlReader reader;
|
||||||
if (connection.getHeaderField("Content-Type") != null) {
|
if (connection.getHeaderField("Content-Type") != null) {
|
||||||
reader = new XmlReader(is, connection.getHeaderField("Content-Type"), true);
|
reader = new XmlReader(is, connection.getHeaderField("Content-Type"), true);
|
||||||
|
@ -294,6 +293,7 @@ public class HttpURLFeedFetcher extends AbstractFeedFetcher {
|
||||||
|
|
||||||
final SyndFeedInput syndFeedInput = new SyndFeedInput();
|
final SyndFeedInput syndFeedInput = new SyndFeedInput();
|
||||||
syndFeedInput.setPreserveWireFeed(isPreserveWireFeed());
|
syndFeedInput.setPreserveWireFeed(isPreserveWireFeed());
|
||||||
|
syndFeedInput.setAllowDoctypes(isAllowDoctypes());
|
||||||
|
|
||||||
return syndFeedInput.build(reader);
|
return syndFeedInput.build(reader);
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package com.rometools.fetcher.impl;
|
package com.rometools.fetcher.impl;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -16,7 +31,10 @@ import java.util.Map;
|
||||||
* @author Javier Kohen
|
* @author Javier Kohen
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
*
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {
|
public class LinkedHashMapFeedInfoCache extends HashMapFeedInfoCache {
|
||||||
|
|
||||||
private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {
|
private final class CacheImpl extends LinkedHashMap<String, SyndFeedInfo> {
|
||||||
|
|
|
@ -22,13 +22,19 @@ import java.util.regex.Pattern;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class to help deal with HTTP responses
|
* Utility class to help deal with HTTP responses
|
||||||
*
|
* *
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class ResponseHandler {
|
public class ResponseHandler {
|
||||||
public static final String defaultCharacterEncoding = "ISO-8859-1";
|
public static final String defaultCharacterEncoding = "ISO-8859-1";
|
||||||
|
|
||||||
private final static Pattern characterEncodingPattern = Pattern.compile("charset=([.[^; ]]*)");
|
private final static Pattern characterEncodingPattern = Pattern.compile("charset=([.[^; ]]*)");
|
||||||
|
|
||||||
|
private ResponseHandler() {
|
||||||
|
}
|
||||||
|
|
||||||
public static String getCharacterEncoding(final URLConnection connection) {
|
public static String getCharacterEncoding(final URLConnection connection) {
|
||||||
return getCharacterEncoding(connection.getContentType());
|
return getCharacterEncoding(connection.getContentType());
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,11 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Nick Lothian
|
* @author Nick Lothian
|
||||||
|
*
|
||||||
|
* @deprecated ROME Fetcher will be dropped in the next major version of ROME (version 2). For more information and some migration hints,
|
||||||
|
* please have a look at our <a href="https://github.com/rometools/rome/issues/276">detailed explanation</a>.
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class SyndFeedInfo implements Cloneable, Serializable {
|
public class SyndFeedInfo implements Cloneable, Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
h1 {
|
|
||||||
padding: 4px 4px 4px 6px;
|
|
||||||
border: 1px solid #999;
|
|
||||||
color: #900;
|
|
||||||
background-color: #ddd;
|
|
||||||
font-weight:900;
|
|
||||||
font-size: x-large;
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
|
@ -1,41 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/DECORATION/1.3.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd"
|
|
||||||
name="ROME fetcher">
|
|
||||||
|
|
||||||
<skin>
|
|
||||||
<groupId>org.apache.maven.skins</groupId>
|
|
||||||
<artifactId>maven-fluido-skin</artifactId>
|
|
||||||
<version>1.3.0</version>
|
|
||||||
</skin>
|
|
||||||
|
|
||||||
<bannerLeft>
|
|
||||||
<name>ROME fetcher</name>
|
|
||||||
<src>images/romelogo.png</src>
|
|
||||||
<href>http://github.com/rometools/</href>
|
|
||||||
</bannerLeft>
|
|
||||||
|
|
||||||
<publishDate position="right" />
|
|
||||||
|
|
||||||
<version position="right" />
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<menu name="ROME Fetcher">
|
|
||||||
<item name="Overview" href="index.html" />
|
|
||||||
<item name="Dependencies" href="Dependencies/index.html" />
|
|
||||||
</menu>
|
|
||||||
<menu name="Releases">
|
|
||||||
<item name="1.0" href="Releases/ROMEFetcher1.0.html" />
|
|
||||||
<item name="1.0RC2" href="Releases/ROMEFetcher1.0RC2.html" />
|
|
||||||
<item name="0.9" href="Releases/ROMEFetcher0.9.html" />
|
|
||||||
<item name="0.7" href="Releases/ROMEFetcher0.7.html" />
|
|
||||||
<item name="0.6" href="Releases/ROMEFetcher0.6.html" />
|
|
||||||
<item name="0.5" href="Releases/RomeFetcher0.5.html" />
|
|
||||||
<item name="0.4" href="Releases/RomeFetcher0.4.html" />
|
|
||||||
<item name="0.3" href="Releases/RomeFetcher0.3.html" />
|
|
||||||
</menu>
|
|
||||||
<menu ref="reports" />
|
|
||||||
</body>
|
|
||||||
|
|
||||||
</project>
|
|
|
@ -175,29 +175,29 @@ public abstract class AbstractJettyTest extends TestCase {
|
||||||
try {
|
try {
|
||||||
setupServer();
|
setupServer();
|
||||||
|
|
||||||
|
|
||||||
|
final URL url = this.getClass().getClassLoader().getResource("testuser.properties");
|
||||||
|
final UserRealm userRealm = new HashUserRealm("test", url.toString());
|
||||||
|
|
||||||
|
final BasicAuthenticator basicauthenticator = new BasicAuthenticator();
|
||||||
|
|
||||||
|
final SecurityHandler securityHandler = new SecurityHandler();
|
||||||
|
|
||||||
|
final SecurityConstraint securityConstraint = new SecurityConstraint();
|
||||||
|
securityConstraint.setName("test");
|
||||||
|
securityConstraint.addRole("*");
|
||||||
|
securityConstraint.setAuthenticate(true);
|
||||||
|
|
||||||
|
final ServletHandler servletHandler = createServletHandler();
|
||||||
|
|
||||||
final HttpContext context = createContext();
|
final HttpContext context = createContext();
|
||||||
|
context.setRealm(userRealm);
|
||||||
final URL url = this.getClass().getResource("/testuser.properties");
|
context.setAuthenticator(basicauthenticator);
|
||||||
final UserRealm ur = new HashUserRealm("test", url.getFile());
|
context.addHandler(securityHandler);
|
||||||
context.setRealm(ur);
|
context.addSecurityConstraint("/", securityConstraint);
|
||||||
|
context.addHandler(servletHandler);
|
||||||
final BasicAuthenticator ba = new BasicAuthenticator();
|
|
||||||
context.setAuthenticator(ba);
|
|
||||||
|
|
||||||
final SecurityHandler sh = new SecurityHandler();
|
|
||||||
context.addHandler(sh);
|
|
||||||
|
|
||||||
final SecurityConstraint sc = new SecurityConstraint();
|
|
||||||
sc.setName("test");
|
|
||||||
sc.addRole("*");
|
|
||||||
sc.setAuthenticate(true);
|
|
||||||
context.addSecurityConstraint("/", sc);
|
|
||||||
|
|
||||||
final ServletHandler servlets = createServletHandler();
|
|
||||||
context.addHandler(servlets);
|
|
||||||
|
|
||||||
server.addContext(context);
|
server.addContext(context);
|
||||||
|
|
||||||
server.start();
|
server.start();
|
||||||
|
|
||||||
final FeedFetcher feedFetcher = getAuthenticatedFeedFetcher();
|
final FeedFetcher feedFetcher = getAuthenticatedFeedFetcher();
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package com.rometools.fetcher.impl;
|
package com.rometools.fetcher.impl;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
|
@ -1,3 +1,18 @@
|
||||||
|
/*
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
*/
|
||||||
package com.rometools.fetcher.impl;
|
package com.rometools.fetcher.impl;
|
||||||
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
|
@ -46,6 +46,9 @@ import com.rometools.rome.io.SyndFeedOutput;
|
||||||
*/
|
*/
|
||||||
public class FeedAggregator {
|
public class FeedAggregator {
|
||||||
|
|
||||||
|
private FeedAggregator() {
|
||||||
|
}
|
||||||
|
|
||||||
public static void main(final String[] args) {
|
public static void main(final String[] args) {
|
||||||
|
|
||||||
boolean ok = false;
|
boolean ok = false;
|
||||||
|
|
|
@ -37,6 +37,9 @@ import com.rometools.rome.feed.synd.SyndFeed;
|
||||||
*/
|
*/
|
||||||
public class FeedReader {
|
public class FeedReader {
|
||||||
|
|
||||||
|
private FeedReader() {
|
||||||
|
}
|
||||||
|
|
||||||
public static void main(final String[] args) {
|
public static void main(final String[] args) {
|
||||||
|
|
||||||
boolean ok = false;
|
boolean ok = false;
|
||||||
|
|
5
rome-modules/.gitignore
vendored
5
rome-modules/.gitignore
vendored
|
@ -1,5 +0,0 @@
|
||||||
/.classpath
|
|
||||||
/.project
|
|
||||||
/.settings
|
|
||||||
/target
|
|
||||||
/.checkstyle
|
|
|
@ -1,202 +0,0 @@
|
||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
|
@ -1,3 +0,0 @@
|
||||||
# ROME Modules
|
|
||||||
|
|
||||||
This module contains extensions that enable ROME to handle several feed extensions like MediaRSS, GeoRSS and others
|
|
|
@ -1,117 +1,78 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
||||||
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>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
<parent>
|
||||||
<parent>
|
<groupId>com.rometools</groupId>
|
||||||
<groupId>com.rometools</groupId>
|
<artifactId>rome-parent</artifactId>
|
||||||
<artifactId>rome-parent</artifactId>
|
<version>1.7.2-SNAPSHOT</version>
|
||||||
<version>1.6.0-SNAPSHOT</version>
|
</parent>
|
||||||
</parent>
|
|
||||||
|
<artifactId>rome-modules</artifactId>
|
||||||
<artifactId>rome-modules</artifactId>
|
<packaging>jar</packaging>
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
<name>rome-modules</name>
|
||||||
<name>rome-modules</name>
|
|
||||||
|
<description>Plugin collection for the ROME RSS and Atom Utilities</description>
|
||||||
<description>Plugin collection for the ROME RSS and Atom Utilities</description>
|
|
||||||
|
<build>
|
||||||
<url>http://rometools.github.io/rome-modules/</url>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
<scm>
|
<groupId>org.apache.felix</groupId>
|
||||||
<connection>scm:git:ssh://github.com/rometools/rome-modules.git</connection>
|
<artifactId>maven-bundle-plugin</artifactId>
|
||||||
<developerConnection>scm:git:ssh://git@github.com/rometools/rome-modules.git</developerConnection>
|
<configuration>
|
||||||
<url>https://github.com/rometools/rome-modules</url>
|
<instructions>
|
||||||
</scm>
|
<Export-Package>
|
||||||
|
!com.rometools.modules.*.io,
|
||||||
<developers>
|
com.rometools.modules.*,
|
||||||
<developer>
|
</Export-Package>
|
||||||
<id>kebernet</id>
|
<Import-Package>
|
||||||
<email>kebernet@gmail.com</email>
|
org.jdom2,
|
||||||
<name>Robert Cooper</name>
|
org.jdom2.filter,
|
||||||
</developer>
|
org.jdom2.input,
|
||||||
</developers>
|
org.jdom2.input.sax,
|
||||||
|
org.jdom2.output,
|
||||||
<repositories>
|
org.slf4j,
|
||||||
<repository>
|
org.w3c.dom,
|
||||||
<id>sonatype-nexus-snapshots</id>
|
org.xml.sax
|
||||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
</Import-Package>
|
||||||
<releases>
|
<_exportcontents>
|
||||||
<enabled>false</enabled>
|
com.rometools.rome.feed,
|
||||||
</releases>
|
com.rometools.rome.feed.atom,
|
||||||
<snapshots>
|
com.rometools.rome.feed.module,
|
||||||
<enabled>true</enabled>
|
com.rometools.rome.feed.rss,
|
||||||
</snapshots>
|
com.rometools.rome.feed.synd,
|
||||||
</repository>
|
com.rometools.rome.io,
|
||||||
</repositories>
|
com.rometools.utils
|
||||||
|
</_exportcontents>
|
||||||
<build>
|
<Embed-Dependency>*;artifactId=rome|rome-utils</Embed-Dependency>
|
||||||
<plugins>
|
<Embed-Transitive>true</Embed-Transitive>
|
||||||
<plugin>
|
</instructions>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
</configuration>
|
||||||
<artifactId>maven-scm-publish-plugin</artifactId>
|
</plugin>
|
||||||
<configuration>
|
</plugins>
|
||||||
<scmBranch>gh-pages</scmBranch>
|
</build>
|
||||||
<pubScmUrl>${project.scm.developerConnection}</pubScmUrl>
|
|
||||||
<content>${project.build.directory}/site</content>
|
<dependencies>
|
||||||
</configuration>
|
<dependency>
|
||||||
</plugin>
|
<groupId>com.rometools</groupId>
|
||||||
<plugin>
|
<artifactId>rome</artifactId>
|
||||||
<groupId>org.apache.felix</groupId>
|
</dependency>
|
||||||
<artifactId>maven-bundle-plugin</artifactId>
|
<dependency>
|
||||||
<configuration>
|
<groupId>ch.qos.logback</groupId>
|
||||||
<instructions>
|
<artifactId>logback-classic</artifactId>
|
||||||
<Export-Package>
|
<scope>test</scope>
|
||||||
!com.rometools.modules.*.io,
|
</dependency>
|
||||||
com.rometools.modules.*,
|
<dependency>
|
||||||
</Export-Package>
|
<groupId>junit</groupId>
|
||||||
<Import-Package>
|
<artifactId>junit</artifactId>
|
||||||
org.jdom2,
|
<scope>test</scope>
|
||||||
org.jdom2.filter,
|
</dependency>
|
||||||
org.jdom2.input,
|
<dependency>
|
||||||
org.jdom2.input.sax,
|
<groupId>org.hamcrest</groupId>
|
||||||
org.jdom2.output,
|
<artifactId>hamcrest-library</artifactId>
|
||||||
org.slf4j,
|
<scope>test</scope>
|
||||||
org.w3c.dom,
|
</dependency>
|
||||||
org.xml.sax
|
</dependencies>
|
||||||
</Import-Package>
|
|
||||||
<_exportcontents>
|
</project>
|
||||||
com.rometools.rome.feed,
|
|
||||||
com.rometools.rome.feed.atom,
|
|
||||||
com.rometools.rome.feed.module,
|
|
||||||
com.rometools.rome.feed.rss,
|
|
||||||
com.rometools.rome.feed.synd,
|
|
||||||
com.rometools.rome.io,
|
|
||||||
com.rometools.utils
|
|
||||||
</_exportcontents>
|
|
||||||
<Embed-Dependency>*;artifactId=rome|rome-utils</Embed-Dependency>
|
|
||||||
<Embed-Transitive>true</Embed-Transitive>
|
|
||||||
</instructions>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.rometools</groupId>
|
|
||||||
<artifactId>rome</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ch.qos.logback</groupId>
|
|
||||||
<artifactId>logback-classic</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>junit</groupId>
|
|
||||||
<artifactId>junit</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.hamcrest</groupId>
|
|
||||||
<artifactId>hamcrest-library</artifactId>
|
|
||||||
<scope>test</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (C) The ROME Team ${year}
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*
|
|
||||||
*/
|
|
|
@ -21,10 +21,6 @@ import com.rometools.modules.activitystreams.types.ActivityObject;
|
||||||
import com.rometools.modules.activitystreams.types.Mood;
|
import com.rometools.modules.activitystreams.types.Mood;
|
||||||
import com.rometools.modules.activitystreams.types.Verb;
|
import com.rometools.modules.activitystreams.types.Verb;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
|
||||||
public interface ActivityStreamModule {
|
public interface ActivityStreamModule {
|
||||||
|
|
||||||
public Verb getVerb();
|
public Verb getVerb();
|
||||||
|
|
|
@ -20,10 +20,6 @@ import com.rometools.modules.activitystreams.types.ActivityObject;
|
||||||
import com.rometools.modules.activitystreams.types.Mood;
|
import com.rometools.modules.activitystreams.types.Mood;
|
||||||
import com.rometools.modules.activitystreams.types.Verb;
|
import com.rometools.modules.activitystreams.types.Verb;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
|
||||||
public class ActivityStreamModuleImpl implements ActivityStreamModule {
|
public class ActivityStreamModuleImpl implements ActivityStreamModule {
|
||||||
private ActivityObject object;
|
private ActivityObject object;
|
||||||
private Verb verb;
|
private Verb verb;
|
||||||
|
|
|
@ -21,15 +21,8 @@ import com.rometools.modules.georss.GeoRSSModule;
|
||||||
import com.rometools.modules.portablecontacts.ContactModule;
|
import com.rometools.modules.portablecontacts.ContactModule;
|
||||||
import com.rometools.rome.feed.atom.Entry;
|
import com.rometools.rome.feed.atom.Entry;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
|
||||||
public abstract class ActivityObject extends Entry implements HasLocation {
|
public abstract class ActivityObject extends Entry implements HasLocation {
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public abstract String getTypeIRI();
|
public abstract String getTypeIRI();
|
||||||
|
|
|
@ -44,13 +44,8 @@ package com.rometools.modules.activitystreams.types;
|
||||||
* content.</dd>
|
* content.</dd>
|
||||||
* </dl>
|
* </dl>
|
||||||
* </blockquote>
|
* </blockquote>
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
*/
|
||||||
public class Article extends ActivityObject {
|
public class Article extends ActivityObject {
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -40,13 +40,9 @@ package com.rometools.modules.activitystreams.types;
|
||||||
* for the audio stream. Represented in JSON as a property called <tt>embedCode</tt> whose value is
|
* for the audio stream. Represented in JSON as a property called <tt>embedCode</tt> whose value is
|
||||||
* a JSON string containing the fragment of HTML.</dd>
|
* a JSON string containing the fragment of HTML.</dd>
|
||||||
* </dl>
|
* </dl>
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
*/
|
||||||
public class Audio extends ActivityObject {
|
public class Audio extends ActivityObject {
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
private String embedCode;
|
private String embedCode;
|
||||||
private String streamLink;
|
private String streamLink;
|
||||||
|
|
|
@ -70,14 +70,9 @@ import com.rometools.rome.feed.atom.Link;
|
||||||
* inappropriate size for their user interface.</dd>
|
* inappropriate size for their user interface.</dd>
|
||||||
* </dl>
|
* </dl>
|
||||||
* </blockquote>
|
* </blockquote>
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
*/
|
||||||
public class Bookmark extends ActivityObject {
|
public class Bookmark extends ActivityObject {
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -49,14 +49,9 @@ package com.rometools.modules.activitystreams.types;
|
||||||
* all HTML markup and consider the comment to be plain text.</dd>
|
* all HTML markup and consider the comment to be plain text.</dd>
|
||||||
* </dl>
|
* </dl>
|
||||||
* </blockquote>
|
* </blockquote>
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
*/
|
||||||
public class Comment extends ActivityObject {
|
public class Comment extends ActivityObject {
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -43,14 +43,9 @@ package com.rometools.modules.activitystreams.types;
|
||||||
* W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]</dd>
|
* W3CDTF spec.] [TODO: Include prose describing how to represent just a date vs. a date and time.]</dd>
|
||||||
* </dl>
|
* </dl>
|
||||||
* </blockquote>
|
* </blockquote>
|
||||||
*
|
|
||||||
* @author robert.cooper
|
|
||||||
*/
|
*/
|
||||||
public class Event extends ActivityObject {
|
public class Event extends ActivityObject {
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue