проблемы с miredot-плагином

#java #documentation #maven-plugin #dropwizard

#java #Документация #maven-плагин #dropwizard

Вопрос:

Я пытаюсь запустить mvn clean install проект dropwizard и привязать документацию miredot к жизненному циклу maven. У него есть несколько конечных точек REST, где я пытаюсь сгенерировать некоторую документацию REST с использованием miredot-plugin [https://mvnrepository.com/artifact/com.qmino/miredot-plugin ]. the 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, но безрезультатно. Я также попытался отключить все брандмауэры на своем компьютере, подозревая, что он не может подключиться ни к каким внешним ссылкам, но все равно никакой помощи. Есть какие-нибудь указания?