You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by onders <on...@gmail.com> on 2017/05/15 06:53:27 UTC

checkstyle plugin problem

Hi,

When i pulled the source from github from master and run 
(I have not changed a line of code.) I guess Zoran was working on an issue
about checkstyles.

Did anyone have the same problem and get around with it?

mvn clean install -Psourcecheck

I got the following errors.

D:\dev\github\camel\components\camel-undertow>mvn clean install
-Psourcecheck
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Camel :: Undertow 2.20.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ camel-undertow
---
[INFO] Deleting D:\dev\github\camel\components\camel-undertow\target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
camel-undertow
---
[INFO]
[INFO] --- maven-bundle-plugin:3.3.0:cleanVersions (versions) @
camel-undertow -
--
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:checkstyle (default-cli) @
camel-underto
w ---
[INFO] Starting audit...
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\cloud\UndertowServiceExpression.java:1: Line does
not ma
tch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\cloud\UndertowServiceExpressionFactory.java:1: Line
does
 not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\DefaultUndertowHost.java:1: Line does not match
expected
 header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\DefaultUndertowHttpBinding.java:1: Line does not
match e
xpected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\ExchangeHeaders.java:1: Line does not match expected
hea
der line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\handlers\CamelMethodHandler.java:1: Line does not
match
expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\handlers\CamelPathHandler.java:1: Line does not
match ex
pected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\handlers\CamelPathTemplateHandler.java:1: Line does
not
match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\handlers\CamelRootHandler.java:1: Line does not
match ex
pected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\handlers\NotFoundHandler.java:1: Line does not match
exp
ected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\HttpHandlerRegistrationInfo.java:1: Line does not
match
expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\RestUndertowHttpBinding.java:1: Line does not match
expe
cted header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowClientCallback.java:1: Line does not match
expec
ted header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowComponent.java:1: Line does not match
expected h
eader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowComponentVerifier.java:1: Line does not
match ex
pected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowConsumer.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowEndpoint.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowHeaderFilterStrategy.java:1: Line does not
match
 expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowHelper.java:1: Line does not match expected
head
er line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowHost.java:1: Line does not match expected
header
 line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowHostKey.java:1: Line does not match expected
hea
der line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowHostOptions.java:1: Line does not match
expected
 header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowHttpBinding.java:1: Line does not match
expected
 header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowProducer.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
amel\component\undertow\UndertowRestHeaderFilterStrategy.java:1: Line does
not m
atch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\BaseUndertowTest.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\cloud\UndertowServiceCallRouteTest.java:1: Line does
not
 match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\DefaultUndertowHttpBindingTest.java:1: Line does not
mat
ch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\MultiPartFormTest.java:1: Line does not match
expected h
eader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\PreservePostFormUrlEncodedBodyTest.java:1: Line does
not
 match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\CountryPojo.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestApiUndertowTest.java:1: Line does not match
exp
ected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestGetTest.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowComponentVerifierTest.java:1: Line
does
 not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpBindingModeAutoWithJsonTest.java:1:
 Line does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpBindingModeAutoWithXmlTest.java:1:
Line does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpBindingModeJsonTest.java:1:
Line do
es not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpBindingModeJsonWithContractTest.jav
a:1: Line does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpBindingModeOffWithContractTest.java
:1: Line does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpBindingModeXmlTest.java:1: Line
doe
s not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpContextPathConfigurationTest.java:1
: Line does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpContextPathMatchGetTest.java:1:
Lin
e does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpGetCorsTest.java:1: Line does
not m
atch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpGetTest.java:1: Line does not
match
 expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpGetWildcardsTest.java:1: Line
does
not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpMultipleVerbsTest.java:1: Line
does
 not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpPojoInOutTest.java:1: Line does
not
 match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpPojoTypeTest.java:1: Line does
not
match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpPostJsonJaxbPojoTest.java:1:
Line d
oes not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpPostJsonPojoListTest.java:1:
Line d
oes not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpPostJsonPojoTest.java:1: Line
does
not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowHttpPostXmlJaxbPojoTest.java:1:
Line do
es not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowProducerGetTest.java:1: Line does
not m
atch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowProducerGetUriParameterTest.java:1:
Lin
e does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowVerbEnableCorsTest.java:1: Line
does no
t match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\RestUndertowVerbTest.java:1: Line does not
match ex
pected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\UserJaxbPojo.java:1: Line does not match
expected h
eader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\UserPojo.java:1: Line does not match expected
heade
r line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\UserPojoEx.java:1: Line does not match expected
hea
der line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\rest\UserService.java:1: Line does not match
expected he
ader line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowComponentTest.java:1: Line does not match
expect
ed header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowComponentVerifierTest.java:1: Line does not
matc
h expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowConsumerUnregisterTest.java:1: Line does not
mat
ch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowEndpointTest.java:1: Line does not match
expecte
d header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowError500Test.java:1: Line does not match
expecte
d header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowHeaderTest.java:1: Line does not match
expected
header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowHttpProducerSessionTest.java:1: Line does
not ma
tch expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowHttpProducerTest.java:1: Line does not match
exp
ected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowHttpsSpringTest.java:1: Line does not match
expe
cted header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowMethodRestricTest.java:1: Line does not
match ex
pected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowPrefixMatchingTest.java:1: Line does not
match e
xpected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowProducerLeakTest.java:1: Line does not match
exp
ected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowProducerTest.java:1: Line does not match
expecte
d header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowProducerThrowExceptionOnFailureTest.java:1:
Line
 does not match expected header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
amel\component\undertow\UndertowSharedPortTest.java:1: Line does not match
expec
ted header line of '/** '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\resources\log4j2.
properties:1: Line does not match expected header line of '##
------------------
--------------------------------------------------------- '. [Header]
[ERROR]
D:\dev\github\camel\components\camel-undertow\src\test\resources\SpringT
est.xml:2: Line does not match expected header line of '<!-- ^\Q\E$'.
[RegexpHea
der]
Audit done.
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22.740 s
[INFO] Finished at: 2017-05-15T09:46:35+03:00
[INFO] Final Memory: 33M/295M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:
2.17:checkstyle (default-cli) on project camel-undertow: An error has
occurred i
n Checkstyle report generation. Failed during checkstyle execution: There
are 77
 errors reported by Checkstyle 7.6.1 with camel-checkstyle.xml ruleset. ->
