11 Replies Latest reply on Feb 10, 2011 8:42 AM by Tim Beynart

    OSMF 1.5, Flex 4.1 and Maven

    Mister Kevo

      Hello,

       

      We are trying to implement a new player using OSMF 1.5, but are running into clashes with Flex 4.1's inclusion of the SDK's version of osmf.

       

      We have tried using the EXCLUSIONS directive in the POM file where we first specify the Flex version (we're using 4.1.0.16076)

       

              <dependency>
                  <groupId>com.adobe.flex.framework</groupId>
                  <artifactId>flex-framework</artifactId>
                  <version>${flex.sdk.version}</version>
                  <type>pom</type>
                  <scope>compile</scope>
                  <exclusions>
                      <exclusion>
                          <groupId>com.adobe.flex.framework</groupId>
                          <artifactId>osmf</artifactId>
                      </exclusion>
                  </exclusions>
              </dependency>

       

      What seems to be happening is the common-framework POM (which is provided by Sonatype for FlexMojos) has hard-wired inclusion of the old osmf libraries as well - and I'm having trouble finding a way to override this.

       

      (link to their POM)

       

      Anyone have any ideas how to get around this?