How can I resolve bazel build errors when I want to install Kibana? - kibana

I have tried to install kibana with Bazel build tools and I have sometimes 2 and sometimes 4 failures. Two permanent failures of these are related to building typescript and kibana eslint.
This is the log:
yarn kbn build
yarn run v1.22.19
warning ..\..\..\package.json: No license field
$ node scripts/kbn build
info [bazel] INFO: Invocation ID: ee4fbc8a-c269-426a-a874-7b344d25839f
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\package.json
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\.yarnrc
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\preinstall_check.js
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\package.json
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\.yarnrc
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\preinstall_check.js
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\package.json
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\.yarnrc
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\preinstall_check.js
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\package.json
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\.yarnrc
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\preinstall_check.js
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\package.json
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\.yarnrc
info [bazel] 1 File(s) copied
info [bazel] C:\users\najmi\desktop\kibanadevinstall\kibana\preinstall_check.js
info [bazel] 1 File(s) copied
info [bazel] warning ..\..\..\package.json: No license field
info [bazel] $ node ./preinstall_check
info [bazel] [1/5] Validating package.json...
info [bazel] [2/5] Resolving packages...
info [bazel] warning Resolution field "trim#1.0.1" is incompatible with requested version "trim#0.0.1"
info [bazel] warning Resolution field "trim#1.0.1" is incompatible with requested version "trim#0.0.1"
info [bazel] warning Resolution field "typescript#4.6.3" is incompatible with requested version "typescript#^3.3.3333"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#^10.1.0"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#12.20.24"
info [bazel] warning Resolution field "typescript#4.6.3" is incompatible with requested version "typescript#~4.4.2"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#^14.0.10"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#^14.0.10"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#^14.0.10"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#^14.0.10"
info [bazel] warning Resolution field "#types/node#16.11.7" is incompatible with requested version "#types/node#^14.14.31"
info [bazel] warning Resolution field "typescript#4.6.3" is incompatible with requested version "typescript#^3.5.3"
info [bazel] [3/5] Fetching packages...
info [bazel] warning sha.js#2.4.11: Invalid bin entry for "sha.js" (in "sha.js").
info [bazel] warning sha.js#2.4.10: Invalid bin entry for "sha.js" (in "sha.js").
info [bazel] warning #elastic/synthetics#1.0.0-beta.22: Invalid bin entry for "#elastic/synthetics" (in "#elastic/synthetics").
info [bazel] info fsevents#2.3.2: The platform "win32" is incompatible with this module.
info [bazel] info "fsevents#2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info [bazel] [4/5] Linking dependencies...
info [bazel] warning " > #elastic/charts#46.0.1" has incorrect peer dependency "moment-timezone#^0.5.32".
info [bazel] warning " > #elastic/eui#54.0.0" has incorrect peer dependency "typescript#~4.5.3".
info [bazel] warning " > #mapbox/mapbox-gl-rtl-text#0.2.3" has unmet peer dependency "mapbox-gl#>=0.32.1 <2.0.0".
info [bazel] warning " > react-monaco-editor#0.41.2" has incorrect peer dependency "#types/react#^17.x".
info [bazel] warning " > react-monaco-editor#0.41.2" has incorrect peer dependency "react#^17.x".
info [bazel] warning " > react-shortcuts#2.0.1" has incorrect peer dependency "react#^0.14.8 || ^15".
info [bazel] warning " > react-shortcuts#2.0.1" has incorrect peer dependency "react-dom#^0.14.8 || ^15".
info [bazel] warning " > #bazel/typescript#4.6.2" has incorrect peer dependency "typescript#>=3.0.0 <4.4.0".
info [bazel] warning " > #elastic/eslint-plugin-eui#0.0.2" has incorrect peer dependency "eslint#>=5, <7".
info [bazel] warning "#octokit/rest > #octokit/plugin-request-log#1.0.2" has unmet peer dependency "#octokit/core#>=3".
info [bazel] warning "#storybook/addon-docs > #mdx-js/react#1.6.22" has incorrect peer dependency "react#^16.13.1 || ^17.0.0".
info [bazel] warning "#storybook/addon-storyshots > preact-render-to-string#5.1.19" has unmet peer dependency "preact#>=10".
info [bazel] warning " > #storybook/testing-react#0.0.22" has unmet peer dependency "#storybook/client-api#^6 || >=6.0.0-0 || >=6.1.0-0 || >=6.2.0-0 || >=6.3.0-0 ".
info [bazel] warning "#testing-library/react-hooks > react-error-boundary#3.1.1" has incorrect peer dependency "react#>=16.13.1".
info [bazel] warning " > rxjs-marbles#5.0.6" has incorrect peer dependency "rxjs#^6.0.0".
info [bazel] [5/5] Building fresh packages...
info [bazel] INFO: Analyzed target //packages:build (1982 packages loaded, 9334 targets configured).
info [bazel] INFO: Found 1 target...
info [bazel] ERROR: C:/users/najmi/_bazel_najmi/zsz4ahxb/external/npm/typescript/bin/BUILD.bazel:9:14: Creating runfiles tree bazel-out/host/bin/external/npm/typescript/bin/tsc.bat.runfiles [for host] failed: build-runfiles.exe failed: error executing command
info [bazel] cd /d C:\users\najmi\_bazel_najmi\zsz4ahxb\execroot\kibana
info [bazel] SET PATH=C:\msys64\usr\bin;C:\msys64\bin;C:\Windows;C:\Windows\System32;C:\Windows\System32\WindowsPowerShell\v1.0
info [bazel] C:\users\najmi\_bazel_najmi\install\fb1fb533ee80e95bdad4ccfda36d4d09\build-runfiles.exe bazel-out/host/bin/external/npm/typescript/bin/tsc.bat.runfiles_manifest bazel-out/host/bin/external/npm/typescript/bin/tsc.bat.runfiles: Process exited with status -1073741515: Process exited with status -1073741515
info [bazel] Target //packages:build failed to build
info [bazel] Use --verbose_failures to see the command lines of failed build steps.
info [bazel] ERROR: C:/users/najmi/desktop/kibanadevinstall/kibana/packages/elastic-eslint-config-kibana/BUILD.bazel:46:8 Assembling npm package packages/elastic-eslint-config-kibana/npm_module failed: build-runfiles.exe failed: error executing command
info [bazel] cd /d C:\users\najmi\_bazel_najmi\zsz4ahxb\execroot\kibana
info [bazel] SET PATH=C:\msys64\usr\bin;C:\msys64\bin;C:\Windows;C:\Windows\System32;C:\Windows\System32\WindowsPowerShell\v1.0
info [bazel] C:\users\najmi\_bazel_najmi\install\fb1fb533ee80e95bdad4ccfda36d4d09\build-runfiles.exe bazel-out/host/bin/external/npm/typescript/bin/tsc.bat.runfiles_manifest bazel-out/host/bin/external/npm/typescript/bin/tsc.bat.runfiles: Process exited with status -1073741515: Process exited with status -1073741515
info [bazel] INFO: Elapsed time: 1764.960s, Critical Path: 67.10s
info [bazel] INFO: 146 processes: 91 internal, 55 local.
info [bazel]
As you can see kibana eslint and typescript have Bazel build failures.
How can I either build these 2 packages individually or resolves this build error with bazel?