[Help
 1]



--
View this message in context: http://camel.465427.n5.nabble.com/checkstyle-plugin-problem-tp5799504.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
On Mon, May 15, 2017 at 10:01 AM, onders
<on...@gmail.com> wrote:
> I have done but no success.
> I'll try what Claus suggested.

if that fails ping me, I'd like to help you and see if there is
anything we can do to prevent developers running into issues,

zoran
-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by onders <on...@gmail.com>.
I have done but no success.
I'll try what Claus suggested.

Thanks.



--
View this message in context: http://camel.465427.n5.nabble.com/checkstyle-plugin-problem-tp5799504p5799510.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,
this should be due to older version of camel-buildtools in your local
maven repository, try `mvn install` just from `buildingtools` first,
if you still have issues ping me on IRC so we can troubleshoot,

zoran

On Mon, May 15, 2017 at 8:53 AM, onders <on...@gmail.com> wrote:
> When i pulled the source from github from master and run
> (I have not changed a line of code.) I guess Zoran was working on an issue
> about checkstyles.
>
> Did anyone have the same problem and get around with it?
>
> mvn clean install -Psourcecheck




-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, May 15, 2017 at 1:26 PM, onders <on...@gmail.com> wrote:
> yes i guess so.
> there was no such a issue and it's been recently introduced due to our
> company security policies. and after doing what Claus suggested, i am
> totally screwed up, because all jar's are generated as corrupted. I can not
> build anything.
>

Ah yeah I have heard of others with that problem.

Its a bit sad that Apache Maven dont have any CRC check OOTB of some
kind to check that the downloaded JARs are as expected or at least not
a HTML page, which you often would see in case of HTTP proxy errors.

I heard stories about people about to give talks and on hotel wifi,
they had it download over Maven and cause these kind of problems, and
they were in trouble before their talks.


> I'll try and see what i can do.
> Any suggestions are welcome.
>
> Thanks.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/checkstyle-plugin-problem-tp5799504p5799532.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Re: checkstyle plugin problem

Posted by Onder SEZGIN <on...@gmail.com>.
Thanks Zoran. You seem to provide it. I have tested on Windows(yes it was
windows), it is working.
Thanks

On Tue, Jun 6, 2017 at 4:57 PM, Zoran Regvart <zo...@regvart.com> wrote:

> Hi Önder,
> there is a small beanshell script that converts the header-*.txt files
> into string expressions expected by checkstyle[1].
> It somewhat strange process but the idea is that there is only one
> header.txt[2] and all other header-*.txt files are generated from it.
> My guess is that I haven't thought about platform line endings in that
> beanshell script, and when you build on your machine (Windows?) it
> fails to produce the same as on Unix,
>
> I'll take a look it should be a simple fix,
>
> zoran
>
> [1] https://github.com/apache/camel/blob/master/
> buildingtools/pom.xml#L106-L111
> [2] https://github.com/apache/camel/blob/master/buildingtools/src/main/
> resources/header.txt
>
> On Tue, Jun 6, 2017 at 7:10 AM, Onder SEZGIN <on...@gmail.com>
> wrote:
> > Hi,
> >
> > I am building on my local.
> > and if i build buildingtools and after try to run
> >
> > - mvn clean install -Psourcecheck
> >
> > I get lots of checkstyle errors.
> >
> > However, if i go to my local repo and delete camel-buildtools folder and
> > afterwards if i run the build for the same component.
> > Checkstyle seems fine.
> >
> > so i found out after comparing both the jar file downloaded by maven and
> my
> > locally built camel-buildtools-2.20.0-SNAPSHOT jar files, that
> >
> > <module name="Header"> part has small difference due to new lines (which
> is
> > in my local build whereas the one on apache repos has single line. )
> >
> > The source code on my local has single line for them too, i am not sure
> how
> > they become multi line and causes failure.
> >
> > Any clue appreciated.
> >
> > Thanks.
> >
> >
> >
> > On Wed, May 17, 2017 at 10:52 AM, Zoran Regvart <zo...@regvart.com>
> wrote:
> >
> >> Hi Önder,
> >> yeah, snapshots are at repository.apache.org[1] perhaps you can get
> >> that Archiva instance to proxy[2] to:
> >>
> >> https://repository.apache.org/content/groups/public/
> >>
> >> zoran
> >>
> >> [1] https://repository.apache.org/#nexus-search;gav~org.apache.
> >> camel~camel-core~2.20.0-SNAPSHOT~~
> >> [2] https://archiva.apache.org/docs/2.2.3/adminguide/proxy-
> connectors.html
> >>
> >> On Wed, May 17, 2017 at 9:43 AM, Onder SEZGIN <on...@gmail.com>
> >> wrote:
> >> > Hi Zoran,
> >> >
> >> > apparently we have archiava running which has not been maintained for
> a
> >> > long time.
> >> >
> >> > i figured out that archiava has access to maven public repo. so i
> changed
> >> > my maven's setting.xml to point that archiava. however i am failing to
> >> run
> >> > mvn install. i guess it does not have access to snapshot repos. i'll
> try
> >> to
> >> > check and see. thanks for your advices.
> >> >
> >> > Önder
> >> >
> >> >
> >> > On Tue, 16 May 2017 at 09:13, Zoran Regvart <zo...@regvart.com>
> wrote:
> >> >
> >> >> Hi Önder,
> >> >> that's a real bummer :(
> >> >>
> >> >> Perhaps you you can make the case that it's needed for work and it
> >> >> ruins everybody's productivity and convince the IT to either pass
> >> >> certain sites (like repo.maven.org and repository.apache.org), or
> can
> >> >> run a Maven repository manager (like Nexus) and the IT can allow the
> >> >> that host to access the internet without proxy.
> >> >>
> >> >> zoran
> >> >>
> >> >> On Mon, May 15, 2017 at 9:14 PM, Onder SEZGIN <ondersezgin@gmail.com
> >
> >> >> wrote:
> >> >> > well, obviously
> >> >> > i've tried different settings today but have not come up with a
> >> result.
> >> >> >
> >> >> > Unless network admin does change the policy, i don't seem to
> connect.
> >> >> > For reference i would like share wget result. (in my previous post,
> >> i'd
> >> >> > mentioned i could use wget. this is partially connect. i can get
> jar
> >> file
> >> >> > maven http repos but for snapshots i guess the situation is a bit
> >> >> different
> >> >> > event http and https results in the same telling that 302-HTTP
> status)
> >> >> >
> >> >> >
> >> >> > $ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
> >> >> >
> >> >> http://repository.apache.org/content/groups/snapshots/org/
> >> apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-
> >> buildtools-2.20.0-20170511.100836-14.jar
> >> >> >
> >> >> > --2017-05-15 21:59:57--
> >> >> >
> >> >> http://repository.apache.org/content/groups/snapshots/org/
> >> apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-
> >> buildtools-2.20.0-20170511.100836-14.jar
> >> >> > Connecting to 127.0.0.1:3128... connected.
> >> >> > Proxy request sent, awaiting response... 302 Moved Temporarily
> >> >> > Location: http://
> >> >> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?
> >> ws-session=929304523
> >> >> > [following]
> >> >> > --2017-05-15 22:00:39--  http://
> >> >> >
> >> >> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?
> >> ws-session=929304523
> >> >> > Connecting to 127.0.0.1:3128... connected.
> >> >> > Proxy request sent, awaiting response... 200 OK
> >> >> > Length: 1990 (1.9K) [text/html]
> >> >> > Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’
> >> >> >
> >> >> > camel-buildtools-2.20.0-20170511.100836-14.jar.3
> >> >> >
> >> >> 100%[=======================================================
> >> ============================================================
> ============>]
> >> >> >   1.94K  --.-KB/s    in 0s
> >> >> >
> >> >> > 2017-05-15 22:00:39 (55.7 MB/s) -
> >> >> > ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved
> [1990/1990]
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Zoran Regvart
> >> >>
> >> > --
> >> > Sent from my iPhone
> >>
> >>
> >>
> >> --
> >> Zoran Regvart
> >>
>
>
>
> --
> Zoran Regvart
>

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,
there is a small beanshell script that converts the header-*.txt files
into string expressions expected by checkstyle[1].
It somewhat strange process but the idea is that there is only one
header.txt[2] and all other header-*.txt files are generated from it.
My guess is that I haven't thought about platform line endings in that
beanshell script, and when you build on your machine (Windows?) it
fails to produce the same as on Unix,

