Как остановить вывод maven «Параметр конфигурации [WARNING] 'appendAssemblyId' имеет значение false.»? - PullRequest
0 голосов
/ 08 февраля 2019

У меня есть проект maven, генерирующий jar и не добавляющий maven-assembly-plugin's appendAssemblyId.

Как мне заставить maven перестать выдавать предупреждение: «Для параметра конфигурации 'appendAssemblyId' установлено значение false».?

РЕДАКТИРОВАТЬ: Меня попросили включить файл pom, что мне не разрешено делать.Я включил блок maven-assembly-plugin, который вызывает ошибку.

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
    <archive>
      <manifest>
        <mainClass>some.company.hello</mainClass>
      </manifest>
    </archive>
    <descriptorRefs>
      <descriptorRef>jar-with-dependencies</descriptorRef>
    </descriptorRefs>
    <!-- prevent appending <descriptorRef> "jar-with-dependencies" to final jar name -->
    <appendAssemblyId>false</appendAssemblyId>
  </configuration>
  <executions>
    <execution>
      <!-- For inheritance merges -->
      <id>make-assembly</id>
      <!-- bind to the packaging phase -->
      <phase>package</phase> 
      <goals>
        <goal>single</goal>
      </goals>
    </execution>
  </executions>
</plugin>    
...