commit | ca4beaf8426edec95435b85832e142b786f047b3 | [log] [tgz] |
---|---|---|
author | Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> | Mon Feb 10 19:05:32 2020 -0500 |
committer | Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com> | Mon Feb 10 19:05:32 2020 -0500 |
tree | 618825bf32795971d7708ad0eb2432e2d3dabb21 | |
parent | abb51db3a31adacf2ddf58bae7bd50090f563c86 [diff] |
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>
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.
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.
It may be more convenient if you use Docker for packaging and running the Any23 server.
$ docker build -t tomcat .
$ docker run -d -p 8080:8080 --name tomcat tomcat
$ docker cp target/apache-any23-service-2.4-SNAPSHOT.war tomcat:/usr/local/tomcat/webapps/apache-any23-service-2.4-SNAPSHOT.war