You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Alex Miller (JIRA)" <ji...@apache.org> on 2011/08/01 17:52:09 UTC

[jira] [Created] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

NoClassDefFoundError when running avro-maven-plugin:protocol goal
-----------------------------------------------------------------

                 Key: AVRO-868
                 URL: https://issues.apache.org/jira/browse/AVRO-868
             Project: Avro
          Issue Type: Bug
          Components: java
    Affects Versions: 1.5.2
         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
            Reporter: Alex Miller
            Priority: Blocker


I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:

Caused by: org.apache.maven.plugin.PluginContainerException: A
required class was missing while executing
org.apache.avro:avro-maven-plugin:1.5.2:protocol:
org/apache/maven/shared/model/fileset/util/FileSetManager
-----------------------------------------------------
realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
        ... 20 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/shared/model/fileset/util/FileSetManager
        at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
        at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.model.fileset.util.FileSetManager
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
        ... 23 more

It appears to me that there is a missing dependency on the
FileSetManager class (which is in the
org.apache.maven.shared:file-management artifact).

My plugin execution is pretty straightforward, just generating sources
from the avpr:

      <plugin>
        <groupId>org.apache.avro</groupId>
        <artifactId>avro-maven-plugin</artifactId>
        <version>${avro-version}</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>protocol</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:

1) git clone git://github.com/revelytix/spark.git
2) cd spark/sherpa-protocol
3) In pom.xml, change: 
  a) <avro-version>1.5.1</avro-version> to 1.5.2
  b) Add repositories section: 
 
      <repositories>
        <repository>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>avro-rc</id>
          <name>Avro RC</name>
          <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
        </repository>
      </repositories>

4) mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Alex Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085680#comment-13085680 ] 

Alex Miller commented on AVRO-868:
----------------------------------

Thanks everyone!  I wiped my local repo and indeed things are looking better now.  I must have had some bad stuff in there.  Resolving...

> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Holger Hoffstätte (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085241#comment-13085241 ] 

Holger Hoffstätte commented on AVRO-868:
----------------------------------------

I upgraded to 1.5.2 today and have been successfully using the protocol goal without any problem. Same maven version (3.0.3), JDK 1.6.25 etc. No idea why Alex is seeing this.


> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Alex Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Miller updated AVRO-868:
-----------------------------

    Description: 
I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:

{noformat}
Caused by: org.apache.maven.plugin.PluginContainerException: A
required class was missing while executing
org.apache.avro:avro-maven-plugin:1.5.2:protocol:
org/apache/maven/shared/model/fileset/util/FileSetManager
-----------------------------------------------------
realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
        ... 20 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/shared/model/fileset/util/FileSetManager
        at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
        at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.model.fileset.util.FileSetManager
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
        ... 23 more
{noformat}

It appears to me that there is a missing dependency on the
FileSetManager class (which is in the
org.apache.maven.shared:file-management artifact).

My plugin execution is pretty straightforward, just generating sources
from the avpr:

{noformat}
      <plugin>
        <groupId>org.apache.avro</groupId>
        <artifactId>avro-maven-plugin</artifactId>
        <version>${avro-version}</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>protocol</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
{noformat}

You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:

# git clone git://github.com/revelytix/spark.git
# cd spark/sherpa-protocol
# In pom.xml, change: 
#* <avro-version>1.5.1</avro-version> to 1.5.2
#* Add repositories section: 
 {noformat}
      <repositories>
        <repository>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>avro-rc</id>
          <name>Avro RC</name>
          <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
        </repository>
      </repositories>
{noformat}
# mvn -X -e compile

  was:
I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:

Caused by: org.apache.maven.plugin.PluginContainerException: A
required class was missing while executing
org.apache.avro:avro-maven-plugin:1.5.2:protocol:
org/apache/maven/shared/model/fileset/util/FileSetManager
-----------------------------------------------------
realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
        ... 20 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/maven/shared/model/fileset/util/FileSetManager
        at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
        at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.model.fileset.util.FileSetManager
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
        ... 23 more

It appears to me that there is a missing dependency on the
FileSetManager class (which is in the
org.apache.maven.shared:file-management artifact).

My plugin execution is pretty straightforward, just generating sources
from the avpr:

      <plugin>
        <groupId>org.apache.avro</groupId>
        <artifactId>avro-maven-plugin</artifactId>
        <version>${avro-version}</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>protocol</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:

1) git clone git://github.com/revelytix/spark.git
2) cd spark/sherpa-protocol
3) In pom.xml, change: 
  a) <avro-version>1.5.1</avro-version> to 1.5.2
  b) Add repositories section: 
 
      <repositories>
        <repository>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>avro-rc</id>
          <name>Avro RC</name>
          <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
        </repository>
      </repositories>

4) mvn -X -e compile


> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Alex Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085560#comment-13085560 ] 

Alex Miller commented on AVRO-868:
----------------------------------

I've added a simpler standalone test case that reproduces the same issue here:
https://github.com/puredanger/avro-868

