[ 
https://issues.apache.org/jira/browse/CAMEL-14818?focusedWorklogId=413152&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-413152
 ]

ASF GitHub Bot logged work on CAMEL-14818:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/20 13:16
            Start Date: 31/Mar/20 13:16
    Worklog Time Spent: 10m 
      Work Description: jimothyGator commented on pull request #3697: 
[CAMEL-14818] fixes documentation for Camel Package Maven plugin
URL: https://github.com/apache/camel/pull/3697
 
 
   sources for type converter loaders were generated too late in the Maven
   build cycle. The result is that the source would be generated after the
   compile, test compile, and test phases, so they would not be available
   to unit tests.
   
   The fix is to run the maven plugin in the `pre-compile` phase rather
   than `process-classes`.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 413152)
    Remaining Estimate: 0h
            Time Spent: 10m

> Incorrect phase for camel-package-maven-plugin in upgrade guide
> ---------------------------------------------------------------
>
>                 Key: CAMEL-14818
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14818
>             Project: Camel
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.1.0
>            Reporter: Jim Cushing
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [https://camel.apache.org/manual/latest/camel-3x-upgrade-guide.html]
> As documented, the generated sources for type converter loaders will be 
> created *after* compiling. This means that the type converter loaders will 
> not be available to unit tests, etc. 
> This will go unnoticed if you (or your IDE) previously compiled the source 
> code, thus run the generator. But in a CI environment, the problem is 
> obvious, particularly if you have unit tests that use type converters.
> You can also test with `rm -rf src/generated; mvn install`.
> The solution is to change the phase from `process-classes` to `pre-compile`. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to