Repository: flex-utilities Updated Branches: refs/heads/develop c69b8a609 -> ac6873440
Prevented the Mavenizer from kicking in for flexjs and falcon artifacts. Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/ac687344 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/ac687344 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/ac687344 Branch: refs/heads/develop Commit: ac6873440e6d896c68adb52a8bc6400f40e0d9af Parents: c69b8a6 Author: Christofer Dutz <[email protected]> Authored: Wed Sep 23 12:18:43 2015 +0200 Committer: Christofer Dutz <[email protected]> Committed: Wed Sep 23 12:18:43 2015 +0200 ---------------------------------------------------------------------- .../converter/mavenextension/FlexEventSpy.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/ac687344/flex-maven-tools/flex-sdk-converter/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java ---------------------------------------------------------------------- diff --git a/flex-maven-tools/flex-sdk-converter/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java b/flex-maven-tools/flex-sdk-converter/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java index dee94a0..cda8011 100644 --- a/flex-maven-tools/flex-sdk-converter/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java +++ b/flex-maven-tools/flex-sdk-converter/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java @@ -73,12 +73,23 @@ public class FlexEventSpy extends AbstractEventSpy { if (artifact.getGroupId().startsWith("org.apache.flex") && !"rb.swc".equals(artifact.getExtension())) { - // Output a cool spash-screen ... sorry for that ... couldn't resist :-) + // Output a cool splash-screen ... sorry for that ... couldn't resist :-) if(!flexSplashScreenShown) { showFlexSplashScreen(); } - if(!canResolve(artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), + if("org.apache.flex.compiler".equals(artifact.getGroupId()) && + artifact.getArtifactId().startsWith("falcon-")) { + logger.info("Falcon artifacts are publicly available as Maven artifacts. " + + "Please setup your Maven configuration.\nFor more information please visit: " + + "https://cwiki.apache.org/confluence/display/FLEX/Building+Flex+applications+with+Maven"); + } + else if("org.apache.flex.flexjs.framework".equals(artifact.getGroupId())) { + logger.info("FlexJS artifacts are publicly available as Maven artifacts. " + + "Please setup your Maven configuration.\nFor more information please visit: " + + "https://cwiki.apache.org/confluence/display/FLEX/Building+Flex+applications+with+Maven"); + } + else if(!canResolve(artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), artifact.getExtension(), artifact.getClassifier())) { logger.info("Couldn't find artifact: " + artifact.getGroupId() + ":" + artifact.getBaseVersion() + ":" + artifact.getArtifactId() + ":" +