I'll take a look it should be a simple fix,

zoran

[1] https://github.com/apache/camel/blob/master/buildingtools/pom.xml#L106-L111
[2] https://github.com/apache/camel/blob/master/buildingtools/src/main/resources/header.txt

On Tue, Jun 6, 2017 at 7:10 AM, Onder SEZGIN <on...@gmail.com> wrote:
> Hi,
>
> I am building on my local.
> and if i build buildingtools and after try to run
>
> - mvn clean install -Psourcecheck
>
> I get lots of checkstyle errors.
>
> However, if i go to my local repo and delete camel-buildtools folder and
> afterwards if i run the build for the same component.
> Checkstyle seems fine.
>
> so i found out after comparing both the jar file downloaded by maven and my
> locally built camel-buildtools-2.20.0-SNAPSHOT jar files, that
>
> <module name="Header"> part has small difference due to new lines (which is
> in my local build whereas the one on apache repos has single line. )
>
> The source code on my local has single line for them too, i am not sure how
> they become multi line and causes failure.
>
> Any clue appreciated.
>
> Thanks.
>
>
>
> On Wed, May 17, 2017 at 10:52 AM, Zoran Regvart <zo...@regvart.com> wrote:
>
>> Hi Önder,
>> yeah, snapshots are at repository.apache.org[1] perhaps you can get
>> that Archiva instance to proxy[2] to:
>>
>> https://repository.apache.org/content/groups/public/
>>
>> zoran
>>
>> [1] https://repository.apache.org/#nexus-search;gav~org.apache.
>> camel~camel-core~2.20.0-SNAPSHOT~~
>> [2] https://archiva.apache.org/docs/2.2.3/adminguide/proxy-connectors.html
>>
>> On Wed, May 17, 2017 at 9:43 AM, Onder SEZGIN <on...@gmail.com>
>> wrote:
>> > Hi Zoran,
>> >
>> > apparently we have archiava running which has not been maintained for a
>> > long time.
>> >
>> > i figured out that archiava has access to maven public repo. so i changed
>> > my maven's setting.xml to point that archiava. however i am failing to
>> run
>> > mvn install. i guess it does not have access to snapshot repos. i'll try
>> to
>> > check and see. thanks for your advices.
>> >
>> > Önder
>> >
>> >
>> > On Tue, 16 May 2017 at 09:13, Zoran Regvart <zo...@regvart.com> wrote:
>> >
>> >> Hi Önder,
>> >> that's a real bummer :(
>> >>
>> >> Perhaps you you can make the case that it's needed for work and it
>> >> ruins everybody's productivity and convince the IT to either pass
>> >> certain sites (like repo.maven.org and repository.apache.org), or can
>> >> run a Maven repository manager (like Nexus) and the IT can allow the
>> >> that host to access the internet without proxy.
>> >>
>> >> zoran
>> >>
>> >> On Mon, May 15, 2017 at 9:14 PM, Onder SEZGIN <on...@gmail.com>
>> >> wrote:
>> >> > well, obviously
>> >> > i've tried different settings today but have not come up with a
>> result.
>> >> >
>> >> > Unless network admin does change the policy, i don't seem to connect.
>> >> > For reference i would like share wget result. (in my previous post,
>> i'd
>> >> > mentioned i could use wget. this is partially connect. i can get jar
>> file
>> >> > maven http repos but for snapshots i guess the situation is a bit
>> >> different
>> >> > event http and https results in the same telling that 302-HTTP status)
>> >> >
>> >> >
>> >> > $ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
>> >> >
>> >> http://repository.apache.org/content/groups/snapshots/org/
>> apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-
>> buildtools-2.20.0-20170511.100836-14.jar
>> >> >
>> >> > --2017-05-15 21:59:57--
>> >> >
>> >> http://repository.apache.org/content/groups/snapshots/org/
>> apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-
>> buildtools-2.20.0-20170511.100836-14.jar
>> >> > Connecting to 127.0.0.1:3128... connected.
>> >> > Proxy request sent, awaiting response... 302 Moved Temporarily
>> >> > Location: http://
>> >> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?
>> ws-session=929304523
>> >> > [following]
>> >> > --2017-05-15 22:00:39--  http://
>> >> >
>> >> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?
>> ws-session=929304523
>> >> > Connecting to 127.0.0.1:3128... connected.
>> >> > Proxy request sent, awaiting response... 200 OK
>> >> > Length: 1990 (1.9K) [text/html]
>> >> > Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’
>> >> >
>> >> > camel-buildtools-2.20.0-20170511.100836-14.jar.3
>> >> >
>> >> 100%[=======================================================
>> ========================================================================>]
>> >> >   1.94K  --.-KB/s    in 0s
>> >> >
>> >> > 2017-05-15 22:00:39 (55.7 MB/s) -
>> >> > ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved [1990/1990]
>> >>
>> >>
>> >>
>> >> --
>> >> Zoran Regvart
>> >>
>> > --
>> > Sent from my iPhone
>>
>>
>>
>> --
>> Zoran Regvart
>>



