I'm trying to use download-maven-plugin in a specific maven lifecycle phase "generate-resources" but I'm keeping geeting this error message:
Plugin execution not covered by lifecycle configuration: com.googlecode.maven-download-plugin:download-maven-plugin:1.2.1:wget (execution: atualiza-
<build>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<outputFileName>AgrupaConteudo</outputFileName>
<overwrite>true</overwrite>
<retries>3</retries>
<outputDirectory>${basedir}/src/main/resources/conteudo</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>0.4.7</version>
<configuration>
<sourceType>json</sourceType>
<useLongIntegers>true</useLongIntegers>
<!-- <annotationStyle>jackson2</annotationStyle> -->
<annotationStyle>gson</annotationStyle>
<sourceDirectory>${basedir}/src/main/resources</sourceDirectory>
<targetPackage>br.infoglobo.json</targetPackage>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>