Hi,
Maybe using the nochecks profile might solve this :
mvn -Pnochecks package
Benoît
Le 11 mai 09 à 18:08, mast <[email protected]> a écrit :
Hi Gert,
I changed it to 3.3 and 3.2.2 and neither did work, however when I
changed
it to 3.2.3 it built without any errors. When to know what version
to use?
Is there any thing one can doe to easier find out these kind of
settings? As
it is know I am mostly guessing and that dosent seem as a good
solution to
me.
BR
Mathias
Gert Vanthienen wrote:
Mathias,
This is probably a side effect of choosing our parent pom. We do
this
as part of our builds, but you don't need that for yours. Could you
trying changing the version in the servicemix-version property and
remove the parent pom reference again?
Regards,
Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/
2009/5/11 mast <[email protected]>:
Hi,
I am building a smx camel su out of this example:
http://servicemix.apache.org/order-file-processing.html
I keep getting an checkstyle report generation error for one of my
java
files. However at this point I dont want any checkstyle to be
performed.
There is nothing wrong with the code(it is copy+pasted from the
example
on
the page and looks fine. The only thing I have changed is the
package and
that looks fine also). How can I turn of this kind of enoying
"feature"
in
maven? I havent stated anywhere in my .pom that I would like to
have an
checkstyle performed for my java sources.
The error message as it's whole:
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource
'VM_global_library.vm'
in
any resource loader.
[INFO] Velocimacro : error using VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to
find
resource 'VM_global_library.vm'
[INFO] Velocimacro : VM library template macro registration
complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined
inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined
inline
may
NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline
will
be
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle {execution: validate}]
[WARNING] File encoding has not been set, using platform encoding
UTF-8,
i.e. build is platform dependent!
[INFO] Starting audit...
/home/mast/workspace/smx/samples-file/servicemix-file-camel/src/
main/java/se/d/samples/orderprocessing/OrderProcessing.java:1:
Line does not match expected header line of '^/\*$'.
/home/mast/workspace/smx/samples-file/servicemix-file-camel/src/
main/java/se/d/samples/orderprocessing/OrderProcessing.java:11:
Wrong order for 'org.w3c.dom.Document' import.
/home/mast/workspace/smx/samples-file/servicemix-file-camel/src/
main/java/se/d/samples/orderprocessing/OrderProcessing.java:23:
method call child at indentation level 8 not at correct
indentation, 12
/home/mast/workspace/smx/samples-file/servicemix-file-camel/src/
main/java/se/d/samples/orderprocessing/OrderProcessing.java:25:
method call child at indentation level 8 not at correct
indentation, 12
Audit done.
I'm unable to find anything about this out there so a litle help
would be
much appreciated.
BR
Mathias
--
View this message in context:
http://www.nabble.com/How-to-turn-of-an-checkstyle-audit-that-maven-is-running-on-my-java-files--tp23483702p23483702.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
-----
---
Gert Vanthienen
http://gertvanthienen.blogspot.com
--
View this message in context:
http://www.nabble.com/How-to-turn-of-an-checkstyle-audit-that-maven-is-running-on-my-java-files--tp23483702p23486400.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.