-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by Onder SEZGIN <on...@gmail.com>.
Hi,

I am building on my local.
and if i build buildingtools and after try to run

- mvn clean install -Psourcecheck

I get lots of checkstyle errors.

However, if i go to my local repo and delete camel-buildtools folder and
afterwards if i run the build for the same component.
Checkstyle seems fine.

so i found out after comparing both the jar file downloaded by maven and my
locally built camel-buildtools-2.20.0-SNAPSHOT jar files, that

<module name="Header"> part has small difference due to new lines (which is
in my local build whereas the one on apache repos has single line. )

The source code on my local has single line for them too, i am not sure how
they become multi line and causes failure.

Any clue appreciated.

Thanks.



On Wed, May 17, 2017 at 10:52 AM, Zoran Regvart <zo...@regvart.com> wrote:

> Hi Önder,
> yeah, snapshots are at repository.apache.org[1] perhaps you can get
> that Archiva instance to proxy[2] to:
>
> https://repository.apache.org/content/groups/public/
>
> zoran
>
> [1] https://repository.apache.org/#nexus-search;gav~org.apache.
> camel~camel-core~2.20.0-SNAPSHOT~~
> [2] https://archiva.apache.org/docs/2.2.3/adminguide/proxy-connectors.html
>
> On Wed, May 17, 2017 at 9:43 AM, Onder SEZGIN <on...@gmail.com>
> wrote:
> > Hi Zoran,
> >
> > apparently we have archiava running which has not been maintained for a
> > long time.
> >
> > i figured out that archiava has access to maven public repo. so i changed
> > my maven's setting.xml to point that archiava. however i am failing to
> run
> > mvn install. i guess it does not have access to snapshot repos. i'll try
> to
> > check and see. thanks for your advices.
> >
> > Önder
> >
> >
> > On Tue, 16 May 2017 at 09:13, Zoran Regvart <zo...@regvart.com> wrote:
> >
> >> Hi Önder,
> >> that's a real bummer :(
> >>
> >> Perhaps you you can make the case that it's needed for work and it
> >> ruins everybody's productivity and convince the IT to either pass
> >> certain sites (like repo.maven.org and repository.apache.org), or can
> >> run a Maven repository manager (like Nexus) and the IT can allow the
> >> that host to access the internet without proxy.
> >>
> >> zoran
> >>
> >> On Mon, May 15, 2017 at 9:14 PM, Onder SEZGIN <on...@gmail.com>
> >> wrote:
> >> > well, obviously
> >> > i've tried different settings today but have not come up with a
> result.
> >> >
> >> > Unless network admin does change the policy, i don't seem to connect.
> >> > For reference i would like share wget result. (in my previous post,
> i'd
> >> > mentioned i could use wget. this is partially connect. i can get jar
> file
> >> > maven http repos but for snapshots i guess the situation is a bit
> >> different
> >> > event http and https results in the same telling that 302-HTTP status)
> >> >
> >> >
> >> > $ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
> >> >
> >> http://repository.apache.org/content/groups/snapshots/org/
> apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-
> buildtools-2.20.0-20170511.100836-14.jar
> >> >
> >> > --2017-05-15 21:59:57--
> >> >
> >> http://repository.apache.org/content/groups/snapshots/org/
> apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-
> buildtools-2.20.0-20170511.100836-14.jar
> >> > Connecting to 127.0.0.1:3128... connected.
> >> > Proxy request sent, awaiting response... 302 Moved Temporarily
> >> > Location: http://
> >> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?
> ws-session=929304523
> >> > [following]
> >> > --2017-05-15 22:00:39--  http://
> >> >
> >> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?
> ws-session=929304523
> >> > Connecting to 127.0.0.1:3128... connected.
> >> > Proxy request sent, awaiting response... 200 OK
> >> > Length: 1990 (1.9K) [text/html]
> >> > Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’
> >> >
> >> > camel-buildtools-2.20.0-20170511.100836-14.jar.3
> >> >
> >> 100%[=======================================================
> ========================================================================>]
> >> >   1.94K  --.-KB/s    in 0s
> >> >
> >> > 2017-05-15 22:00:39 (55.7 MB/s) -
> >> > ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved [1990/1990]
> >>
> >>
> >>
> >> --
> >> Zoran Regvart
> >>
> > --
> > Sent from my iPhone
>
>
>
> --
> Zoran Regvart
>

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,
yeah, snapshots are at repository.apache.org[1] perhaps you can get
that Archiva instance to proxy[2] to:

https://repository.apache.org/content/groups/public/

zoran

[1] https://repository.apache.org/#nexus-search;gav~org.apache.camel~camel-core~2.20.0-SNAPSHOT~~
[2] https://archiva.apache.org/docs/2.2.3/adminguide/proxy-connectors.html

