[
https://issues.jboss.org/browse/TEIID-5590?page=com.atlassian.jira.plugin...
]
Ramesh Reddy resolved TEIID-5590.
---------------------------------
Fix Version/s: 12.0
(was: 12.x)
Resolution: Done
Re-introduced processing of resources into the plugin as it was easier workflow,
otherwise, the user needs to create a new directory called "uberresources" that
will be picked by the Thorntail maven plugin as resources file. Since it is additional
work on user + additional knowledge needs to acquired by the user, even though it does not
make sense to put the properties file/yml file in .vdb artifact as it works exactly same
otherwise.
This change is in 1.4 release of vdb-maven-plugin
vdb-maven-plugin - version 1.3 breaks build lifecycle
-----------------------------------------------------
Key: TEIID-5590
URL:
https://issues.jboss.org/browse/TEIID-5590
Project: Teiid
Issue Type: Bug
Components: Build/Kits, VDB
Environment: {code}
2019-01-08 15:49:30
rbellamy@eanna i ~/Development/Terradatum/metrics-vdb master % uname -a
Linux eanna 4.20.0-arch1-1-ARCH #1 SMP PREEMPT Mon Dec 24 03:00:40 UTC 2018 x86_64
GNU/Linux
2019-01-08 15:52:36
rbellamy@eanna i ~/Development/Terradatum/metrics-vdb master % mvn -v
Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root;
2018-09-07T16:02:16-07:00)
Maven home: /opt/maven
Java version: 1.8.0_192, vendor: Oracle Corporation, runtime:
/usr/lib/jvm/java-8-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.20.0-arch1-1-arch", arch:
"amd64", family: "unix"
2019-01-08 15:52:40
rbellamy@eanna i ~/Development/Terradatum/metrics-vdb master % java -version
openjdk version "1.8.0_192"
OpenJDK Runtime Environment (build 1.8.0_192-b26)
OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
{code}
Reporter: G. Richard Bellamy
Assignee: Ramesh Reddy
Priority: Major
Fix For: 12.0
When building a VDB with version 1.3 of the vdb-maven-plugin, the {{src/main/resources}}
directory is NOT processed as expected. When using version 1.1, the "package"
phase has the following (correct) phases:
{code}
[INFO] 'package' is a phase corresponding to this plugin:
org.teiid:vdb-maven-plugin:vdb
It is a part of the lifecycle for the POM packaging 'vdb'. This lifecycle
includes the following phases:
* validate: Not defined
* initialize: Not defined
* generate-sources: Not defined
* process-sources: Not defined
* generate-resources: Not defined
* process-resources: org.apache.maven.plugins:maven-resources-plugin:resources
* compile: org.apache.maven.plugins:maven-compiler-plugin:compile
* process-classes: Not defined
* generate-test-sources: Not defined
* process-test-sources: Not defined
* generate-test-resources: Not defined
* process-test-resources: org.apache.maven.plugins:maven-resources-plugin:testResources
* test-compile: org.apache.maven.plugins:maven-compiler-plugin:testCompile
* process-test-classes: Not defined
* test: org.apache.maven.plugins:maven-surefire-plugin:test
* prepare-package: Not defined
* package: org.teiid:vdb-maven-plugin:vdb
* pre-integration-test: Not defined
* integration-test: Not defined
* post-integration-test: Not defined
* verify: Not defined
* install: org.apache.maven.plugins:maven-install-plugin:install
* deploy: org.apache.maven.plugins:maven-deploy-plugin:deploy
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)