Flexmojos issue: Flex compiler and flex framework versions doesn’t match.

I’ve got this error when I decided to upgrade my flex framework up to “3.5.0.12683”.
Got this after mvn clean install:
[sourcecode language=”plain”]
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:compile-swf (default-compile-swf) on project webcast-player-slides-llb: Flex compiler and flex framework versions doesn’t match. Compiler: ‘3.2.0.3958’ – Framework: ‘3.5.0.12683’.
[/sourcecode]
Continue reading “Flexmojos issue: Flex compiler and flex framework versions doesn’t match.”

Install OpenVideoPlayer (ovp) in Flex project with Maven

Just faced an issue that cannot find openvideoplayer in maven repositories to simple add this as dependency.
Here is how to do it without official repo.

1. Download core-bin ovp from this location http://openvideoplayer.sourceforge.net/downloads
2. Unpack from ‘bin’ folder ‘owp_core.swc’ file.
3. Run this command

mvn install:install-file -Dfile=/path/to/lib/owp_core.swc \\
-DgroupId=org.openvideoplayer \\
-DartifactId=ovp \\
-Dversion=2.1.6 \\
-Dpackaging=swc \\
-DgeneratePom=true

4. Add dependency to your pom

<dependency>
  <groupId>org.openvideoplayer</groupId>
  <artifactId>ovp</artifactId>
  <version>2.1.6</version>
  <type>swc</type>
</dependency>

That’s it!