Hi,

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

is only used for dependencyManagement ... in your case this is completely 
useless.
You Need to Change your other dependency to:

<dependency>
      <groupId>com.adobe.flex.framework.mobile</groupId>
      <artifactId>mobilecomponents</artifactId>
      <version>${flex.version}</version>
      <type>swc</type>
    </dependency>


in order do actually get the artifact you are looking for.


Chris


________________________________________
Von: whityfenix [workingfe...@gmail.com]
Gesendet: Dienstag, 5. November 2013 14:14
An: users@flex.apache.org
Betreff: Re: AW: Using flexmojos maven plugin to build AIR mobile application

Thanx, it made me little bit closer to resolving the issue.
I added

    <dependency>
      <groupId>com.adobe.flex.framework.mobile</groupId>
      <artifactId>mobilecomponents</artifactId>
      <version>${flex.version}</version>
      <type>pom</type>
    </dependency>

It's found but really SWC is not downloaded from the repository...
when I download mobilecomponents.swc manually and designate <type>swc</type>
the dependency attached. But I think It should be made automatically.

I tried to add (it has referencies to above pom)

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

but this also doesn't work. It seems I do something wrong...

${flex.version} = 4.10.0.20130801

For example, for right specified dependencies (air-framework) I can expand
pom node (in Maven Projects window, IDEA) until .swc leafs, but for those I
see pom node not having children nodes.



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Using-flexmojos-maven-plugin-to-build-AIR-mobile-application-tp3357p3532.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to