| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.eclipse.papyrus</groupId> |
| <artifactId>papyrus-enforcer-rules-test</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| </parent> |
| <artifactId>checkmanifestparameter.failing</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| <packaging>eclipse-plugin</packaging> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>${enforcer.api.version}</version> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.papyrus</groupId> |
| <artifactId>papyrus-enforcer-rules</artifactId> |
| <version>0.0.1-SNAPSHOT</version> |
| </dependency> |
| </dependencies> |
| <executions> |
| <execution> |
| <id>papyrus-enforce</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <myCustomRule |
| implementation="org.eclipse.papyrus.tycho.enforcer.rules.CheckManifestParameter"> |
| <field>Bundle-Name</field> |
| <value>NotExample</value> |
| </myCustomRule> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |