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

jun aoki commented on OOZIE-1221:
---------------------------------

{code}
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>default-jar</id>
-                        <!-- minitest does not necessary have .java files 
under src/main
-                            and this causes [WARNING] JAR will be empty upon 
mvn package -->
-                        <phase>never</phase>
-                    </execution>
-                </executions>
-            </plugin>

{code}

is meant to suppress a warning
{code}
[WARNING] JAR will be empty - no content was marked for inclusion!
{code}

but this sideeffects the build error
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) 
on project oozie-mini: The packaging for this project did not assign a file to 
the build artifact -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) 
on project oozie-mini: The packaging for this project did not assign a file to 
the build artifact
{code}

As of now I am reverting back it and let's follow up the warning (which is 
actually many of the child pom projects) at 
https://issues.apache.org/jira/browse/OOZIE-1212



                
> mvn install failing in Oozie-Mini module
> ----------------------------------------
>
>                 Key: OOZIE-1221
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1221
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Ryota Egashira
>            Assignee: jun aoki
>
> Failed to execute goal 
> org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) 
> on project oozie-mini: The packaging for this project did not assign a file 
> to the build artifact
> it might be related to OOZIE-1170

--
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

Reply via email to