You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2011/09/08 06:25:08 UTC

[jira] [Created] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

GH-20: 2.2.0 distribution download contains no WAR and won't build?!
--------------------------------------------------------------------

                 Key: OOZIE-66
                 URL: https://issues.apache.org/jira/browse/OOZIE-66
             Project: Oozie
          Issue Type: Bug
            Reporter: Hadoop QA


According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.

But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.

Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:

[INFO] Building Oozie Core
[INFO]    task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] 'add-resource' was specified in an execution, but not found in the plugin

Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101790#comment-13101790 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

tucu00 remarked:
would you try doing a build using the HEAD of master?

make sure you trash your ~/.m2/repository as it may be corrupted thanks to to the java.net repository (which now is not used anymore)

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Resolved] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

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

Hadoop QA resolved OOZIE-66.
----------------------------

    Resolution: Fixed

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101786#comment-13101786 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

briantm remarked:
I had just upgraded to the latest: Apache Maven 2.2.1 

You know, however, that the plugin above is not part of the maven distribution itself.  So, depending on what repositories users are configured to access either locally or remotely, they may not get the version of the plugin you're assuming.  That is apparently what happened to me and why specifying an explicit version removes the problem.

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101788#comment-13101788 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

briantm remarked:
Probably would work.  But as I had upgraded from maven 2.0.9 specifically in order to build oozie, and since I already had an earlier version of the build-helper-maven-plugin in my repo, and since the pom does not requiest a particular version, my 2.2.x maven used the existing, old plugin version.  I assume this would happen for anyone like me who upgrades an older maven install and has used an earlier build-helper-maven-plugin before, as opposed to people doing a fresh install with no repository.

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099763#comment-13099763 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

rvs remarked:
Brian,

you're correct we stopped publishing binary distributions of Oozie (QuickStart needs to be corrected) so there's tarball that would have oozie.war.

Now, I suspect that your build issue comes from the lack of ydoxia plugin. You might want to do the following before proceeding with the maven build:

   $ git checkout ydoxia
   $ mvn install
 
After that the following seems to generate the binary distribution for me just fine:
   
   $ mvn clean package assembly:single -DskipTests

I'm tempted to close this issue, unless I hear from you otherwise

Thanks,
Roman.

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Reopened] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

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

Roman Shaposhnik reopened OOZIE-66:
-----------------------------------


> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101785#comment-13101785 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

angelokh remarked:
What version of maven are you using for the build?

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101784#comment-13101784 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

briantm remarked:
The build failure was caused by an ambiguous version dependency on the build-helper-maven-plugin.  The fix was to add <version> in the core/pom.xml for:

                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.5</version>

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101787#comment-13101787 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

angelokh remarked:
Could you try Apache Maven 2.2.0 this version without the above dependency in pom.xml and let us know if you still see the same errors or not? Please remember to remove the dependency from you local maven repo (~/.m2).
http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.0-bin.tar.gz

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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

        

[jira] [Commented] (OOZIE-66) GH-20: 2.2.0 distribution download contains no WAR and won't build?!

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OOZIE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101789#comment-13101789 ] 

Hadoop QA commented on OOZIE-66:
--------------------------------

briantm remarked:
In other words, the problem is probably not the maven version, but the existence of an older build-helper-maven-plugin in the local repo, as you allude to.

> GH-20: 2.2.0 distribution download contains no WAR and won't build?!
> --------------------------------------------------------------------
>
>                 Key: OOZIE-66
>                 URL: https://issues.apache.org/jira/browse/OOZIE-66
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Hadoop QA
>
> According to the quickstart (http://yahoo.github.com/oozie/releases/2.2.0/DG_QuickStart.html), the distribution tar.gz contains an oozie.war file.
> But http://github.com/yahoo/oozie/tarball/oozie-2.2.0 contains no such artifact in the tar.gz.
> Worse, when I try to build with "mvn clean package" or "mvn clean package assembly:single", maven fails with:
> [INFO] Building Oozie Core
> [INFO]    task-segment: [clean, package]
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] 'add-resource' was specified in an execution, but not found in the plugin
> Has anyone else been able to use and/or build the 2.2.0 distribution?

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