[
https://issues.apache.org/jira/browse/OOZIE-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574884#comment-13574884
]
jun aoki commented on OOZIE-1170:
---------------------------------
Robert, I found the other WARNING from
https://builds.apache.org/job/oozie-trunk-precommit-build/319/consoleText
{code}
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Oozie MiniOozie 3.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
oozie-mini ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/jenkins/jenkins-slave/workspace/oozie-trunk-precommit-build/minitest/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ oozie-mini
---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
oozie-mini ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
oozie-mini ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ oozie-mini ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ oozie-mini ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar:
/home/jenkins/jenkins-slave/workspace/oozie-trunk-precommit-build/minitest/target/oozie-mini-3.4.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.2.1:single (default-cli) @ oozie-mini ---
[INFO] Reading assembly descriptor: src/main/assemblies/empty.xml
[INFO]
{code}
I disabled it in minitest/pom.xml by
{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}
I agree the other 4 from COMPILE-clean.txt are fine.
I suggest this ticket is done with the patch, and I can also create another
ticket to follow up the clover version issue.
Robert, what do you think?
> Update minitest module (MiniOozie) to use main pom as its parent
> ----------------------------------------------------------------
>
> Key: OOZIE-1170
> URL: https://issues.apache.org/jira/browse/OOZIE-1170
> Project: Oozie
> Issue Type: Improvement
> Components: build, tests
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: jun aoki
> Priority: Minor
> Fix For: trunk
>
> Attachments: OOZIE-1170-3.patch, OOZIE-1170-4.patch,
> OOZIE-1170-5.patch, OOZIE-1170.patch, OOZIE-1170.patch
>
>
> Update the minitest modules (MiniOozie) to use main pom as its parent. We
> can then have it inherit dependencies, versions, profiles, etc from the main
> pom.
--
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