Answering myself again:
5. The flex-utilities/maven-flex-plugin/testsuite project contains test
that provide examples of how to write a pom.xml and source tree to use
the plugin.
It is important to add the <extensions>true</extensions> tag to the
plugin definition:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-flex-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
<extensions>true</extensions>
</plugin>
</plugins>
...
looking for more examples...
On 04/25/2013 03:47 PM, Dan Rollo wrote:
Answering #4 question myself:
4. Build and deploy entire: flex-utilities/maven-flex-plugin project by
giving 'altDeploymentRepository' property on command line:
mvn package deploy
-DaltDeploymentRepository=mySnapshotRepoId::default::http://mySnapshotRepoURL
Still looking for usage examples! :)
On 04/25/2013 02:32 PM, Dan Rollo wrote:
Flex noobie warning!
I'm trying to setup a bunch of flex projects to build using the latest
Apache maven-flex-plugin.
So far, I've done the following:
1. Cloned https://git-wip-us.apache.org/repos/asf/flex-utilities.git
2. Built flex-sdk-converter-1.0.jar from flex-utilities/mavenizer project
3. Ran SDKGenerator and SDKDeployer to build and deploy Flex SDK to
private repo manager.
Cool, now I have Flex SDK artifacts available via private repo. Now to
create maven poms to build project, but first I think I need to build
the latest maven-flex-plugin, so...
4. Built entire project: flex-utilities/maven-flex-plugin. mvn package
succeed.
Now what? I think I need to deploy this entire tree to my private repo,
but I'm not sure how best to do that. Are people editing the parent pom
(flex-utilities/maven-flex-plugin/pom.xml) to <distributionManagement>
section? Or running mvn deploy with commandline args on root of tree? Or
using a "mavenizer" sort of tool to deploy all the artifacts in this
project?
Feel free to point me to any docs I've missed about all this, especially
any info that might tell me what step 5, 6, and 7 would be.
Where would be a good place for me to add this sort of maven-flex-plugin
how-to info?:
Thanks,
Dan