Skip to content

Commit

Permalink
WINDUPRULE-601 Handle camel-core-starter
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpoth committed Jun 11, 2020
1 parent 1d7a434 commit fd8322a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core-starter</artifactId>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@
<fail message="[xml-removed-components] 'camel-twitter-streaming' dependency removed hint was not found!" />
</perform>
</rule>
<rule id="xml-removed-components-00009-test">
<when>
<not>
<iterable-filter size="1">
<hint-exists message="`org.apache.camel:camel-core-starter` artifact has been removed*"/>
</iterable-filter>
</not>
</when>
<perform>
<fail message="[xml-removed-components] 'camel-core-starter' dependency removed hint was not found!" />
</perform>
</rule>
<rule id="xml-removed-components-groovy-00000-test">
<when>
<not>
Expand Down
13 changes: 13 additions & 0 deletions rules-reviewed/camel3/camel2/xml-removed-components.windup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,19 @@
</hint>
</perform>
</rule>
<rule id="xml-removed-components-00007">
<when>
<project>
<artifact groupId="org.apache.camel" artifactId="camel-core-starter" />
</project>
</when>
<perform>
<hint title="`org.apache.camel:camel-core-starter` artifact has been removed" effort="7" category-id="mandatory" >
<message>`org.apache.camel:camel-core-starter` artifact has been removed and split into several modules. Please add the relevant starter artifacts to your pom.xml file.</message>
<link href="https://camel.apache.org/manual/latest/camel-3-migration-guide.html#_modularization_of_camel_core" title="Camel 3 - Migration Guide: Camel Core" />
</hint>
</perform>
</rule>
</rules>
</ruleset>

0 comments on commit fd8322a

Please sign in to comment.