You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gabriel Goïc (JIRA)" <ji...@codehaus.org> on 2011/12/13 18:10:02 UTC
[jira] (MNG-5217) UnsupportedClassVersionError when injecting
org.sonatype.flexmojos.plugin.lifecyclemapping.SwfLifecycleMapping
Gabriel Goïc created MNG-5217:
---------------------------------
Summary: UnsupportedClassVersionError when injecting org.sonatype.flexmojos.plugin.lifecyclemapping.SwfLifecycleMapping
Key: MNG-5217
URL: https://jira.codehaus.org/browse/MNG-5217
Project: Maven 2 & 3
Issue Type: Bug
Components: Plugins and Lifecycle
Affects Versions: 3.0.3
Environment: Maven 3.0.3, JDK 1.5, Flexmojos 4.1-beta
Reporter: Gabriel Goïc
Priority: Blocker
Attachments: maven.log
Here is the sub-project POM which causes the error (trying to build a swf artifact):
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>mygroup</groupId>
<artifactId>myartifact</artifactId>
<version>0.1</version>
</parent>
<artifactId>myartifact</artifactId>
<name>myartifact</name>
<packaging>swf</packaging>
<properties>
<flex.sdk.version>3.5.a.12683</flex.sdk.version>
</properties>
<build>
<finalName>${project.parent.artifactId}-${project.version}-${profile.id}</finalName>
<sourceDirectory>${basedir}/src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>4.1-beta</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<!-- Due to some API incompatibilities Flex 3 projects must use a compatibility layer -->
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-flex3-compatibility-layer</artifactId>
<version>4.1-beta</version>
</dependency>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
</dependencies>
<configuration>
<!--
set this to true to allow the plugin to find the special Flex Builder/Flash Builder string in the application
descriptor which is normally in site the <content> tag. If you set this to false or omit it entirely, the plugin
will expect there to be an ${output} token in that tag. Placing that token in the application descriptor will
prevent the Export Release Build function in Flex Builder/Flash Builder for working
-->
<flexBuilderCompatibility>true</flexBuilderCompatibility>
<sourceFile>myartifact.mxml</sourceFile>
<incremental>true</incremental>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<!-- Dependances SDK Flex -->
<groupId>com.adobe.flex.framework</groupId>
<artifactId>common-framework</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flex.sdk.version}</version>
<classifier>10</classifier>
<type>swc</type>
</dependency>
<dependency>
<groupId>org.swizframework</groupId>
<artifactId>swiz</artifactId>
<version>0.6.2</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>fr.common.flex</groupId>
<artifactId>greensock</artifactId>
<version>0.1</version>
<type>swc</type>
</dependency>
</dependencies>
</project>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5217) UnsupportedClassVersionError when injecting
org.sonatype.flexmojos.plugin.lifecyclemapping.SwfLifecycleMapping
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=285804#comment-285804 ]
Olivier Lamy commented on MNG-5217:
-----------------------------------
are you sure 1.6 is not required with this mojo ?
BTW load this issue in bug tracker of the plugin maintainer.
> UnsupportedClassVersionError when injecting org.sonatype.flexmojos.plugin.lifecyclemapping.SwfLifecycleMapping
> --------------------------------------------------------------------------------------------------------------
>
> Key: MNG-5217
> URL: https://jira.codehaus.org/browse/MNG-5217
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Plugins and Lifecycle
> Affects Versions: 3.0.3
> Environment: Maven 3.0.3, JDK 1.5, Flexmojos 4.1-beta
> Reporter: Gabriel Goïc
> Priority: Blocker
> Attachments: maven.log
>
>
> Here is the sub-project POM which causes the error (trying to build a swf artifact):
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <groupId>mygroup</groupId>
> <artifactId>myartifact</artifactId>
> <version>0.1</version>
> </parent>
> <artifactId>myartifact</artifactId>
> <name>myartifact</name>
> <packaging>swf</packaging>
> <properties>
> <flex.sdk.version>3.5.a.12683</flex.sdk.version>
> </properties>
> <build>
> <finalName>${project.parent.artifactId}-${project.version}-${profile.id}</finalName>
> <sourceDirectory>${basedir}/src/main/flex</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-maven-plugin</artifactId>
> <version>4.1-beta</version>
> <extensions>true</extensions>
> <dependencies>
> <dependency>
> <!-- Due to some API incompatibilities Flex 3 projects must use a compatibility layer -->
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-flex3-compatibility-layer</artifactId>
> <version>4.1-beta</version>
> </dependency>
> <dependency>
> <groupId>com.adobe.flex</groupId>
> <artifactId>compiler</artifactId>
> <version>${flex.sdk.version}</version>
> <type>pom</type>
> </dependency>
> </dependencies>
> <configuration>
> <!--
> set this to true to allow the plugin to find the special Flex Builder/Flash Builder string in the application
> descriptor which is normally in site the <content> tag. If you set this to false or omit it entirely, the plugin
> will expect there to be an ${output} token in that tag. Placing that token in the application descriptor will
> prevent the Export Release Build function in Flex Builder/Flash Builder for working
> -->
> <flexBuilderCompatibility>true</flexBuilderCompatibility>
> <sourceFile>myartifact.mxml</sourceFile>
> <incremental>true</incremental>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <!-- Dependances SDK Flex -->
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>common-framework</artifactId>
> <version>${flex.sdk.version}</version>
> <type>pom</type>
> </dependency>
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>playerglobal</artifactId>
> <version>${flex.sdk.version}</version>
> <classifier>10</classifier>
> <type>swc</type>
> </dependency>
> <dependency>
> <groupId>org.swizframework</groupId>
> <artifactId>swiz</artifactId>
> <version>0.6.2</version>
> <type>swc</type>
> </dependency>
> <dependency>
> <groupId>fr.common.flex</groupId>
> <artifactId>greensock</artifactId>
> <version>0.1</version>
> <type>swc</type>
> </dependency>
> </dependencies>
> </project>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5217) UnsupportedClassVersionError when injecting
org.sonatype.flexmojos.plugin.lifecyclemapping.SwfLifecycleMapping
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MNG-5217.
-----------------------------
Resolution: Won't Fix
Assignee: Olivier Lamy
see comment
> UnsupportedClassVersionError when injecting org.sonatype.flexmojos.plugin.lifecyclemapping.SwfLifecycleMapping
> --------------------------------------------------------------------------------------------------------------
>
> Key: MNG-5217
> URL: https://jira.codehaus.org/browse/MNG-5217
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Plugins and Lifecycle
> Affects Versions: 3.0.3
> Environment: Maven 3.0.3, JDK 1.5, Flexmojos 4.1-beta
> Reporter: Gabriel Goïc
> Assignee: Olivier Lamy
> Priority: Blocker
> Attachments: maven.log
>
>
> Here is the sub-project POM which causes the error (trying to build a swf artifact):
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <parent>
> <groupId>mygroup</groupId>
> <artifactId>myartifact</artifactId>
> <version>0.1</version>
> </parent>
> <artifactId>myartifact</artifactId>
> <name>myartifact</name>
> <packaging>swf</packaging>
> <properties>
> <flex.sdk.version>3.5.a.12683</flex.sdk.version>
> </properties>
> <build>
> <finalName>${project.parent.artifactId}-${project.version}-${profile.id}</finalName>
> <sourceDirectory>${basedir}/src/main/flex</sourceDirectory>
> <plugins>
> <plugin>
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-maven-plugin</artifactId>
> <version>4.1-beta</version>
> <extensions>true</extensions>
> <dependencies>
> <dependency>
> <!-- Due to some API incompatibilities Flex 3 projects must use a compatibility layer -->
> <groupId>org.sonatype.flexmojos</groupId>
> <artifactId>flexmojos-flex3-compatibility-layer</artifactId>
> <version>4.1-beta</version>
> </dependency>
> <dependency>
> <groupId>com.adobe.flex</groupId>
> <artifactId>compiler</artifactId>
> <version>${flex.sdk.version}</version>
> <type>pom</type>
> </dependency>
> </dependencies>
> <configuration>
> <!--
> set this to true to allow the plugin to find the special Flex Builder/Flash Builder string in the application
> descriptor which is normally in site the <content> tag. If you set this to false or omit it entirely, the plugin
> will expect there to be an ${output} token in that tag. Placing that token in the application descriptor will
> prevent the Export Release Build function in Flex Builder/Flash Builder for working
> -->
> <flexBuilderCompatibility>true</flexBuilderCompatibility>
> <sourceFile>myartifact.mxml</sourceFile>
> <incremental>true</incremental>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <!-- Dependances SDK Flex -->
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>common-framework</artifactId>
> <version>${flex.sdk.version}</version>
> <type>pom</type>
> </dependency>
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>playerglobal</artifactId>
> <version>${flex.sdk.version}</version>
> <classifier>10</classifier>
> <type>swc</type>
> </dependency>
> <dependency>
> <groupId>org.swizframework</groupId>
> <artifactId>swiz</artifactId>
> <version>0.6.2</version>
> <type>swc</type>
> </dependency>
> <dependency>
> <groupId>fr.common.flex</groupId>
> <artifactId>greensock</artifactId>
> <version>0.1</version>
> <type>swc</type>
> </dependency>
> </dependencies>
> </project>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira