As a follow-up... here is some output from my project
1. Remove artifacts from local repository which were installed from
previous runs (Using cygwin I run "rm -r $USERPROFILE/.m2/repository/
intouch")
2. Run "mvn clean"
3. Run "mvn compile"
<snip>
[INFO]
------------------------------------------------------------------------
[INFO] Building intouchV2-flex-bulk-transfer-shell
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO] [flexmojos:wrapper {execution: default}]
<snip>
[INFO] Flex compiler configurations:
-compiler.accessible=false
<snip>
-compiler.library-path D:\intouchV2\branch-2.4.0\flexV2\intouchV2-flex-
cairngorm-lib\target\intouchV2-flex-cairngorm-lib-1.0-SNAPSHOT.swc C:
\Users\Collin\.m2\repository\com\adobe\flex\framework
\applicationupdater\3.3.0.4852\applicationupdater-3.3.0.4852.swc C:
\Users\Collin\.m2\repository\com\adobe\flex\framework
\applicationupdater_ui\3.3.0.4852\applicationupdater_ui-3.3.0.4852.swc
C:\Users\Collin\.m2\repository\com\adobe\flex\framework\flex
\3.3.0.4852\flex-3.3.0.4852.swc C:\Users\Collin\.m2\repository\com
\adobe\flex\framework\framework\3.3.0.4852\framework-3.3.0.4852.swc C:
\Users\Collin\.m2\repository\com\adobe\flex\framework\rpc
\3.3.0.4852\rpc-3.3.0.4852.swc C:\Users\Collin\.m2\repository\com\adobe
\flex\framework\utilities\3.3.0.4852\utilities-3.3.0.4852.swc D:
\intouchV2\branch-2.4.0\flexV2\intouchV2-flex-core-lib\target
\intouchV2-flex-core-lib-1.0-SNAPSHOT.swc C:\Users\Collin
\.m2\repository\com\hurlant\as3crypto\1.3\as3crypto-1.3.swc C:\Users
\Collin\.m2\repository\com\adobe\flex\framework\rpc
\3.3.0.4852\rpc-3.3.0.4852-en_US.rb.swc C:\Users\Collin\.m2\repository
\com\adobe\flex\framework\framework\3.3.0.4852\framework-3.3.0.4852-
en_US.rb.swc
<snip>
[INFO] Written link report to D:
\intouchV2\branch-2.4.0\flexV2\intouchV2-flex-bulk-transfer-shell
\target\intouchV2-flex-bulk-transfer-shell-1.0-SNAPSHOT-link-
report.xml
[INFO]
------------------------------------------------------------------------
[INFO] Building intouchV2-flex-bulk-transfer
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
<snip>
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=intouch -DartifactId=intouchV2-
flex-bulk-transfer-shell -Dversion=1.0-SNAPSHOT -Dclassifier=link-
report -Dpackaging=xml -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=intouch -DartifactId=intouchV2-
flex-bulk-transfer-shell -Dversion=1.0-SNAPSHOT -Dclassifier=link-
report -Dpackaging=xml -Dfile=/path/to/file -Durl=[url] -DrepositoryId=
[id]
intouch:intouchV2-flex-bulk-transfer-shell:xml:1.0-SNAPSHOT
<END>
As you can see... the first project 'intouchV2-flex-bulk-transfer-
shell' generates a link-report, but does not install it. The second
project then complains that it can't find the link-report XML.
Conversely, both projects can find other SWC dependencies (such as
intouchV2-flex-cairngorm-lib-1.0-SNAPSHOT.swc as shown above) from the
reactor and don't require it to be installed. So an install is
required for a link-report, but not a SWC, so that is the issue/bug.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---