Use HTTPS instead of HTTP to resolve dependencies

This fixes a security vulnerability in this project where the `pom.xml`
files were configuring Maven to resolve dependencies over HTTP instead of
HTTPS.

Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>
1 file changed
tree: 618825bf32795971d7708ad0eb2432e2d3dabb21
  1. src/
  2. .gitignore
  3. context.xml
  4. CONTRIBUTING.md
  5. Dockerfile
  6. LICENSE.md
  7. NOTICE.txt
  8. pom.xml
  9. README.md
  10. RELEASE-NOTES.txt
  11. tomcat-users.xml
README.md

Any23 Web Server

This is the root dir of the Any23 Web-Server module.

Apache Any23 provides a Web-Service that can be used to extract RDF from Web documents.

Generate Web-Server Packaging

Execute ‘mvn package’ from this directory.

$ mvn package

From this directory it generates roughly the following...

.
├── pom.xml
├── README.txt
├── src
│   ├── main
│   │   ├── assembly
│   │   ├── bin
│   │   ├── java
│   │   ├── resources
│   │   └── webapp
│   └── test
│       ├── java
│       └── resources
└── target
    ├── any23-service-${version}.war
    ├── any23-service-${version}-without-deps.war
    ├── apache-any23-service-${version}-bin-server-embedded.tar.gz <<<
    ├── apache-any23-service-${version}-bin-server-embedded.zip <<<
    ├── apache-any23-service-${version}-bin.tar.gz <<<
    ├── apache-any23-service-${version}-bin-without-deps.tar.gz <<<
    ├── apache-any23-service-${version}-bin-without-deps.zip <<<
    ├── apache-any23-service-${version}-bin.zip <<<
    ├── archive-tmp
    ├── classes
    ├── generated-sources
    ├── maven-archiver
    ├── maven-shared-archive-resources
    ├── surefire
    ├── surefire-reports
    └── test-classes

Specific README's for each of the artifacts can be found in either ./target/.tar.gz || ./target/.zip (annotated above with ‘<<<’), where much more detailed information sources can be located.

Docker

It may be more convenient if you use Docker for packaging and running the Any23 server.

Build the image

$ docker build -t tomcat .

Run the image

$ docker run -d -p 8080:8080 --name tomcat tomcat

Hot deploy Any23 webapp (war)

$ docker cp target/apache-any23-service-2.4-SNAPSHOT.war tomcat:/usr/local/tomcat/webapps/apache-any23-service-2.4-SNAPSHOT.war