You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Sawyer Chen <ch...@gmail.com> on 2013/01/06 01:46:39 UTC

Stanbol install error

Hi all,
I have check out the latest code and ran mvn install and have the following
error:

[ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr
(generate-scr-scrdescriptor) on project
org.apache.stanbol.commons.solr.extras.paoding: Execution
generate-scr-scrdescriptor of goal
org.apache.felix:maven-scr-plugin:1.7.4:scr failed: syntax error @[208,1]
in
file:/Users/Sawyer/dev/stanboldev/commons/solr/extras/paoding/src/main/java/net/paoding/analysis/analyzer/estimate/Estimate.java
-> [Help 1]

Any idea?
Thanks

Sawyer

Re: Stanbol install error

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Sawyer

I can not reproduce this. Usually such errors happen if the Maven Src
Annotations (as described at [1]) are used incorrectly. However the
referenced class (and the entire module) does not define any such
annotations. So I guess that this is related to an parsing error in
that class by maven-scr-plugin. As this does not happen on all
platforms and the affected class contains Chinese characters I would
guess it is related to the char encoding.

As the maven-scr-plugin is not used by the module I deactivated this
module in revision 1429489 [2]. This should solve your issue.

best
Rupert

[1] http://felix.apache.org/site/scr-annotations.html
[2] http://svn.apache.org/viewvc?rev=1429489&view=rev

On Sun, Jan 6, 2013 at 1:46 AM, Sawyer Chen <ch...@gmail.com> wrote:
> Hi all,
> I have check out the latest code and ran mvn install and have the following
> error:
>
> [ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1.7.4:scr
> (generate-scr-scrdescriptor) on project
> org.apache.stanbol.commons.solr.extras.paoding: Execution
> generate-scr-scrdescriptor of goal
> org.apache.felix:maven-scr-plugin:1.7.4:scr failed: syntax error @[208,1]
> in
> file:/Users/Sawyer/dev/stanboldev/commons/solr/extras/paoding/src/main/java/net/paoding/analysis/analyzer/estimate/Estimate.java
> -> [Help 1]
>
> Any idea?
> Thanks
>
> Sawyer



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen