Flex Maven Reports

Surfing over internet and googling a little bit I found a very interesting project:
Flex Maven Reports

About:
Flex Maven Reports includes various Maven reports for projects written with the Adobe Flex Framework. The current reports are the RemoteObject Maven Report, which show details about remote objects used in an application and generates a graphical view of them, and the Actionscript UML report, which shows UML diagrams of the classes.

You can check a report sample here and here (image).

You can check Maven Docs for project here.

That is it.

VELO

Flex-mojos 2.0M5, Maven 2 plugins for Flex

Hi folks…. another weekend release.

Last week one guys give me the suggestion to use milestone instead of alpha. So this release is 2.0 milestone 5.

This week I fix several minor issues (88, 89, 92, 93, 95, 97 and 99).

Enjoy.

VELO

Sample Projects… using maven and flex.

Time to time someone appears asking for samples…

Well, flex-mojos has several integration tests, and they can be used as samples. So, when you need any sample look here.

All mojos are covered on this tests and every feature is tested by integration tests, so it is very complete. Take a look.

http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/test-harness/projects/

VELO

Flex-mojos 2.0-alpha4

A new version is out.

Before start with the news, I wanna talk about this alpha versioning…

2.0-alpha4 is much more stable then 1.0. So why I’m calling this alpha?? I have no idea :D

2.0 series bring a lot of news, that is why I call it 2.0, but alpha? I’m not happy with the current versioning convention. May be someone can give me a better idea.

Major updates on alpha4:

    Flex-mojos was build using install mojo dependencies. Yes, we are buying what we are selling.
    That’s “force” me to released install mojo too.
    New resource bundle system. Will blog about details latter, but keep in mind now dependency type is rb.swc and classifier is no longer used (so should be removed). See issue 49
    Fixed commas support on asdoc. See issue 80.
    Default SDK version was updated to 3.1.0.2710, the new milestone.

This version doesn’t have a big number of bug fixes, but I did some important changes related to install-mojo. May be I did break something, but 82% of tests coverage do get the problem. That’s remind me one more thing. I wanna keep flex-mojos compatible with 3.0.0.477. For now, I run tests twice (3.0.0.477 and 3.1.0.2710). May be someone can help me on this.

I deployed FlexSDK 3.1.0.2710 (MPL version) at Flex-mojos maven repository. If you need to use fonts, SVG, RSLs or charts, please use install-mojo to get the full version of flex-sdk at your repositories. Before someone asks if I will put full FDK (JDK = java, FDK=flex) version at repository the answer is: “Yes! I will not do that. And I’m thinking on kill the current repository. :P”. Sorry for that.

In the other hand, this week I talk (e-mail) the first time with Matt Chotin. Well, I introduce he to install-mojo. May be an Adobe Maven Repository can be born. May be not. Any way, there is no problem on dreaming about it.

Well, that is it what I have done in one week after a few weeks away from flex-mojos. I will probably be away a few more week, but I always keep one eye at google group.

One last thing. A few days ago I got a small donation (20 dollars) so I create a google ADS for flex-mojos. I don’t now why, but googling for “maven flex” I got israfil, serverbox, some blogs, articles and almost on second page flex-mojos. I don’t why (if someone can help me to get flex-mojos better/right indexed let me now), so I decide to convert this donations into ADS.

Well, that is it. Have a nice weekend every body.

Install-mojo

Put Adobe Flex SDK into a maven repo was a pain in the *ss…

I did that several times, and well, I’M FULL OF DOING IT.

But that is on the pass. This week I create a mojo to do that. BTW, I create 2 mojos. One to install Flex SDK at local repo and another to deploy into a remote repo.

Usages:

mvn info.flex-mojos:install-mojo:install-sdk -Dflex.sdk.folder=${flex sdk folder} -Dversion=${flex sdk version}

mvn info.flex-mojos:install-mojo:deploy-sdk -Dflex.sdk.folder=${flex sdk folder} -Dversion=${flex sdk version} -Durl=${remote repo}

Very simple to use.

It will produce several artifacts. All under <groupId>com.adobe.flex</groupId>. Two artifacts are very important for flex-mojos:

<dependency>
  <groupId>com.adobe.flex</groupId>
  <artifactId>compiler</artifactId>
  <version>${flex sdk version}</version>
  <type>pom</type>
</dependency>
<dependency>
  <groupId>com.adobe.flex.framework</groupId>
  <artifactId>flex-framework</artifactId>
  <version>${flex sdk version}</version>
  <type>pom</type>
</dependency>

The first one is the compiler. Java stuff. JAR’s
The second is the flex framework. Flex stuff. SWC’s

2 notes. The flex-framework dependency is to be used as your project dependency. This two dependencies should not be used together, so, if both appear on the same dependencies block of your project there is a great chance of something wrong.

Now is easier to update flex version. Just need to add the two dependencies in the right places. You can see how/where here.

Flex-mojos sources are updated to use this new dependencies, but I didn’t release it. And I didn’t update maven repository too.

Stay tuned.

VELO

Maven + Flex developers: Is flex 2.0 support important to you???

A few time ago I figure out how to add Flex 2.0 support for flex-mojos.

Will give me some refactory (may be a lot =P), but this refactory will be required to make flex-mojos compatible with flex 3 and 4 (to explore new features).

So, before I start code I wanna to know:
Is flex 2.0 support important to you???

If you need/wanna/like flex 2.0 support, go to google code site, and add a start at this issue: http://code.google.com/p/flex-mojos/issues/detail?id=83.

Let’s see how important flex 2.0 support is.

VELO

Hello World tutorial for flex-mojos 1.0

I’ve created a simple Hello World tutorial for using flex-mojos 1.0.

http://code.google.com/p/flex-mojos/wiki/HelloWorldTutorial

3rd party archetypes…

Some time ago I blog about François archetype here.

Now he did again.

But now, is not only one archetype. It’s A new set of flex maven archetype.

    a Flex BlazeDS XDoclet Spring Hibernate Archetype
    a Flex cairngorm flexunit archetype
    a Flex library (swc) archetype

Check more at FNA project site.

VELO