I'd rather get to the root of the build problem. Sharing the binary
won't help.
Please keep the discussion on-list.
On 02/16/2015 07:59 PM, Vikas Tr wrote:
> can you please share the jar file, i will try installing it here...
>
> On Mon, Feb 16, 2015 at 4:17 PM, David Pursehouse
> <
david.pu...@sonymobile.com
> <mailto:
david.pu...@sonymobile.com>> wrote:
>
> I have no idea what that error is. Looks like one of the "grr,
> Maven" type problems that we haven't seen since moving to Buck...
>
> FWIW I was able to build it with Maven using the 2.9 API. I just
> merged this change on the stable-2.9 branch to use 2.9. API
>
>
https://gerrit-review.__
googlesource.com/#/c/64682/
> ------------------------------__------------------------------__------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------__------------------------------__------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.apache.maven.plugins:__maven-compiler-plugin:2.3.2:__compile':
> Unable
> to load the mojo
> 'org.apache.maven.plugins:__maven-compiler-plugin:2.3.2:__compile'
> in the
> plugin 'org.apache.maven.plugins:__maven-compiler-plugin'. A
> required
> class is missing:
> org/codehaus/plexus/compiler/__util/scan/__InclusionScanException
> org.codehaus.plexus.compiler.__util.scan.__InclusionScanException
> [INFO]
> ------------------------------__------------------------------__------------
>
>
>
> I cloned 2.9 version of the plugin, modified pom.xml to have 2.9
> instead
> of 2.9-SNAPSHOT and ran "mvn clean package". FYI.
>
> On Mon, Feb 16, 2015 at 3:52 PM, David Pursehouse
> <david.pursehouse@sonymobile.__com
> <mailto:
david.pu...@sonymobile.com>
> <mailto:
david.pursehouse@__
sonymobile.com
> <mailto:
david.pu...@sonymobile.com>>> wrote:
>
> > I am trying to build this plugin for gerrit-2.9.1 and
> i tried with
> > REPO_LOCAL, REPO_CENTRAL and GERRIT options in
> lib/gerrit/BUCK.
>
> lib/gerrit/BUCK does not exist on the version of this
> plugin from 2.9.1
>
> Have you also tried to build with Maven after editing
> "2.9-SNAPSHOT"
> to "2.9" in the pom.xml?
>
>
>
> On 02/16/2015 07:10 PM, Vikas Tr wrote:
>
> One correction here:
>
> I am trying to build this plugin for gerrit-2.9.1 and i
> tried with
> MAVEN_LOCAL, MAVEN_CENTRAL and GERRIT options in
> lib/gerrit/BUCK. FYI
>
> On Monday, February 16, 2015 at 3:38:14 PM UTC+5:30,
> Vikas Tr wrote:
>
> Hello,
>
> i am trying to build cookbook-plugin and got this
> error:
>
>
>
> ------------------------------____----------------------------__--__------
>
> $ buck build plugin
> Using buckd.
> [-] PROCESSING BUCK FILES...FINISHED 0.2s
> [+] BUILDING...0.3s (18/28 JOBS)
> |=> IDLE
> |=> IDLE
> |=> IDLE
> |=> //lib/gerrit:gwtui-api______download_bin...
> 0.3s (running
> genrule[0.2s])
> |=>
> //lib/gerrit:plugin-api______download_bin... 0.3s (running
> genrule[0.2s])
> Download
>
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-api/2.9/____gerrit-plugin-api-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-api/2.9/__gerrit-plugin-api-2.9.jar>
>
> <
http://gerrit-maven.storage.__
googleapis.com/com/google/__gerrit/gerrit-plugin-api/2.9/__gerrit-plugin-api-2.9.jar
> <
http://gerrit-maven.storage.googleapis.com/com/google/gerrit/gerrit-plugin-api/2.9/gerrit-plugin-api-2.9.jar>>
>
>
> <
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-api/2.9/____gerrit-plugin-api-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-api/2.9/__gerrit-plugin-api-2.9.jar>
> '/homes/vikastr/.____gerritcodereview/buck-cache/____gerrit-plugin-api-2.9.jar-____30238dfc5edab3039729db040aeb2d____8fbdb07f81',
>
>
> '
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-api/2.9/____gerrit-plugin-api-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-api/2.9/__gerrit-plugin-api-2.9.jar>
>
> <
http://gerrit-maven.storage.__
googleapis.com/com/google/__gerrit/gerrit-plugin-api/2.9/__gerrit-plugin-api-2.9.jar
> <
http://gerrit-maven.storage.googleapis.com/com/google/gerrit/gerrit-plugin-api/2.9/gerrit-plugin-api-2.9.jar>>'
>
>
> <
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-api/2.9/____gerrit-plugin-api-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-api/2.9/__gerrit-plugin-api-2.9.jar>
> //lib/gerrit:plugin-api______download_bin
> failed with exit
> code 1:
> genrule
> Download
>
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-gwtui/2.____9/gerrit-plugin-gwtui-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar>
>
> <
http://gerrit-maven.storage.__
googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar
> <
http://gerrit-maven.storage.googleapis.com/com/google/gerrit/gerrit-plugin-gwtui/2.9/gerrit-plugin-gwtui-2.9.jar>>
>
>
> <
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-gwtui/2.____9/gerrit-plugin-gwtui-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar>
> error using curl: Command '['curl',
> '--proxy-anyauth', '-sfo',
>
>
> '/homes/vikastr/.____gerritcodereview/buck-cache/____gerrit-plugin-gwtui-2.9.jar-____7f49385a67e07939493f06b05f4d82____8b9c332bd6',
>
>
> '
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-gwtui/2.____9/gerrit-plugin-gwtui-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar>
>
> <
http://gerrit-maven.storage.__
googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar
> <
http://gerrit-maven.storage.googleapis.com/com/google/gerrit/gerrit-plugin-gwtui/2.9/gerrit-plugin-gwtui-2.9.jar>>__'
>
>
> <
http://gerrit-maven.storage.____
googleapis.com/com/google/____gerrit/gerrit-plugin-gwtui/2.____9/gerrit-plugin-gwtui-2.9.jar
> <
http://googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar>
>
> <
http://gerrit-maven.storage.__
googleapis.com/com/google/__gerrit/gerrit-plugin-gwtui/2.__9/gerrit-plugin-gwtui-2.9.jar
> <
http://gerrit-maven.storage.googleapis.com/com/google/gerrit/gerrit-plugin-gwtui/2.9/gerrit-plugin-gwtui-2.9.jar>>__'__>]'
> returned non-zero exit status 22
>
>
> ------------------------------____----------------------------__--__------
> I am trying to build this plugin for gerrit-2.9.1
> and i
> tried with
> REPO_LOCAL, REPO_CENTRAL and GERRIT options in
> lib/gerrit/BUCK. FYI
>
> I read thru the posts in this group and also
> searched thru net
> followed the instructions given to build gerrit
> and then run
> api_install before building this standalone
> plugin, but i
> encountered errors there too :(
>
>
> ------------------------------____----------------------------__--__------
> $ buck build api_install
> Using buckd.
> [-] PROCESSING BUCK FILES...FINISHED 0.2s
> [+] BUILDING...16801.1s (223/232 JOBS)
> |=> IDLE
> |=> //lib:h2__download_bin... 16801.0s (running
> genrule[16801.0s])
> |=> IDLE
> |=> IDLE
> |=> IDLE
> Download
>
http://repo1.maven.org/maven2/____com/h2database/h2/1.3.174/__h2-__1.3.174.jar
> <
http://repo1.maven.org/maven2/__com/h2database/h2/1.3.174/h2-__1.3.174.jar>
>
> <
http://repo1.maven.org/__maven2/com/h2database/h2/1.3.__174/h2-1.3.174.jar
> <
http://repo1.maven.org/maven2/com/h2database/h2/1.3.174/h2-1.3.174.jar>>
>
>
> <
http://repo1.maven.org/____maven2/com/h2database/h2/1.3.____174/h2-1.3.174.jar
> <
http://repo1.maven.org/__maven2/com/h2database/h2/1.3.__174/h2-1.3.174.jar>
> '/homes/vikastr/.____gerritcodereview/buck-cache/____h2-1.3.174.jar-____2fb55391f525bc3ef9f320a379d193____50af96a554',
>
>
> '
http://repo1.maven.org/____maven2/com/h2database/h2/1.3.____174/h2-1.3.174.jar
> <
http://repo1.maven.org/__maven2/com/h2database/h2/1.3.__174/h2-1.3.174.jar>
>
> <
http://repo1.maven.org/__maven2/com/h2database/h2/1.3.__174/h2-1.3.174.jar
> <
http://repo1.maven.org/maven2/com/h2database/h2/1.3.174/h2-1.3.174.jar>>'
>
>
> <
http://repo1.maven.org/____maven2/com/h2database/h2/1.3.____174/h2-1.3.174.jar
> <
http://repo1.maven.org/__maven2/com/h2database/h2/1.3.__174/h2-1.3.174.jar>
> ------------------------------____----------------------------__--__------
>
> Please help me to over come these issues and to build
> plugin. By
> looking at the instructions, it seems to be very
> simple
> procedure to
> build plugin but i am facing quite a few issues.
>
> Thanks
> Vikas
>
>
>
> --
> --
> To unsubscribe, email
> repo-discuss+unsubscribe@__
goo__glegroups.com
> <
http://googlegroups.com>
> <mailto:
repo-discuss%__2Buns...@googlegroups.com
> <mailto:
repo-discuss%252Buns...@googlegroups.com>__>
> More info at
>
http://groups.google.com/____group/repo-discuss?hl=en
> <
http://groups.google.com/__group/repo-discuss?hl=en>
> repo-discuss+unsubscribe@__
goo__glegroups.com
> <
http://googlegroups.com>
> <mailto:
repo-discuss%__2Buns...@googlegroups.com
> <mailto:
repo-discuss%252Buns...@googlegroups.com>__>
> <mailto:
repo-discuss+_...@googlegroups.com
> <mailto:
repo-discuss%2B__uns...@googlegroups.com>
> <mailto:
repo-discuss%__2Buns...@googlegroups.com
> <mailto:
repo-discuss%252Buns...@googlegroups.com>__>>.
> For more options, visit
>
https://groups.google.com/d/____optout
> <
https://groups.google.com/d/__optout>