Bug 761428

Summary: Fix Maven warnings in travel example
Product: [Retired] JBoss Enterprise WFK Platform 2 Reporter: Karel Piwko <kpiwko>
Component: Spring, ExamplesAssignee: Marek Novotny <mnovotny>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Repel <trepel>
Severity: low Docs Contact:
Priority: low    
Version: 2.0.0.DR05CC: mnovotny
Target Milestone: ---   
Target Release: 2.0.0.ER5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: jbds travel
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 760590 Environment:
Last Closed: 2012-06-22 10:57:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 760590    
Bug Blocks:    

Description Karel Piwko 2011-12-08 10:19:35 UTC
[kpiwko@kapy-ntb travel]$ wfk2maven clean package
/opt/apache-maven-3.0.3/bin/mvn -s /home/kpiwko/devel/wfk/wfk-qa/build/configuration/target/settings.xml -DCONTAINER=eap5 -DFRAMEWORK=spring-3 -DFRAMEWORK2= -DLABEL=selenium-ff3-rhel6-x86_64 -Dframework.container.matrix=spring-3-eap5 -Darch.framework.matrix=selenium-ff3-rhel6-x86_64-spring-3 -Darch.container.matrix=selenium-ff3-rhel6-x86_64-eap5 clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.springframework.samples:travel:war:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 207, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 241, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 215, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building travel 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for joda-time:joda-time-jsptags:jar:1.0.2 is missing, no dependency information available
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ travel ---
[INFO] Deleting /home/kpiwko/devel/snowdrop/consolidated-wfk-migrated-examples/travel/target
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ travel ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 10 resources
[INFO] Copying 2 resources
[INFO] skip non existing resourceDirectory /home/kpiwko/devel/snowdrop/consolidated-wfk-migrated-examples/travel/src/main/environments/eap/WEB-INF
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ travel ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 10 source files to /home/kpiwko/devel/snowdrop/consolidated-wfk-migrated-examples/travel/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ travel ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ travel ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /home/kpiwko/devel/snowdrop/consolidated-wfk-migrated-examples/travel/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ travel ---
[INFO] Surefire report directory: /home/kpiwko/devel/snowdrop/consolidated-wfk-migrated-examples/travel/target/surefire-reports

Comment 1 Tomas Repel 2012-05-21 16:12:10 UTC
Verified in WFK2 ER5.