You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Scott Carey (JIRA)" <ji...@apache.org> on 2013/04/28 23:24:16 UTC

[jira] [Commented] (AVRO-1310) Avro Maven project can't be built from scratch

    [ https://issues.apache.org/jira/browse/AVRO-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644146#comment-13644146 ] 

Scott Carey commented on AVRO-1310:
-----------------------------------

Run 'mvn clean install' from top level first  (where 'lang' is).

It is not supported to run submodules without building their dependencies first.  There are some snapshot depencencies on apache, but they may be out of sync.

If you wish to only run/test for the avro-mapred, use the following maven options from top level or from lang/java:

'-pl :avro-mapred'  (project list) and '-am'  (also-make - also runs projects that the items in the list depend on).

e.g. 'mvn compile -pl:avro-mapred -am' does only what is needed to compile for avro-mapred and the things it depends on.

Alternatively you can 'install' from top level to build all artifacts, then descend to a child project afterwards -- the child will then use the installed artifacts from your local repo.
                
> Avro Maven project can't be built from scratch
> ----------------------------------------------
>
>                 Key: AVRO-1310
>                 URL: https://issues.apache.org/jira/browse/AVRO-1310
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.7.4
>         Environment: Maven on Eclipse
>            Reporter: Nir Zamir
>
> When getting the Java 'trunk' from SVN and trying to use Maven Install ('mvn install') there are errors.
> Most of the errors are in tests so I tried skipping the tests but it still fails.
> See more details in my post on Avro Users: 
> http://apache-avro.679487.n3.nabble.com/help-with-Avro-compilation-td4026946.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira