Я пытаюсь запустить mvn clean install
в проекте dropwizard и связать документацию miredot в жизненном цикле maven.У него есть некоторые конечные точки REST, где я пытаюсь сгенерировать некоторую документацию REST с помощью miredot-plugin [https://mvnrepository.com/artifact/com.qmino/miredot-plugin].соответствующий раздел файла pom.xml выглядит следующим образом:
<plugin>
<groupId>com.qmino</groupId>
<artifactId>miredot-plugin</artifactId>
<version>2.0-RC1</version>
<executions>
<execution>
<goals>
<goal>restdoc</goal>
</goals>
</execution>
</executions>
<configuration>
<organizationId>1234567890</organizationId>
<restModel>
<restFramework>
<name>jax-rs</name>
</restFramework>
</restModel>
<output>
<html></html>
</output>
<!-- insert other configuration here (optional) -->
</configuration>
</plugin>
, и вот как выглядят журналы при запуске mvn clean install
.Я только публикую соответствующий и последний раздел журнала ниже:
[?[1;34mINFO?[m] ?[1m--- ?[0;32mmiredot-plugin:2.0-RC1:restdoc?[m ?[1m(default)?[m @ ?[36mmulti-family-service?[0;1m ---?[m
[?[1;33mWARNING?[m] Miredot is unable to document the status codes of rest interfaces, unless a statusCodes-block is specified in pom.xml
[?[1;34mINFO?[m] Building reflective model of API and reading annotations...
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=false, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=false, maxAge=60, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1
, mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=false, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=false, maxAge=60, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1
, mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=false, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
[?[1;34mINFO?[m] Unknown annotation on service method: skipped @io.dropwizard.jersey.caching.CacheControl(immutable=false, noCache=true, maxAge=-1, noTransform=true, proxyRevalidate=false, isPrivate=false, sharedMaxAge=-1,
mustRevalidate=false, sharedMaxAgeUnit=SECONDS, noStore=true, maxAgeUnit=SECONDS)
в последней строке журнала, он висит бесконечно и умирает.Я попытался обновить плагин Miredot, но безрезультатно.Я также попытался отключить все брандмауэры на моей машине, подозревая, что он не может общаться с внешними ссылками, но все равно не помогает.Есть указатели?