Installation of Maven 3.2.1 is not terminating - hudson

I try to set up a new Hudson (3.3.2) with Maven (3.2.1), but installation of Maven is not terminating.
Configuration of Maven:
Job log:
Gestartet durch Benutzer anonymous
[...]
Unpacking http://archive.apache.org/dist/maven/binaries/apache-maven-3.2.1-bin.zip to C:\Users\dur\.hudson\tools\Maven_3.2.1 on Hudson
Created files:
.hudson
tools
Maven_3.2.1
apache-maven-3.2.1
boot
plexus-classworlds-2.5.1.jar
All other files are not unpacked. But it is no network problem, because I can manually download and unpack apache-maven-3.2.1-bin.zip without any problem.
Environment:
Windows 7
Java 8 (also with Java 7)
Hudson 3.3.2 (also with 3.3.3)
Legacy Maven 2 job type Plugin 3.0.2
In the year 2014 I set up a Hudson (3.1.2) with Maven 3.0.4 successfully.

A work-around is to install Maven manually and use this installation, see The Hudson Book:
Use an existing Installation
Specify a Name and add the path to your Maven install in the MAVEN_HOME input control.
Configuration:

Related

Composer install: your requirements could not be resolved to an installable set of packages

Trying to install Bolt v2.2.4 with the following commands:
git clone git://github.com/bolt/bolt.git bolt
cd bolt
git checkout v2.2.4
composer install
Then I get the following error:
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for m6web/symfony2-coding-standard dev-master#dev -> satisfiable by m6web/symfony2-coding-standard[dev-master].
- m6web/symfony2-coding-standard dev-master requires squizlabs/php_codesniffer ~1.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
I just ran into the same issue under bolt 2.1.9
I 'fixed' it for me for the moment by changing 1.5.* to ~2 for squizlabs/php_codesniffer in composer.json
Are you on IPv6 per chance? If so, do a composer self-update.

JVM Server OR Standalone scripts

Are ActiveMQ and Kaazing jms installed on local Mac OS running on any JVM by default [how can i get that info] or standalone start scripts. Please suggest.
Bee,
When you download and extract the gateway (I recommend you to get the "Gateway + Demos" packaging for Linux/Unix/Mac - it contains Apache ActiveMQ preconfigured with the gateway, in addition to the documentation and out-of-the-box demos), you'll find a README.txt file in the root directory. It lists the Java requirements.
For your convenience, here's the Java Requirements snippet from the 4.0.3 version of the gateway:
Java Requirements
* Java Developer Kit (JDK) or Java Runtime Environment (JRE)
Java 7 (version 1.7.0_21) or higher
* The JAVA_HOME environment variable must be set to the directory where
the JDK is installed, for example C:\Program Files\Java\jdk1.7.0_21
* Note:
* For information on installing JDK, see Oracle's Java SE documentation:
http://download.oracle.com/javase/.
Hope this helps!

Android Platform Guide trouble with adding a platform through the command line

I am following the installation guide: http://cordova.apache.org/docs/en/3.0.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
As aa early info this is my issue.
C:\apps\hello>cordova platform add android
[Error: An error occured during creation of android sub-project.
Creating Cordova project for the Android platform:
Command failed to execute : ant jar
This is what i did:
I installed all Java Dev packages (everything)
I installed Apache ANT, and created the environment variables (they work)
I created environment variables for PATH for the adt-bundle
All i want is to
cordova platform add android
cordova emulate android
This is due to ANT tools could not find tools.jar in JRE lib directory. When I copied tools.jar from JDK lib directory to JRE lib directory, the problem was absolutely solved and the build was successful when I ran the command "cordova -d platform add android". Hope this helps you.
I got the same issue today. upon research I found that I need to install JDK instead of JRE.
Install JDK from this link
After installation, set the JAVA_HOME to C:\Program Files\Java\jdk1.7.0_45 [your JDK Path].
Hope this helps!!
I installed the JRE instead of the JDK... Im no expert on Java installations, but this was my error.

Hudson build fails with FATAL: null java.lang.AbstractMethodError

I've installed Hudson on Ubuntu and I am using the git plugin. The git integration and the simple shell script I execute as the build step appear to be working fine, but I get the following error and the build fails:
FATAL: null
java.lang.AbstractMethodError
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:278)
at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:275)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:565)
at hudson.model.Run.run(Run.java:1386)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:145)
I have no post-build actions.
I got the same exception, and the reason in my case was an incompatibility when using hudson 2.0.0 and the hudson git plugin 2.0.1.
Either upgrade your hudson server or uninstall the git plugin and manually install the older git plugin version from http://hudson-ci.org/downloads/plugins/git/2.0.0/.

Creating local environment with sts, maven, mysql and tomcat

HI - I want my local environment in chronology so everything works. Is there any or my approach should work?
I have jdk version 1.6 and my path and java_home are set in environment var
I have STS version 2.3.2, shall I upgrade and how?
I need maven to build my projects. Where and how to install it?
I need a server Tomcat? Anything else which is better to go with it?
I need preferable MySQL, how to install?
What is the chronology of these installs I need to make?
For maven install see:
http://maven.apache.org/download.html#Installation_Instructions
For tomcat install see:
http://tomcat.apache.org/tomcat-7.0-doc/setup.html
For grails install see:
http://www.grails.org/Installation
For mysql install see:
http://www.apachefriends.org/en/xampp-windows.html
Install chronology doesn't matter.