Related

#storybook/addon-react-native-web gets stuck building webpack-dev-middleware

I'm running a create-react-app (react 18.2.0) with react-native-web (0.18.10) and storybook (6.5.13) with the addon #storybook/addon-react-native-web (0.0.19). It runs fine with react native code in the App.js file when I run npm run start.
But when I run npm run storybook it gets stuck loading at:
$ start-storybook -p 6006
info #storybook/react v6.5.13
info
info => Loading presets
info => Serving static files from ././public at /
info Addon-docs: using MDX1
info => Loading Webpack configuration from `node_modules/react-scripts`
info => Removing existing JavaScript and TypeScript rules.
info => Modifying Create React App rules.
info => Using default Webpack5 setup
<i> [webpack-dev-middleware] wait until bundle finished
10% building 0/1 entries 0/0 dependencies 0/0 modules
info => Using cached manager
58% building 14/16 entries 5027/5027 dependencies 1107/1127 modules
The bug is not an issue with the plugin installed to the package but it does occur when I add #storybook/addon-react-native-web to the storybook/main.js file.
I noticed when I ran yarn install, that the react native web storybook addon had unmet dependencies:
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "#babel/preset-react#*".
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "#storybook/addons#*".
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "#storybook/api#*".
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "#storybook/components#*".
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "#storybook/core-events#*".
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "#storybook/theming#*".
warning " > #storybook/addon-react-native-web#0.0.19" has unmet peer dependency "metro-react-native-babel-preset#*".
warning " > #storybook/preset-create-react-app#4.1.2" has unmet peer dependency "#babel/core#*".
So I installed them manually:
yarn add -D #babel/preset-react #storybook/addons #storybook/api #storybook/components #storybook/core-events #storybook/theming metro-react-native-babel-preset #babel/core
And now it works!

