ok, I got it, but i cannot find any include* tag in my pom file and I want flexmojo to handle the inculdes. So were is the bug?
Thanks Manfred On Wed, Feb 24, 2010 at 5:22 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 12:59 PM, Manfred Paul <[email protected]> > wrote: >> >> Hi, >> >> I removed the includeNamespaces directive, but now one of my libraries >> does not build anymore. >> >> Some libraries fail with the following error: >> >> "Could not resolve <test:InfoObjTool> to a component implementation." >> >> Here is the build part of the pom files I am using: (There is a >> manifest in each project, event if there is no component to export) >> >> manifest: >> >> <?xml version="1.0"?> >> <componentPackage> >> </componentPackage> >> >> pom: >> >> <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> >> <namespaces> >> <namespace> >> <uri>http://www.mycompany.com/2009/</uri> >> <manifest>src/META-INF/manifest.xml</manifest> >> </namespace> >> </namespaces> >> </configuration> >> </plugin> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> >> <artifactId>maven-resources-plugin</artifactId> >> <configuration> >> <encoding>UTF-8</encoding> >> </configuration> >> </plugin> >> </plugins> >> </build> >> >> >> Manfred >> >> On Wed, Feb 24, 2010 at 3:49 PM, Marvin Froeder <[email protected]> wrote: >> > And you are not using any include directive.... so remove >> > includeNamespaces >> > if that is true. >> > >> > VELO >> > >> > On Wed, Feb 24, 2010 at 11:32 AM, Manfred Paul <[email protected]> >> > wrote: >> >> >> >> Here is the content of the MapFramework.pom. I have a manifest file to >> >> declare the components of the library. >> >> >> >> <?xml version="1.0"?> >> >> <project> >> >> <modelVersion>4.0.0</modelVersion> >> >> <groupId>com.test</groupId> >> >> <artifactId>MapFramework</artifactId> >> >> <version>1.0-SNAPSHOT</version> >> >> <packaging>swc</packaging> >> >> >> >> <parent> >> >> <groupId>com.test</groupId> >> >> <artifactId>FlexCore</artifactId> >> >> <version>1.0-SNAPSHOT</version> >> >> <relativePath>../FlexCore/pom.xml</relativePath> >> >> </parent> >> >> >> >> <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> >> >> <namespaces> >> >> <namespace> >> >> >> >> <uri>http://www.mycompany.com/2009/</uri> >> >> >> >> <manifest>src/META-INF/manifest.xml</manifest> >> >> </namespace> >> >> </namespaces> >> >> <includeNamespaces> >> >> >> >> <namespace>http://www.mycompany.com/2009/</namespace> >> >> </includeNamespaces> >> >> </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.test</groupId> >> >> <artifactId>FlexUtils</artifactId> >> >> <version>1.0-SNAPSHOT</version> >> >> <type>swc</type> >> >> </dependency> >> >> </dependencies> >> >> </project> >> >> >> >> >> >> On Wed, Feb 24, 2010 at 3:12 PM, Marvin Froeder <[email protected]> >> >> wrote: >> >> > >> >> >> >> >> >> All the other pom files redefine only the dependencies as well as >> >> >> some >> >> >> namespaces properties! >> >> >> >> >> > >> >> > What exactly do you do with namespaces? >> >> > >> >> > VELO >> >> > >> >> > -- >> >> > 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/ >> > >> >> -- >> 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/
