2014-02-17 128 views
0

從Maven POM將項目導入到MuleStudio後,出現以下錯誤。MuleStudio連接器示例註釋類型的屬性註釋未定義生成

The attribute comments is undefined for the annotation type Generated 

請幫忙解決此問題。
我的POM文件:

<?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/xsd/maven-4.0.0.xsd"> 
    <modelVersion>4.0.0</modelVersion> 
    <groupId>org.hello</groupId> 
    <artifactId>hello-connector</artifactId> 
    <version>1.0-SNAPSHOT</version> 
    <packaging>mule-module</packaging> 
    <name>Hello Connector</name> 

    <parent> 
     <groupId>org.mule.tools.devkit</groupId> 
     <artifactId>mule-devkit-parent</artifactId> 
     <version>3.4.3</version> 
    </parent> 

    <properties> 
     <junit.version>4.9</junit.version> 
     <mockito.version>1.8.2</mockito.version> 
     <jdk.version>1.6</jdk.version> 
     <category>Community</category> 
     <licensePath>LICENSE.md</licensePath> 
     <devkit.studio.package.skip>false</devkit.studio.package.skip> 
    </properties> 

    <scm> 
     <connection>scm:git:git://github.com:mulesoft/hello-connector.git</connection> 
     <developerConnection>scm:git:[email protected]:mulesoft/hello-connector.git</developerConnection> 
     <url>http://github.com/mulesoft/hello-connector</url> 
    </scm> 

    <repositories> 
     <repository> 
      <id>mulesoft-releases</id> 
      <name>MuleSoft Releases Repository</name> 
      <url>http://repository.mulesoft.org/releases/</url> 
      <layout>default</layout> 
     </repository> 
     <repository> 
      <id>mulesoft-snapshots</id> 
      <name>MuleSoft Snapshots Repository</name> 
      <url>http://repository.mulesoft.org/snapshots/</url> 
      <layout>default</layout> 
     </repository> 
    </repositories> 

    <dependencies> 
     <dependency> 
      <groupId>org.eclipse.equinox</groupId> 
      <artifactId>common</artifactId> 
      <version>3.3.0-v20070426</version> 
      <scope>provided</scope> 
     </dependency> 
    </dependencies> 

</project> 

回答

0

我有同樣的問題。我使用mule-devkit-partent版本3.4.2來使它工作。