On Wed, May 17, 2017 at 9:43 AM, Onder SEZGIN <on...@gmail.com> wrote:
> Hi Zoran,
>
> apparently we have archiava running which has not been maintained for a
> long time.
>
> i figured out that archiava has access to maven public repo. so i changed
> my maven's setting.xml to point that archiava. however i am failing to run
> mvn install. i guess it does not have access to snapshot repos. i'll try to
> check and see. thanks for your advices.
>
> Önder
>
>
> On Tue, 16 May 2017 at 09:13, Zoran Regvart <zo...@regvart.com> wrote:
>
>> Hi Önder,
>> that's a real bummer :(
>>
>> Perhaps you you can make the case that it's needed for work and it
>> ruins everybody's productivity and convince the IT to either pass
>> certain sites (like repo.maven.org and repository.apache.org), or can
>> run a Maven repository manager (like Nexus) and the IT can allow the
>> that host to access the internet without proxy.
>>
>> zoran
>>
>> On Mon, May 15, 2017 at 9:14 PM, Onder SEZGIN <on...@gmail.com>
>> wrote:
>> > well, obviously
>> > i've tried different settings today but have not come up with a result.
>> >
>> > Unless network admin does change the policy, i don't seem to connect.
>> > For reference i would like share wget result. (in my previous post, i'd
>> > mentioned i could use wget. this is partially connect. i can get jar file
>> > maven http repos but for snapshots i guess the situation is a bit
>> different
>> > event http and https results in the same telling that 302-HTTP status)
>> >
>> >
>> > $ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
>> >
>> http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
>> >
>> > --2017-05-15 21:59:57--
>> >
>> http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
>> > Connecting to 127.0.0.1:3128... connected.
>> > Proxy request sent, awaiting response... 302 Moved Temporarily
>> > Location: http://
>> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
>> > [following]
>> > --2017-05-15 22:00:39--  http://
>> >
>> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
>> > Connecting to 127.0.0.1:3128... connected.
>> > Proxy request sent, awaiting response... 200 OK
>> > Length: 1990 (1.9K) [text/html]
>> > Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’
>> >
>> > camel-buildtools-2.20.0-20170511.100836-14.jar.3
>> >
>> 100%[===============================================================================================================================>]
>> >   1.94K  --.-KB/s    in 0s
>> >
>> > 2017-05-15 22:00:39 (55.7 MB/s) -
>> > ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved [1990/1990]
>>
>>
>>
>> --
>> Zoran Regvart
>>
> --
> Sent from my iPhone



-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by Onder SEZGIN <on...@gmail.com>.
Hi Zoran,

apparently we have archiava running which has not been maintained for a
long time.

i figured out that archiava has access to maven public repo. so i changed
my maven's setting.xml to point that archiava. however i am failing to run
mvn install. i guess it does not have access to snapshot repos. i'll try to
check and see. thanks for your advices.

Önder


On Tue, 16 May 2017 at 09:13, Zoran Regvart <zo...@regvart.com> wrote:

> Hi Önder,
> that's a real bummer :(
>
> Perhaps you you can make the case that it's needed for work and it
> ruins everybody's productivity and convince the IT to either pass
> certain sites (like repo.maven.org and repository.apache.org), or can
> run a Maven repository manager (like Nexus) and the IT can allow the
> that host to access the internet without proxy.
>
> zoran
>
> On Mon, May 15, 2017 at 9:14 PM, Onder SEZGIN <on...@gmail.com>
> wrote:
> > well, obviously
> > i've tried different settings today but have not come up with a result.
> >
> > Unless network admin does change the policy, i don't seem to connect.
> > For reference i would like share wget result. (in my previous post, i'd
> > mentioned i could use wget. this is partially connect. i can get jar file
> > maven http repos but for snapshots i guess the situation is a bit
> different
> > event http and https results in the same telling that 302-HTTP status)
> >
> >
> > $ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
> >
> http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
> >
> > --2017-05-15 21:59:57--
> >
> http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
> > Connecting to 127.0.0.1:3128... connected.
> > Proxy request sent, awaiting response... 302 Moved Temporarily
> > Location: http://
> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
> > [following]
> > --2017-05-15 22:00:39--  http://
> >
> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
> > Connecting to 127.0.0.1:3128... connected.
> > Proxy request sent, awaiting response... 200 OK
> > Length: 1990 (1.9K) [text/html]
> > Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’
> >
> > camel-buildtools-2.20.0-20170511.100836-14.jar.3
> >
> 100%[===============================================================================================================================>]
> >   1.94K  --.-KB/s    in 0s
> >
> > 2017-05-15 22:00:39 (55.7 MB/s) -
> > ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved [1990/1990]
>
>
>
> --
> Zoran Regvart
>
-- 
Sent from my iPhone

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,
that's a real bummer :(

Perhaps you you can make the case that it's needed for work and it
ruins everybody's productivity and convince the IT to either pass
certain sites (like repo.maven.org and repository.apache.org), or can
run a Maven repository manager (like Nexus) and the IT can allow the
that host to access the internet without proxy.

zoran

On Mon, May 15, 2017 at 9:14 PM, Onder SEZGIN <on...@gmail.com> wrote:
> well, obviously
> i've tried different settings today but have not come up with a result.
>
> Unless network admin does change the policy, i don't seem to connect.
> For reference i would like share wget result. (in my previous post, i'd
> mentioned i could use wget. this is partially connect. i can get jar file
> maven http repos but for snapshots i guess the situation is a bit different
> event http and https results in the same telling that 302-HTTP status)
>
>
> $ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
> http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
>
> --2017-05-15 21:59:57--
> http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
> Connecting to 127.0.0.1:3128... connected.
> Proxy request sent, awaiting response... 302 Moved Temporarily
> Location: http://<corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
> [following]
> --2017-05-15 22:00:39--  http://
> <corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
> Connecting to 127.0.0.1:3128... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 1990 (1.9K) [text/html]
> Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’
>
> camel-buildtools-2.20.0-20170511.100836-14.jar.3
> 100%[===============================================================================================================================>]
>   1.94K  --.-KB/s    in 0s
>
> 2017-05-15 22:00:39 (55.7 MB/s) -
> ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved [1990/1990]



