Hi,
thanks for the answer. I do not inculde anything. There is the parent
pom I am using:
FlexCore.pom :
<?xml version="1.0"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>FlexCore</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<flex.version>3.2.0.3958</flex.version>
<flexmojos.version>3.5.0</flexmojos.version>
<flex.player.version>9</flex.player.version>
<flexpmd.version>1.0</flexpmd.version>
</properties>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flexmojos.version}</version>
<extensions>true</extensions>
<configuration>
<targetPlayer>${flex.target.player.version}</targetPlayer>
<strict>true</strict>
<testFailureIgnore>true</testFailureIgnore>
<licenses>
<flexbuilder2>***</flexbuilder2>
<flexbuilder3>***</flexbuilder3>
</licenses>
<staticLinkRuntimeSharedLibraries>true</staticLinkRuntimeSharedLibraries>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>${flex.version}</version>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>9-${flex.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-unittest-support</artifactId>
<version>${flexmojos.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.sdk</groupId>
<artifactId>datavisualization</artifactId>
<version>${flex.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe</groupId>
<artifactId>as3corelib</artifactId>
<version>0.92</version>
<type>swc</type>
</dependency>
</dependencies>
<pluginRepositories>
<pluginRepository>
<id>plugins</id>
<name>Plugins Repository</name>
<url>http://regis:8080/nexus/content/groups/plugins/</url>
</pluginRepository>
<pluginRepository>
<id>local</id>
<url>http://repository.sonatype.org/content/groups/flexgroup/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>releases</id>
<name>Releases Repository</name>
<url>http://regis:8080/nexus/content/groups/public/</url>
</repository>
<repository>
<id>snapshots</id>
<name>Snapshots Repository</name>
<url>http://regis:8080/nexus/content/groups/public-snapshots/</url>
</repository>
<repository>
<id>flex-mojos-repository</id>
<url>http://repository.sonatype.org/content/groups/flexgroup/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</project>
All the other pom files redefine only the dependencies as well as some
namespaces properties!
Manfred
On Wed, Feb 24, 2010 at 3:01 PM, Marvin Froeder <[email protected]> wrote:
> If you define no inclusions, flexmojos will assume that you wanna to include
> everything. But if you define any include it assumes you wanna manage the
> inclusions.
>
> By inclusions I mean any
> http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-swc-mojo.html#include*
>
>
> VELO
>
> On Wed, Feb 24, 2010 at 10:54 AM, Manfred PAUL <[email protected]>
> wrote:
>>
>> Hi,
>>
>> i am trying to get my project (swf) built with flexmojos! The project
>> is linked to some shared libraries (swc) which are compiled at the
>> same time as the main project itself. Here is the project structure:
>>
>> - FlexCore.pom (defines the default build and repository parameters)
>>
>> - FlexUtils.swc (parent: FlexCore.pom)
>>
>> - FlexComponents.swc (parent: FlexCore.pom)
>>
>> - AssetsLibrary.swc (parent: FlexCore.pom)
>>
>> - FlexDataVisualization.swc (parent: FlexCore.pom)
>>
>> - FlexCharting.swc (parent: FlexCore.pom, dependency: FlexUtils.swc)
>>
>> - MapFramework.swc (parent: FlexCore.pom, dependency: FlexUtils.swc
>>
>> - FlexMap.swc (parent: FlexCore.pom, dependecy: FlexUtils.swc,
>> AssetsLibrary.swc, MapFramework.swc)
>>
>> - CommunicationFramework.swc (parent FlexCore.pom, dependency:
>> FlexUtils.swc)
>>
>> - ApplicationFramework.swc (parent: FlexCore.pom, dependecy:
>> FlexUtils.swc, FlexComponents.swc, Assets.swc,
>> CommunicationFramework.swc, MapFramework.swc, FlexMap.swc)
>>
>> - Application.swf (parent: FlexCore.pom, dependecy: FlexUtils.swc,
>> FlexComponents.swc, FlexCharting.swc, FlexDataVisualization.swc,
>> AssetsLibrary.swc, CommunicationFramework.swc, MapFramework.swc,
>> FlexMap.swc)
>>
>>
>>
>> I have an assemby pom:
>> <parent>
>> <groupId>com.test</groupId>
>> <artifactId>FlexCore</artifactId>
>> <version>1.0-SNAPSHOT</version>
>> <relativePath>../FlexCore/pom.xml</relativePath>
>> </parent>
>>
>> <modules>
>> <module>FlexCore</module>
>> <module>FlexUtils</module>
>> <module>FlexComponents</module>
>> <module>FlexCharting</module>
>> <module>FlexDataVisualisation</module>
>> <module>AssetsLibrary</module>
>> <module>MapFramework</module>
>> <module>FlexMap</module>
>> <module>CommunicationFramework</module>
>> <module>ApplicationFramework</module>
>> <module>Application</module>
>> </modules>
>>
>>
>> When I run maven, all the libraries are built just before the
>> application. When building the application maven stops, because the
>> compiler can't find some classes from the e.g. ApplicationFramework!
>> It seems as if none of the classes is included in the libraries.
>>
>> "The definition of base class ... was not found."
>>
>> and
>>
>> "Method marked override must override another method."
>>
>> Do resolve this problem, do I need to add all the classes to be
>> exported in the library pom files? I hope there is a easier way!
>>
>> I tried to check the openscales project. It look as if they use the
>> same way of building their swf files.
>>
>> Does somebody know what to do?
>>
>> Thanks
>>
>> Manfred
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Flex Mojos" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>>
>> http://flexmojos.sonatype.org/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Flex Mojos" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos?hl=en?hl=en
>
> http://flexmojos.sonatype.org/
>
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en
http://flexmojos.sonatype.org/