Git repo to Vercel delployment failing

Please help. Git repo to Vercel build failed.
I did this a few weeks ago, and now it's suddenly failing.
This is the error I'm getting:
[16:51:16.832] Cloning github.com/benjanknoetze/benjan-spot (Branch: master, Commit: 1a2ddf0)
[16:51:20.725] Cloning completed: 3.893s
[16:51:21.708] Looking up build cache...
[16:51:21.989] Build Cache not found
[16:51:22.220] Running "vercel build"
[16:51:22.720] Vercel CLI 28.2.0
[16:51:22.981] Your application is being built using `next build`. If you need to define a different build step, please create a `vercel-build` script in your `package.json` (e.g. `{ "scripts": { "vercel-build": "npm run prepare && next build" } }`).
[16:51:22.983] Installing dependencies...
[16:51:23.313] yarn install v1.22.17
[16:51:23.323] warning package.json: No license field
[16:51:23.329] info No lockfile found.
[16:51:23.332] warning No license field
[16:51:23.333] [1/4] Resolving packages...
[16:51:23.334] [2/4] Fetching packages...
[16:51:23.335] [3/4] Linking dependencies...
[16:51:23.339] [4/4] Building fresh packages...
[16:51:23.342] success Saved lockfile.
[16:51:23.344] Done in 0.04s.
[16:51:23.355] Warning: Could not identify Next.js version, ensure it is defined as a project dependency.
[16:51:23.355] Error! No Next.js version could be detected in your project. Make sure `"next"` is installed in "dependencies" or "devDependencies"
My packgage.json:
Error message 1

Issue updating packages to update OS - Raspian