-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by Onder SEZGIN <on...@gmail.com>.
well, obviously
i've tried different settings today but have not come up with a result.

Unless network admin does change the policy, i don't seem to connect.
For reference i would like share wget result. (in my previous post, i'd
mentioned i could use wget. this is partially connect. i can get jar file
maven http repos but for snapshots i guess the situation is a bit different
event http and https results in the same telling that 302-HTTP status)


$ wget -e http_proxy=http://127.0.0.1:3128 --no-check-certificate
http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar

--2017-05-15 21:59:57--
http://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-buildtools/2.20.0-SNAPSHOT/camel-buildtools-2.20.0-20170511.100836-14.jar
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location: http://<corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
[following]
--2017-05-15 22:00:39--  http://
<corporate_ip>:<corporate_port>/cgi-bin/blockpage.cgi?ws-session=929304523
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1990 (1.9K) [text/html]
Saving to: ‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’

camel-buildtools-2.20.0-20170511.100836-14.jar.3
100%[===============================================================================================================================>]
  1.94K  --.-KB/s    in 0s

2017-05-15 22:00:39 (55.7 MB/s) -
‘camel-buildtools-2.20.0-20170511.100836-14.jar.3’ saved [1990/1990]






On Mon, May 15, 2017 at 2:56 PM, onders <on...@gmail.com>
wrote:

> I dont have access without proxy
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/checkstyle-plugin-problem-tp5799504p5799538.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>

Re: checkstyle plugin problem

Posted by onders <on...@gmail.com>.
I dont have access without proxy 



--
View this message in context: http://camel.465427.n5.nabble.com/checkstyle-plugin-problem-tp5799504p5799538.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
On Mon, May 15, 2017 at 1:26 PM, onders <on...@gmail.com> wrote:
> Any suggestions are welcome.

if wget-ed jars are OK, perhaps you can put nonProxyHosts[1]
configuration for repo.maven.apache.org?

zoran
[1] https://maven.apache.org/guides/mini/guide-proxies.html
-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by onders <on...@gmail.com>.
yes i guess so.
there was no such a issue and it's been recently introduced due to our
company security policies. and after doing what Claus suggested, i am
totally screwed up, because all jar's are generated as corrupted. I can not
build anything. 

I'll try and see what i can do. 
Any suggestions are welcome.

Thanks.



--
View this message in context: http://camel.465427.n5.nabble.com/checkstyle-plugin-problem-tp5799504p5799532.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: checkstyle plugin problem

Posted by Zoran Regvart <zo...@regvart.com>.
Hi Önder,

On Mon, May 15, 2017 at 10:00 AM, Onder SEZGIN <on...@gmail.com> wrote:
> I have to manually update those jar by downloading them via wget.
>
> Do you know a workaround for such issues?

Could it be that you have a proxy configured to scan for viruses? I've
seen instances of security appliances that inject class files into
downloaded jars, effectively corrupting them.

If you're working with -SNAPSHOT versions you can add -U command line
switch to Maven to force updating them from the repository (e.g. mvn
-U install),

zoran
-- 
Zoran Regvart

Re: checkstyle plugin problem

Posted by Onder SEZGIN <on...@gmail.com>.
Thanks. I'll try that.

I would like to ask one more thing.

Lately, i have been running into an issue like some jars are downloaded as
corrupt file.
I have to manually update those jar by downloading them via wget.

Do you know a workaround for such issues?

Thanks.
Önder



On Mon, May 15, 2017 at 10:14 AM, Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> I suggest to build it all from scratch first using the fast build.
> And possible delete your local maven org/apache/camel repo.
>
>
>
> On Mon, May 15, 2017 at 8:53 AM, onders <on...@gmail.com>
> wrote:
> > Hi,
> >
> > When i pulled the source from github from master and run
> > (I have not changed a line of code.) I guess Zoran was working on an
> issue
> > about checkstyles.
> >
> > Did anyone have the same problem and get around with it?
> >
> > mvn clean install -Psourcecheck
> >
> > I got the following errors.
> >
> > D:\dev\github\camel\components\camel-undertow>mvn clean install
> > -Psourcecheck
> > [INFO] Scanning for projects...
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Camel :: Undertow 2.20.0-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @
> camel-undertow
> > ---
> > [INFO] Deleting D:\dev\github\camel\components\camel-undertow\target
> > [INFO]
> > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> > camel-undertow
> > ---
> > [INFO]
> > [INFO] --- maven-bundle-plugin:3.3.0:cleanVersions (versions) @
> > camel-undertow -
> > --
> > [INFO]
> > [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (default-cli) @
> > camel-underto
> > w ---
> > [INFO] Starting audit...
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\cloud\UndertowServiceExpression.java:1: Line
> does
> > not ma
> > tch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\cloud\UndertowServiceExpressionFactory.java:1:
> Line
> > does
> >  not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\DefaultUndertowHost.java:1: Line does not match
> > expected
> >  header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\DefaultUndertowHttpBinding.java:1: Line does not
> > match e
> > xpected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\ExchangeHeaders.java:1: Line does not match
> expected
> > hea
> > der line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\handlers\CamelMethodHandler.java:1: Line does
> not
> > match
> > expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\handlers\CamelPathHandler.java:1: Line does not
> > match ex
> > pected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\handlers\CamelPathTemplateHandler.java:1: Line
> does
> > not
> > match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\handlers\CamelRootHandler.java:1: Line does not
> > match ex
> > pected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\handlers\NotFoundHandler.java:1: Line does not
> match
> > exp
> > ected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\HttpHandlerRegistrationInfo.java:1: Line does
> not
> > match
> > expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\RestUndertowHttpBinding.java:1: Line does not
> match
> > expe
> > cted header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowClientCallback.java:1: Line does not
> match
> > expec
> > ted header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowComponent.java:1: Line does not match
> > expected h
> > eader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowComponentVerifier.java:1: Line does not
> > match ex
> > pected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowConsumer.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowEndpoint.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowHeaderFilterStrategy.java:1: Line does
> not
> > match
> >  expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowHelper.java:1: Line does not match
> expected
> > head
> > er line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowHost.java:1: Line does not match
> expected
> > header
> >  line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowHostKey.java:1: Line does not match
> expected
> > hea
> > der line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowHostOptions.java:1: Line does not match
> > expected
> >  header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowHttpBinding.java:1: Line does not match
> > expected
> >  header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowProducer.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> > amel\component\undertow\UndertowRestHeaderFilterStrategy.java:1: Line
> does
> > not m
> > atch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\BaseUndertowTest.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\cloud\UndertowServiceCallRouteTest.java:1: Line
> does
> > not
> >  match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\DefaultUndertowHttpBindingTest.java:1: Line
> does not
> > mat
> > ch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\MultiPartFormTest.java:1: Line does not match
> > expected h
> > eader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\PreservePostFormUrlEncodedBodyTest.java:1: Line
> does
> > not
> >  match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\CountryPojo.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestApiUndertowTest.java:1: Line does not
> match
> > exp
> > ected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestGetTest.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowComponentVerifierTest.java:1:
> Line
> > does
> >  not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpBindingModeAut
> oWithJsonTest.java:1:
> >  Line does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpBindingModeAut
> oWithXmlTest.java:1:
> > Line does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpBindingModeJsonTest.java:1:
> > Line do
> > es not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpBindingModeJso
> nWithContractTest.jav
> > a:1: Line does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpBindingModeOff
> WithContractTest.java
> > :1: Line does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpBindingModeXmlTest.java:1:
> Line
> > doe
> > s not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpContextPathCon
> figurationTest.java:1
> > : Line does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpContextPathMat
> chGetTest.java:1:
> > Lin
> > e does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpGetCorsTest.java:1: Line
> does
> > not m
> > atch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpGetTest.java:1: Line does
> not
> > match
> >  expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpGetWildcardsTest.java:1:
> Line
> > does
> > not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpMultipleVerbsTest.java:1:
> Line
> > does
> >  not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpPojoInOutTest.java:1: Line
> does
> > not
> >  match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpPojoTypeTest.java:1: Line
> does
> > not
> > match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpPostJsonJaxbPo
> joTest.java:1:
> > Line d
> > oes not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpPostJsonPojoLi
> stTest.java:1:
> > Line d
> > oes not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpPostJsonPojoTest.java:1:
> Line
> > does
> > not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowHttpPostXmlJaxbPojoTest.java:1:
> > Line do
> > es not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowProducerGetTest.java:1: Line
> does
> > not m
> > atch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowProducerGetUriPara
> meterTest.java:1:
> > Lin
> > e does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowVerbEnableCorsTest.java:1: Line
> > does no
> > t match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\RestUndertowVerbTest.java:1: Line does not
> > match ex
> > pected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\UserJaxbPojo.java:1: Line does not match
> > expected h
> > eader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\UserPojo.java:1: Line does not match
> expected
> > heade
> > r line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\UserPojoEx.java:1: Line does not match
> expected
> > hea
> > der line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\rest\UserService.java:1: Line does not match
> > expected he
> > ader line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowComponentTest.java:1: Line does not
> match
> > expect
> > ed header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowComponentVerifierTest.java:1: Line does
> not
> > matc
> > h expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowConsumerUnregisterTest.java:1: Line
> does not
> > mat
> > ch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowEndpointTest.java:1: Line does not match
> > expecte
> > d header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowError500Test.java:1: Line does not match
> > expecte
> > d header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowHeaderTest.java:1: Line does not match
> > expected
> > header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowHttpProducerSessionTest.java:1: Line
> does
> > not ma
> > tch expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowHttpProducerTest.java:1: Line does not
> match
> > exp
> > ected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowHttpsSpringTest.java:1: Line does not
> match
> > expe
> > cted header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowMethodRestricTest.java:1: Line does not
> > match ex
> > pected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowPrefixMatchingTest.java:1: Line does not
> > match e
> > xpected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowProducerLeakTest.java:1: Line does not
> match
> > exp
> > ected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowProducerTest.java:1: Line does not match
> > expecte
> > d header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowProducerThrowException
> OnFailureTest.java:1:
> > Line
> >  does not match expected header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> > amel\component\undertow\UndertowSharedPortTest.java:1: Line does not
> match
> > expec
> > ted header line of '/** '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\resources\log4j2.
> > properties:1: Line does not match expected header line of '##
> > ------------------
> > --------------------------------------------------------- '. [Header]
> > [ERROR]
> > D:\dev\github\camel\components\camel-undertow\src\test\resources\SpringT
> > est.xml:2: Line does not match expected header line of '<!-- ^\Q\E$'.
> > [RegexpHea
> > der]
> > Audit done.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 22.740 s
> > [INFO] Finished at: 2017-05-15T09:46:35+03:00
> > [INFO] Final Memory: 33M/295M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-checkstyle-plugin:
> > 2.17:checkstyle (default-cli) on project camel-undertow: An error has
> > occurred i
> > n Checkstyle report generation. Failed during checkstyle execution: There
> > are 77
> >  errors reported by Checkstyle 7.6.1 with camel-checkstyle.xml ruleset.
> ->
> > [Help
> >  1]
> >
> >
> >
> > --
> > View this message in context: http://camel.465427.n5.nabble.
> com/checkstyle-plugin-problem-tp5799504.html
> > Sent from the Camel Development mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Re: checkstyle plugin problem

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I suggest to build it all from scratch first using the fast build.
And possible delete your local maven org/apache/camel repo.



On Mon, May 15, 2017 at 8:53 AM, onders <on...@gmail.com> wrote:
> Hi,
>
> When i pulled the source from github from master and run
> (I have not changed a line of code.) I guess Zoran was working on an issue
> about checkstyles.
>
> Did anyone have the same problem and get around with it?
>
> mvn clean install -Psourcecheck
>
> I got the following errors.
>
> D:\dev\github\camel\components\camel-undertow>mvn clean install
> -Psourcecheck
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Camel :: Undertow 2.20.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ camel-undertow
> ---
> [INFO] Deleting D:\dev\github\camel\components\camel-undertow\target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> camel-undertow
> ---
> [INFO]
> [INFO] --- maven-bundle-plugin:3.3.0:cleanVersions (versions) @
> camel-undertow -
> --
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (default-cli) @
> camel-underto
> w ---
> [INFO] Starting audit...
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\cloud\UndertowServiceExpression.java:1: Line does
> not ma
> tch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\cloud\UndertowServiceExpressionFactory.java:1: Line
> does
>  not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\DefaultUndertowHost.java:1: Line does not match
> expected
>  header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\DefaultUndertowHttpBinding.java:1: Line does not
> match e
> xpected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\ExchangeHeaders.java:1: Line does not match expected
> hea
> der line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\handlers\CamelMethodHandler.java:1: Line does not
> match
> expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\handlers\CamelPathHandler.java:1: Line does not
> match ex
> pected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\handlers\CamelPathTemplateHandler.java:1: Line does
> not
> match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\handlers\CamelRootHandler.java:1: Line does not
> match ex
> pected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\handlers\NotFoundHandler.java:1: Line does not match
> exp
> ected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\HttpHandlerRegistrationInfo.java:1: Line does not
> match
> expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\RestUndertowHttpBinding.java:1: Line does not match
> expe
> cted header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowClientCallback.java:1: Line does not match
> expec
> ted header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowComponent.java:1: Line does not match
> expected h
> eader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowComponentVerifier.java:1: Line does not
> match ex
> pected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowConsumer.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowEndpoint.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowHeaderFilterStrategy.java:1: Line does not
> match
>  expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowHelper.java:1: Line does not match expected
> head
> er line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowHost.java:1: Line does not match expected
> header
>  line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowHostKey.java:1: Line does not match expected
> hea
> der line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowHostOptions.java:1: Line does not match
> expected
>  header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowHttpBinding.java:1: Line does not match
> expected
>  header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowProducer.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\main\java\org\apache\c
> amel\component\undertow\UndertowRestHeaderFilterStrategy.java:1: Line does
> not m
> atch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\BaseUndertowTest.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\cloud\UndertowServiceCallRouteTest.java:1: Line does
> not
>  match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\DefaultUndertowHttpBindingTest.java:1: Line does not
> mat
> ch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\MultiPartFormTest.java:1: Line does not match
> expected h
> eader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\PreservePostFormUrlEncodedBodyTest.java:1: Line does
> not
>  match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\CountryPojo.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestApiUndertowTest.java:1: Line does not match
> exp
> ected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestGetTest.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowComponentVerifierTest.java:1: Line
> does
>  not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpBindingModeAutoWithJsonTest.java:1:
>  Line does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpBindingModeAutoWithXmlTest.java:1:
> Line does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpBindingModeJsonTest.java:1:
> Line do
> es not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpBindingModeJsonWithContractTest.jav
> a:1: Line does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpBindingModeOffWithContractTest.java
> :1: Line does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpBindingModeXmlTest.java:1: Line
> doe
> s not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpContextPathConfigurationTest.java:1
> : Line does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpContextPathMatchGetTest.java:1:
> Lin
> e does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpGetCorsTest.java:1: Line does
> not m
> atch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpGetTest.java:1: Line does not
> match
>  expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpGetWildcardsTest.java:1: Line
> does
> not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpMultipleVerbsTest.java:1: Line
> does
>  not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpPojoInOutTest.java:1: Line does
> not
>  match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpPojoTypeTest.java:1: Line does
> not
> match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpPostJsonJaxbPojoTest.java:1:
> Line d
> oes not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpPostJsonPojoListTest.java:1:
> Line d
> oes not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpPostJsonPojoTest.java:1: Line
> does
> not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowHttpPostXmlJaxbPojoTest.java:1:
> Line do
> es not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowProducerGetTest.java:1: Line does
> not m
> atch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowProducerGetUriParameterTest.java:1:
> Lin
> e does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowVerbEnableCorsTest.java:1: Line
> does no
> t match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\RestUndertowVerbTest.java:1: Line does not
> match ex
> pected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\UserJaxbPojo.java:1: Line does not match
> expected h
> eader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\UserPojo.java:1: Line does not match expected
> heade
> r line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\UserPojoEx.java:1: Line does not match expected
> hea
> der line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\rest\UserService.java:1: Line does not match
> expected he
> ader line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowComponentTest.java:1: Line does not match
> expect
> ed header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowComponentVerifierTest.java:1: Line does not
> matc
> h expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowConsumerUnregisterTest.java:1: Line does not
> mat
> ch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowEndpointTest.java:1: Line does not match
> expecte
> d header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowError500Test.java:1: Line does not match
> expecte
> d header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowHeaderTest.java:1: Line does not match
> expected
> header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowHttpProducerSessionTest.java:1: Line does
> not ma
> tch expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowHttpProducerTest.java:1: Line does not match
> exp
> ected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowHttpsSpringTest.java:1: Line does not match
> expe
> cted header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowMethodRestricTest.java:1: Line does not
> match ex
> pected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowPrefixMatchingTest.java:1: Line does not
> match e
> xpected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowProducerLeakTest.java:1: Line does not match
> exp
> ected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowProducerTest.java:1: Line does not match
> expecte
> d header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowProducerThrowExceptionOnFailureTest.java:1:
> Line
>  does not match expected header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\java\org\apache\c
> amel\component\undertow\UndertowSharedPortTest.java:1: Line does not match
> expec
> ted header line of '/** '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\resources\log4j2.
> properties:1: Line does not match expected header line of '##
> ------------------
> --------------------------------------------------------- '. [Header]
> [ERROR]
> D:\dev\github\camel\components\camel-undertow\src\test\resources\SpringT
> est.xml:2: Line does not match expected header line of '<!-- ^\Q\E$'.
> [RegexpHea
> der]
> Audit done.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 22.740 s
> [INFO] Finished at: 2017-05-15T09:46:35+03:00
> [INFO] Final Memory: 33M/295M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-checkstyle-plugin:
> 2.17:checkstyle (default-cli) on project camel-undertow: An error has
> occurred i
> n Checkstyle report generation. Failed during checkstyle execution: There
> are 77
>  errors reported by Checkstyle 7.6.1 with camel-checkstyle.xml ruleset. ->
> [Help
>  1]
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/checkstyle-plugin-problem-tp5799504.html
> Sent from the Camel Development mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2