maven antlib

Hi IntelliJ do not accept a tag '<antlib:org.jacoco.ant:report>...</antlib:org.jacoco.ant:report>' in my pom.xml
With this tag IntelliJ can not interpret the hole pom.xml and so it will not solve the dependencies.
The ispector says Namespacy  'antlib' is not bound. But maven has no problem with this code.




<plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
                        <version>${antrun.version}</version>
                        <executions>
                            <execution>
                                <id>generate-jacoco-report</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>run</goal>
                                </goals>
                                <configuration>
                                    <tasks>
                                        <antlib:org.jacoco.ant:report>
                                            <executiondata>
                                                <file file="${jacoco.file.path}"/>
                                            </executiondata>
                                            <structure name="Zalando Reboot CCT">
                                                <classfiles>
                                                    <fileset dir="target/classes"/>
                                                </classfiles>
                                                <sourcefiles encoding="UTF-8">
                                                    <fileset dir="src/main/java"/>
                                                </sourcefiles>
                                            </structure>
                                            <html destdir="target/site/jacoco-report"/>
                                        </antlib:org.jacoco.ant:report>
                                    </tasks>
                                </configuration>
                            </execution>
                        </executions>
                        <dependencies>
                            <dependency>
                                <groupId>org.jacoco</groupId>
                                <artifactId>jacocoant</artifactId>
                                <version>0.5.1.20110327142208</version>
                            </dependency>
                        </dependencies>
</plugin>




Please sign in to leave a comment.