...
- Clone the flex-utilities repo (https://git-wip-us.apache.org/repos/asf/flex-utilities.git)
- Checkout the "develop" branch. (The "mavenizerflex-maven-tools" directory I will call [home] from now on)
- Go to the directory [home]
- Execute "mvn package"
/flex-utilities/flex-maven-tools/flex-sdk-converter (develop)
$ mvn package
This process takes about 5 minutes at max to complete, so enjoy a cup of coffee
Code Block language diff theme Eclipse [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] apache-flex-sdk-converter .......................... SUCCESS [01:11 min] [INFO] api ................................................ SUCCESS [ 22.942 s] [INFO] retrievers ......................................... SUCCESS [ 0.026 s] [INFO] base-retriever ..................................... SUCCESS [ 7.070 s] [INFO] download-retriever ................................. SUCCESS [01:09 min] [INFO] converters ......................................... SUCCESS [ 0.021 s] [INFO] base-converter ..................................... SUCCESS [ 2.210 s] [INFO] air-converter ...................................... SUCCESS [ 0.242 s] [INFO] flash-converter .................................... SUCCESS [ 1.524 s] [INFO] fontkit-converter .................................. SUCCESS [ 0.121 s] [INFO] wrapper-converter .................................. SUCCESS [ 0.129 s] [INFO] flex-converter ..................................... SUCCESS [ 0.409 s] [INFO] deployers .......................................... SUCCESS [ 0.020 s] [INFO] maven-deployer ..................................... SUCCESS [ 9.167 s] [INFO] aether-deployer .................................... SUCCESS [ 17.329 s] [INFO] cli ................................................ SUCCESS [ 2.999 s] [INFO] flex-sdk-converter-maven-extension ................. SUCCESS [ 17.344 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:45 min [INFO] Finished at: 2016-01-22T10:26:11+13:00 [INFO] Final Memory: 53M/873M [INFO] ------------------------------------------------------------------------
After the build is finished, the directory "mavenizer/coreflex-utilities/flex-maven-tools/flex-sdk-converter/maven-extension/target" should now have a jar file called "flex-sdk-converter-1.0.0-SNAPSHOT.jar" this jar contains all you need to mavenize a FDK. If you are however trying to embed mavenization capabilities into a dedicated tool, using the individual artifacts is recommendable.
Info | ||
---|---|---|
| ||
mavenizer only exists on master branch, in the develop branch it's called flex-maven-tools |
Using the Mavenizer
Info | ||
---|---|---|
| ||
I would suggest not to generate the artifacts into your local repo directly, but to generate it to an empty directory and then move it from there. This makes especially deploying the FDK to a remote repository a lot easier. |
...
Using the Aether deployer
Code Block |
---|
java -cpjar [home]/deployers/aether/target/aether-deployer-1.0.0-SNAPSHOT-full.jar "fdktarget" "repository-url" ["username", "password"] |
...
Using the Maven deployer
Code Block |
---|
java -cpjar [home]/deployers/maven/target/maven-deployer-1.0.0-SNAPSHOT-full.jar "directory" "repositoryId" "url" "mvn" |
...