To reproduce: 
1. git clone git://github.com/puredanger/avro-868.git
2. cd avro-868
3. mvn compile

Switching the version in the pom back to 1.5.1 results in a clean compile.  The error is the same reported originally.

> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Scott Carey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085609#comment-13085609 ] 

Scott Carey commented on AVRO-868:
----------------------------------

@Alex 
Have you tried the "-U" maven parameter for both builds? Something broken might be in your ~/.m2/repository

I get the same results as Holger.  With both 1.5.1 and 1.5.2 the project fails due to missing avro-ipc.

'mvn compile' fails due to missing avro-ipc dependency.
'mvn generate-sources' works fine

I modified the pom to include avro-ipc as a dependency, and then it compiles.


(tested on a Mac)


I also simplified the pom and it still works:
* removed the repositories section, since Avro 1.5.2 is out and on maven central.
* removed the resources section in <build>, since it isn't required by the plugin to locate the sources.

With avro 1.5.2, 'mvn avro:help' should also work for you, as well as 'mvn avro:help -Ddetail=true'


Based on the error above, and the failure for us to reproduce, I think there is something corrupt in your local repository.  


> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Holger Hoffstätte (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085581#comment-13085581 ] 

Holger Hoffstätte commented on AVRO-868:
----------------------------------------

I've cloned & ran mvn compile, but got a bunch of warnings that said "org.apache.avro.ipc" does not exist. I added avro-ipc as dependency, ran mvn clean compile and everything worked (on Windows even). Repeated on clean Linux system, worked fine too. Looks like you have gremlins :)


> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doug Cutting updated AVRO-868:
------------------------------

    Fix Version/s: 1.6.0

Setting a fix-version so we don't lose track of this.

Is anyone else seeing this?  Does anyone have an idea of what's happening or how to fix it?

> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (AVRO-868) NoClassDefFoundError when running avro-maven-plugin:protocol goal

Posted by "Alex Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Miller resolved AVRO-868.
------------------------------

    Resolution: Cannot Reproduce

Re-tested with clean repo and could not reproduce.

> NoClassDefFoundError when running avro-maven-plugin:protocol goal
> -----------------------------------------------------------------
>
>                 Key: AVRO-868
>                 URL: https://issues.apache.org/jira/browse/AVRO-868
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.2
>         Environment: Apache Maven 3.0.3, Java 1.6.0_26, Avro 1.5.2-rc1  (experienced on multiple OSes so don't think that's important)
>            Reporter: Alex Miller
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> I have a project that generates Java classes from a avpr using the avro-maven-plugin's protocol goal.  When I switch from Avro 1.5.1 (everything works perfectly) to 1.5.2-rc1 (also happened with rc0), I get the following error:
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A
> required class was missing while executing
> org.apache.avro:avro-maven-plugin:1.5.2:protocol:
> org/apache/maven/shared/model/fileset/util/FileSetManager
> -----------------------------------------------------
> realm =    plugin>org.apache.avro:avro-maven-plugin:1.5.2
> strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> urls[0] = file:/Users/alex/.m2/repository/org/apache/avro/avro-maven-plugin/1.5.2/avro-maven-plugin-1.5.2.jar
> urls[1] = file:/Users/alex/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> Number of foreign imports: 1
> import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> -----------------------------------------------------
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125)
>         ... 20 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/maven/shared/model/fileset/util/FileSetManager
>         at org.apache.avro.mojo.AbstractAvroMojo.getIncludedFiles(AbstractAvroMojo.java:113)
>         at org.apache.avro.mojo.AbstractAvroMojo.execute(AbstractAvroMojo.java:97)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 20 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.maven.shared.model.fileset.util.FileSetManager
>         at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
>         at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
>         ... 23 more
> {noformat}
> It appears to me that there is a missing dependency on the
> FileSetManager class (which is in the
> org.apache.maven.shared:file-management artifact).
> My plugin execution is pretty straightforward, just generating sources
> from the avpr:
> {noformat}
>       <plugin>
>         <groupId>org.apache.avro</groupId>
>         <artifactId>avro-maven-plugin</artifactId>
>         <version>${avro-version}</version>
>         <executions>
>           <execution>
>             <phase>generate-sources</phase>
>             <goals>
>               <goal>protocol</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
> {noformat}
> You can find the project in question in the sherpa-protocol sub-module at https://github.com/revelytix/spark.  To reproduce:
> # git clone git://github.com/revelytix/spark.git
> # cd spark/sherpa-protocol
> # In pom.xml, change: 
> #* <avro-version>1.5.1</avro-version> to 1.5.2
> #* Add repositories section: 
>  {noformat}
>       <repositories>
>         <repository>
>           <releases>
>             <enabled>true</enabled>
>           </releases>
>           <snapshots>
>             <enabled>false</enabled>
>           </snapshots>
>           <id>avro-rc</id>
>           <name>Avro RC</name>
>           <url>https://repository.apache.org/content/repositories/orgapacheavro-010</url>
>         </repository>
>       </repositories>
> {noformat}
> # mvn -X -e compile

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira