Quantcast

checkstyle plugin problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

checkstyle plugin problem

onders
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]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Claus Ibsen-2
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Zoran Regvart-2
In reply to this post by onders
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Onder SEZGIN
In reply to this post by Claus Ibsen-2
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 <[hidden email]> 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 <[hidden email]>
> 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
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

onders
In reply to this post by Zoran Regvart-2
I have done but no success.
I'll try what Claus suggested.

Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Zoran Regvart-2
In reply to this post by Onder SEZGIN
Hi Önder,

On Mon, May 15, 2017 at 10:00 AM, Onder SEZGIN <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Zoran Regvart-2
In reply to this post by onders
On Mon, May 15, 2017 at 10:01 AM, onders
<[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

onders
In reply to this post by Zoran Regvart-2
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Claus Ibsen-2
On Mon, May 15, 2017 at 1:26 PM, onders <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Zoran Regvart-2
In reply to this post by onders
On Mon, May 15, 2017 at 1:26 PM, onders <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

onders
I dont have access without proxy
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Onder SEZGIN
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 <[hidden email]>
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.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Zoran Regvart-2
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Onder SEZGIN
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 <[hidden email]> 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 <[hidden email]>
> 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: checkstyle plugin problem

Zoran Regvart-2
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
>> 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
Loading...