Running a pihole on a currently unsupported OS (Raspian 9). I attempted to run a distro upgrade:
apt dist-upgrade -y
However it told me there was an issue with two dependencies:
The following packages have unmet dependencies:
libfreetype6-dev : Depends: libfreetype6 (= 2.6.3-3.2+deb9u2) but 2.6.3-3.2+deb9u1 is installed
sqlite3 : Depends: libsqlite3-0 (= 3.16.2-5+deb9u3) but 3.16.2-5+deb9u1 is installed
I tried running the recommended fix:
'apt --fix-broken install'
Resulting in:
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>:
invalid distance too far back'
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
Traceback (most recent call last):
File "/usr/share/apt-listchanges/DebianFiles.py", line 124, in readdeb
output = subprocess.check_output(command)
File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
**kwargs).stdout
File "/usr/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['dpkg-deb', '-f',
'/var/cache/apt/archives/libsqlite3-0_3.16.2-5+deb9u3_armhf.deb', 'Package', 'Source',
'Version', 'Architecture', 'Status']' returned non-zero exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 243, in <module>
main(config)
File "/usr/bin/apt-listchanges", line 101, in main
pkg = DebianFiles.Package(deb)
File "/usr/share/apt-listchanges/DebianFiles.py", line 215, in __init__
parser.readdeb(self.path)
File "/usr/share/apt-listchanges/DebianFiles.py", line 128, in readdeb
{'what': file, 'errmsg': str(ex)}) from ex
NameError: name 'file' is not defined
E: Invalid archive member header
E: Prior errors apply to /var/cache/apt/archives/libsqlite3-0_3.16.2-5+deb9u3_armhf.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg: warning: files list file for package 'libsqlite3-0:armhf' missing; assuming package
has no files currently installed
(Reading database ... 134985 files and directories currently installed.)
Preparing to unpack .../libfreetype6_2.6.3-3.2+deb9u2_armhf.deb ...
Unpacking libfreetype6:armhf (2.6.3-3.2+deb9u2) over (2.6.3-3.2+deb9u1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libfreetype6_2.6.3-
3.2+deb9u2_armhf.deb (--unpack):
cannot copy extracted data for './usr/lib/arm-linux-gnueabihf/libfreetype.so.6.12.3' to
'/usr/lib/arm-linux-gnueabihf/libfreetype.so.6.12.3.dpkg-new': unexpected end of file or stream
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>: invalid distance too far back'
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
dpkg-deb: error: subprocess tar returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libsqlite3-0_3.16.2-5+deb9u3_armhf.deb (--unpack):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libfreetype6_2.6.3-3.2+deb9u2_armhf.deb
/var/cache/apt/archives/libsqlite3-0_3.16.2-5+deb9u3_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I attempted the following:
Reconfigure dpkg database
sudo dpkg --configure -a
Force install the software
sudo apt-get install -f
Remove software package
sudo apt-get remove --purge package_name
Remove and overwrite
sudo ls -l /var/lib/dpkg/info | grep -i package_name
sudo mv /var/lib/dpkg/info/package_name.* /tmp
sudo apt-get update
sudo dpkg -i --force-overwrite /var/cache/apt/archives/full_name_of_package
None of this worked.
I tried just manually updating the packages and received dependency errors - the issue is trying to update one results in a dependency error for the other and vice versa:
sqlite3 : Depends: libsqlite3-0 (= 3.16.2-5+deb9u3) but 3.16.2-5+deb9u1 is to b e installed
libfreetype6-dev : Depends: libfreetype6 (= 2.6.3-3.2+deb9u2) but 2.6.3-3.2+deb 9u1 is to be installed
Any idea how to update these two packages when I they apparently require the other one to be updated to update themselves?
Thanks!

Grafana build docker image in MACOS?

I've made changes to grafana source code.
Ran e2e tests to make sure its working.
I work on MACOS
But when I tried to build a docker image from this, am afraid I don't understand how this works.
Ran this command make build-docker-full
output:
make build-docker-full
build docker container
docker build --tag grafana/grafana:dev .
Sending build context to Docker daemon 1.465GB
Step 1/44 : FROM golang:1.13.4-alpine
---> 3024b4e742b0
Step 2/44 : RUN apk add --no-cache gcc g++
---> Using cache
---> 0a34470e75af
Step 3/44 : WORKDIR $GOPATH/src/github.com/grafana/grafana
---> Using cache
---> 746e9a262b17
Step 4/44 : COPY go.mod go.sum ./
---> Using cache
---> 991f5eb4e93c
Step 5/44 : COPY vendor vendor
---> Using cache
---> 31461560264e
Step 6/44 : RUN go mod verify
---> Using cache
---> fb1ca8327171
Step 7/44 : COPY pkg pkg
---> 3766271f9d5a
Step 8/44 : COPY build.go package.json ./
---> 11ebcd1d9457
Step 9/44 : RUN go run build.go build
---> Running in aff10ee85d73
Version: 7.0.0-pre, Linux Version: 7.0.0, Package Iteration: 1584810976pre
rm -r ./bin/linux-amd64/grafana-server
rm -r ./bin/linux-amd64/grafana-server.md5
go version
go version go1.13.4 linux/amd64
Targeting linux/amd64
go build -ldflags -w -X main.version=7.0.0-pre -X main.commit=unknown-dev -X main.buildstamp=1584810976 -X main.buildBranch=master -mod=vendor -o ./bin/linux-amd64/grafana-server ./pkg/cmd/grafana-server
rm -r ./bin/linux-amd64/grafana-cli
rm -r ./bin/linux-amd64/grafana-cli.md5
go version
go version go1.13.4 linux/amd64
Targeting linux/amd64
go build -ldflags -w -X main.version=7.0.0-pre -X main.commit=unknown-dev -X main.buildstamp=1584811210 -X main.buildBranch=master -mod=vendor -o ./bin/linux-amd64/grafana-cli ./pkg/cmd/grafana-cli
Removing intermediate container aff10ee85d73
---> dd409b765652
Step 10/44 : FROM node:12.13.0-alpine
---> 69c8cc9212ec
Step 11/44 : RUN apk add --no-cache curl && cd /tmp && curl -Ls https://github.com/dustinblackman/phantomized/releases/download/2.1.1/dockerized-phantomjs.tar.gz | tar xz && cp -R lib lib64 / && cp -R usr/lib/x86_64-linux-gnu /usr/lib && cp -R usr/share /usr/share && cp -R etc/fonts /etc && curl -k -Ls https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 | tar -jxf - && cp phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs
---> Using cache
---> f6e3c1365333
Step 12/44 : WORKDIR /usr/src/app/
---> Using cache
---> 68d834461a97
Step 13/44 : COPY package.json yarn.lock ./
---> d7e624ffddc4
Step 14/44 : COPY packages packages
---> dae5b06d3315
Step 15/44 : RUN yarn install --pure-lockfile --no-progress
---> Running in 0b6acb809b2e
yarn install v1.19.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info fsevents#1.2.9: The platform "linux" is incompatible with this module.
info "fsevents#1.2.9" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents#2.1.2: The platform "linux" is incompatible with this module.
info "fsevents#2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning "#grafana/slate-react > slate-react-placeholder#0.2.8" has unmet peer dependency "slate-react#>=0.22.0".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/data > rollup-plugin-visualizer#0.9.2" has incorrect peer dependency "rollup#>=0.60.0 <1".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > #storybook/addon-docs#5.3.9" has unmet peer dependency "react-is#^16.8.0".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > #storybook/addon-storysource#5.3.14" has unmet peer dependency "#storybook/source-loader#*".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > storybook-dark-mode#0.3.0" has unmet peer dependency "#storybook/api#>= 5.x".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > storybook-dark-mode#0.3.0" has unmet peer dependency "#storybook/addons#>= 5.x".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > storybook-dark-mode#0.3.0" has unmet peer dependency "#storybook/components#>= 5.x".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > storybook-dark-mode#0.3.0" has unmet peer dependency "#storybook/core-events#>= 5.x".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > #storybook/addon-docs > #egoist/vue-to-react#1.1.0" has unmet peer dependency "vue#^2.6.10".
warning "workspace-aggregator-08c343d0-af45-4bd4-81c2-559647a82d7d > #grafana/ui > #storybook/addon-actions > react-inspector > storybook-chromatic#2.2.2" has unmet peer dependency "#storybook/core#3.* || 4.* || 5.*".
[5/5] Building fresh packages...
Done in 1729.76s.
And I left this overnight;
The process didn't finish, so I interrupted.
^Cmake: *** [build-docker-full] Interrupt: 2
Can any one help me build this.??
I want to know, where the image is built and how I could pull this image.
My current guess is it will directly push this image to my dockerhub repo as grafana:dev.
Thank you.

Unable to run playn sample project - compile errors

I've tried to follow the instructions on the getting started page for playn and run into problems when running the first program java showcase. I get the following errors when right clicking and running Maven test. Also I get numerous errors in the problem tab of eclipse related to (failure to transfer xxx from yyy) where xxx is some jar file and yyy is a gwt or playn website
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building PlayN Showcase Java 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.10/maven-surefire-plugin-2.10.pom (11 KB at 47.2 KB/sec)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.10/surefire-2.10.pom (12 KB at 118.8 KB/sec)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/maven-parent/20/maven-parent-20.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/20/maven-parent-20.pom (25 KB at 143.9 KB/sec)
Downloading: http://snapshots.repository.codehaus.org/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.6/maven-antrun-plugin-1.6.pom (5 KB at 52.2 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://forplay.googlecode.com/svn/mavenrepo/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/maven-metadata.xml
Downloading: http://forplay.googlecode.com/svn/mavenrepo/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.pom
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.pom
[WARNING] The POM for com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT is missing, no dependency information available
Downloading: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.pom
[WARNING] Checksum validation failed, no checksums available from the repository for http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.pom
Downloaded: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.pom (462 B at 0.7 KB/sec)
Downloading: http://forplay.googlecode.com/svn/mavenrepo/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.jar
Downloading: http://forplay.googlecode.com/svn/mavenrepo/jlayer/mp3spi/1.9.5/mp3spi-1.9.5.jar
Downloading: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.jar
[WARNING] Checksum validation failed, no checksums available from the repository for http://forplay.googlecode.com/svn/mavenrepo/jlayer/mp3spi/1.9.5/mp3spi-1.9.5.jar
Downloaded: http://forplay.googlecode.com/svn/mavenrepo/jlayer/mp3spi/1.9.5/mp3spi-1.9.5.jar (25 KB at 40.9 KB/sec)
[WARNING] Checksum validation failed, no checksums available from the repository for http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.jar
Downloaded: http://forplay.googlecode.com/svn/mavenrepo/jlayer/tritonus_share/1.0/tritonus_share-1.0.jar (101 KB at 102.4 KB/sec)
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/googlecode/playn/playn-showcase-core/1.0-SNAPSHOT/playn-showcase-core-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.155s
[INFO] Finished at: Tue Aug 07 08:01:22 EDT 2012
[INFO] Final Memory: 7M/112M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project playn-showcase-java: Could not resolve dependencies for project com.googlecode.playn:playn-showcase-java:jar:1.0-SNAPSHOT: Could not find artifact com.googlecode.playn:playn-showcase-core:jar:1.0-SNAPSHOT in forplay-legacy (http://forplay.googlecode.com/svn/mavenrepo) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
You can try this:
Right click on "playn-showcase" then: Run As -> Maven Install
It should retrieve all dependencies correctly.
Next time you want to launch the sample, you can follow the tutorial procedure:
Right click on "playn-showcase-java" then: Run As -> Maven Test

Resources