Re: Solaris

2015-11-04 Thread Stephen Connolly
FYI: You should be able to unpack the JDK into a user folder only and point
at that

On 4 November 2015 at 20:09, james pruett  wrote:

> thanks.
> I gave up. I don't have admin rights and I read that installing jdk by just
> unpacking a zip file won't work.
> I just donated to the apache foundation.
> I always tip!
> Jim
>
>
> On Wed, Nov 4, 2015 at 2:01 PM, Karl Heinz Marbaise 
> wrote:
>
> > Hi James,
> >
> > point JAVA_HOME to ...whatever/jdk1.7.0_79/
> >
> > Kind regards
> > Karl Heinz Marbaise
> >
> > On 11/4/15 8:27 PM, james pruett wrote:
> >
> >> I downloaded jdk1.7 binaries for Sparc 64bit.
> >>
> >> $ find . -name bin
> >> ./jdk1.7.0_79/bin
> >> ./jdk1.7.0_79/jre/bin
> >>
> >> Q: Do I just point JAVA_HOME to one of those?
> >>
> >> Thanks again!
> >> jim
> >>
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>


How easy/reliable is a maven repo hosted on webdav?

2015-11-04 Thread Kevin Burton
I need to setup a new maven repo due to some changes we're making in our CI
framework.

Basically, I want something simple.. I was looking at bintray and
artifactory and I think they are overkill for what we need and could be
rather expensive per year.

We already have plenty of hardware so I just want something simple.

We used to use SCP but I don't want to give our CI hosting provider / SAAS
the ability to auth into our cluster.

WebDAV seems ideal because it could just work with plain old apache.

However, I can't find any documentation for how to set this up.

-- 

We’re hiring if you know of any awesome Java Devops or Linux Operations
Engineers!

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile



Re: How easy/reliable is a maven repo hosted on webdav?

2015-11-04 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin,

Nexus OSS is simple to set up and run either stand-alone or behind
Apache HTTPD.

. . . just a happy user
/mde/

On 11/4/2015 4:13 PM, Kevin Burton wrote:
> I need to setup a new maven repo due to some changes we're making
> in our CI framework.
> 
> Basically, I want something simple.. I was looking at bintray and 
> artifactory and I think they are overkill for what we need and
> could be rather expensive per year.
> 
> We already have plenty of hardware so I just want something
> simple.
> 
> We used to use SCP but I don't want to give our CI hosting provider
> / SAAS the ability to auth into our cluster.
> 
> WebDAV seems ideal because it could just work with plain old
> apache.
> 
> However, I can't find any documentation for how to set this up.
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQEcBAEBAgAGBQJWOqItAAoJEEFGbsYNeTwtVKIH/RFiNOyTNb2JK+toloMyjUKq
nBO+L1KnPVbbg1oQkrNT/SRk4vHoyxe5Ba9Ng00Gvt91s8xgIOB0TKEOfNMPaRcX
/qZY/9/dFz41fgN0V0bTrIwZanB0h0fnVpY0eb3GYtddvH5tvChOVfRXOtk4InD2
O/4/sa7tnt/2dhu8DYPkxM3QFS2cUgZfOrlxg96CCjHgHVDOoXh2xUP+CHgbcNJj
i6EDDLgj9ysuZ0HboDwVj1f0c1bJ+Ab6iulWlagM5ZU/ZGztFugoeoP0K27F1kvd
hkqH2WOn8WXkaEaJ10P7UiGayn+FVcLLYtXVk8+Bky/ZCloj4cWsm0KwwviZO4s=
=PDeK
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Solaris

2015-11-04 Thread Jochen Wiedmann
The first line of mvn is

#!/bin/sh

So, that should be a bourne shell, and not tcsh, regardless of the
users settings.

Jochen




On Wed, Nov 4, 2015 at 5:27 PM, Jeff MAURY  wrote:
> Not sure the Maven scripts supports tcsh. Switch to bash if you can.
>
> Regards
> Jeff
>
> On Wed, Nov 4, 2015 at 5:20 PM, james pruett  wrote:
>
>> Hi,
>>
>> I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz
>>
>> My environment is:
>>
>> echo $0
>> tcsh
>>
>>
>> I get this error
>>
>> /apache-maven-3.3.3/bin % ./mvn
>> ./mvn: syntax error at line 200: `(' unexpected
>>
>>
>> line 200 says: local basedir=($pwd)
>>
>>
>>
>> Any help appreciated!
>> Jim
>>
>
>
>
> --
> Jeff MAURY
>
>
> "Legacy code" often differs from its suggested alternative by actually
> working and scaling.
>  - Bjarne Stroustrup
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.twitter.com/jeffmaury



-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How easy/reliable is a maven repo hosted on webdav?

2015-11-04 Thread Anders Hammar
A real repository manager is not overkill but rather the basic foundation
in a Maven-based dev environment. And there are free versions of them:
nexus oss, artifactory and archiva.
I strongly advice against trying to do this with your home-brewed solution!

/Anders (mobile)
On Nov 5, 2015 1:14 AM, "Kevin Burton"  wrote:

> I need to setup a new maven repo due to some changes we're making in our CI
> framework.
>
> Basically, I want something simple.. I was looking at bintray and
> artifactory and I think they are overkill for what we need and could be
> rather expensive per year.
>
> We already have plenty of hardware so I just want something simple.
>
> We used to use SCP but I don't want to give our CI hosting provider / SAAS
> the ability to auth into our cluster.
>
> WebDAV seems ideal because it could just work with plain old apache.
>
> However, I can't find any documentation for how to set this up.
>
> --
>
> We’re hiring if you know of any awesome Java Devops or Linux Operations
> Engineers!
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> 
>


Re: Solaris

2015-11-04 Thread Karl Heinz Marbaise

Hi,

Maven 3.3.X needs Java 1.7 ...

will not help...

You need to stuck with Maven 3.2.5 ...or you need to install Java 7 and 
may be you need to configure toolchain...


Kind regards
Karl Heinz Marbaise


On 11/4/15 8:12 PM, james pruett wrote:

This is all I can figure out as to what pieces of java my box has...
Thanks for helping!


$/usr/bin/javac -version
javac 1.6.0_91

$ /usr/bin/java -version
java version "1.6.0_91"
Java(TM) SE Runtime Environment (build 1.6.0_91-b13)
Java HotSpot(TM) Server VM (build 20.91-b07, mixed mode)

$ ls -las java*
1 lrwxrwxrwx   1 root other 16 Mar 12  2015 java ->
../java/bin/java
1 lrwxrwxrwx   1 root other 17 Mar 12  2015 javac ->
../java/bin/javac
1 lrwxrwxrwx   1 root other 19 Mar 12  2015 javadoc ->
../java/bin/javadoc
1 lrwxrwxrwx   1 root other 17 Mar 12  2015 javah ->
../java/bin/javah
1 lrwxrwxrwx   1 root other 17 Mar 12  2015 javap ->
../java/bin/javap
1 lrwxrwxrwx   1 root other 18 Mar 12  2015 javaws ->
../java/bin/javaws

$ pwd
/usr/java/jre/bin

$ ls
ControlPanel  java_vm   jcontrol  orbd  policytool
  rmiregistry   sparcv9   unpack200
java  javawskeytool   pack200   rmid
  servertooltnameserv




-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Solaris

2015-11-04 Thread Karl Heinz Marbaise

Hi James,

point JAVA_HOME to ...whatever/jdk1.7.0_79/

Kind regards
Karl Heinz Marbaise

On 11/4/15 8:27 PM, james pruett wrote:

I downloaded jdk1.7 binaries for Sparc 64bit.

$ find . -name bin
./jdk1.7.0_79/bin
./jdk1.7.0_79/jre/bin

Q: Do I just point JAVA_HOME to one of those?

Thanks again!
jim


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




Re: Solaris

2015-11-04 Thread james pruett
thanks.
I gave up. I don't have admin rights and I read that installing jdk by just
unpacking a zip file won't work.
I just donated to the apache foundation.
I always tip!
Jim


On Wed, Nov 4, 2015 at 2:01 PM, Karl Heinz Marbaise 
wrote:

> Hi James,
>
> point JAVA_HOME to ...whatever/jdk1.7.0_79/
>
> Kind regards
> Karl Heinz Marbaise
>
> On 11/4/15 8:27 PM, james pruett wrote:
>
>> I downloaded jdk1.7 binaries for Sparc 64bit.
>>
>> $ find . -name bin
>> ./jdk1.7.0_79/bin
>> ./jdk1.7.0_79/jre/bin
>>
>> Q: Do I just point JAVA_HOME to one of those?
>>
>> Thanks again!
>> jim
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


Re: Solaris

2015-11-04 Thread Karl Heinz Marbaise

Hi,

On 11/4/15 7:55 PM, james pruett wrote:

Hi again,

I am trying to use maven from Solaris and get this error.
Thanks for helping.
-jim


  $ ../../maven/apache-maven-3.3.3/bin/mvn clearn install -f pom.xml -N
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0


That looks you are using not Java 1.7+ JDK

Kind regards
Karl Heinz Marbaise

 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
 at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
 at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
 at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
 at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)
 at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)


On Wed, Nov 4, 2015 at 11:00 AM, Andrew Todd 
wrote:


See https://issues.apache.org/jira/browse/MNG-5852

This has happened in several releases -- Maven developers need to switch
their hashbang to #!/usr/bin/env bash or otherwise actually test against a
Bourne shell.

On Wed, Nov 4, 2015 at 11:29 AM, Dan Tran  wrote:


you may want to link your /bin/sh to bash

-D

On Wed, Nov 4, 2015 at 8:20 AM, james pruett 

wrote:



Hi,

I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz

My environment is:

echo $0
tcsh


I get this error

/apache-maven-3.3.3/bin % ./mvn
./mvn: syntax error at line 200: `(' unexpected


line 200 says: local basedir=($pwd)



Any help appreciated!
Jim


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Solaris

2015-11-04 Thread james pruett
This is all I can figure out as to what pieces of java my box has...
Thanks for helping!


$/usr/bin/javac -version
javac 1.6.0_91

$ /usr/bin/java -version
java version "1.6.0_91"
Java(TM) SE Runtime Environment (build 1.6.0_91-b13)
Java HotSpot(TM) Server VM (build 20.91-b07, mixed mode)

$ ls -las java*
   1 lrwxrwxrwx   1 root other 16 Mar 12  2015 java ->
../java/bin/java
   1 lrwxrwxrwx   1 root other 17 Mar 12  2015 javac ->
../java/bin/javac
   1 lrwxrwxrwx   1 root other 19 Mar 12  2015 javadoc ->
../java/bin/javadoc
   1 lrwxrwxrwx   1 root other 17 Mar 12  2015 javah ->
../java/bin/javah
   1 lrwxrwxrwx   1 root other 17 Mar 12  2015 javap ->
../java/bin/javap
   1 lrwxrwxrwx   1 root other 18 Mar 12  2015 javaws ->
../java/bin/javaws

$ pwd
/usr/java/jre/bin

$ ls
ControlPanel  java_vm   jcontrol  orbd  policytool
 rmiregistry   sparcv9   unpack200
java  javawskeytool   pack200   rmid
 servertooltnameserv


Re: Solaris

2015-11-04 Thread james pruett
I downloaded jdk1.7 binaries for Sparc 64bit.

$ find . -name bin
./jdk1.7.0_79/bin
./jdk1.7.0_79/jre/bin

Q: Do I just point JAVA_HOME to one of those?

Thanks again!
jim


Re: Convention for shipped artefacts?

2015-11-04 Thread Ron Wheeler

Two options that I know of:
1) Create a module that creates a single jar containing all of the code 
to be shipped.
2) If you want to ship a number of jars, create a Maven project using 
IzPack to create an installer that collects the jars to be shipped and 
builds an installer that will permit them to be deployed easily.


We have done both in different circumstances.

Ron

On 04/11/2015 4:20 AM, James Green wrote:

Open question:

I am looking at a project that consists of two or three dozen small maven
modules. Out of this we ship maybe six artefacts.

Does anyone have experience of managing this? I'm having difficulty
locating those projects that actually result in a shipped artefact. Perhaps
it's structure, perhaps it's naming.

Thanks,

James




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Solaris

2015-11-04 Thread james pruett
Hi,

I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz

My environment is:

echo $0
tcsh


I get this error

/apache-maven-3.3.3/bin % ./mvn
./mvn: syntax error at line 200: `(' unexpected


line 200 says: local basedir=($pwd)



Any help appreciated!
Jim


Re: Solaris

2015-11-04 Thread Jeff MAURY
Not sure the Maven scripts supports tcsh. Switch to bash if you can.

Regards
Jeff

On Wed, Nov 4, 2015 at 5:20 PM, james pruett  wrote:

> Hi,
>
> I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz
>
> My environment is:
>
> echo $0
> tcsh
>
>
> I get this error
>
> /apache-maven-3.3.3/bin % ./mvn
> ./mvn: syntax error at line 200: `(' unexpected
>
>
> line 200 says: local basedir=($pwd)
>
>
>
> Any help appreciated!
> Jim
>



-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


Re: Solaris

2015-11-04 Thread Dan Tran
you may want to link your /bin/sh to bash

-D

On Wed, Nov 4, 2015 at 8:20 AM, james pruett  wrote:

> Hi,
>
> I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz
>
> My environment is:
>
> echo $0
> tcsh
>
>
> I get this error
>
> /apache-maven-3.3.3/bin % ./mvn
> ./mvn: syntax error at line 200: `(' unexpected
>
>
> line 200 says: local basedir=($pwd)
>
>
>
> Any help appreciated!
> Jim
>


Re: Solaris

2015-11-04 Thread Andrew Todd
See https://issues.apache.org/jira/browse/MNG-5852

This has happened in several releases -- Maven developers need to switch
their hashbang to #!/usr/bin/env bash or otherwise actually test against a
Bourne shell.

On Wed, Nov 4, 2015 at 11:29 AM, Dan Tran  wrote:

> you may want to link your /bin/sh to bash
>
> -D
>
> On Wed, Nov 4, 2015 at 8:20 AM, james pruett  wrote:
>
> > Hi,
> >
> > I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz
> >
> > My environment is:
> >
> > echo $0
> > tcsh
> >
> >
> > I get this error
> >
> > /apache-maven-3.3.3/bin % ./mvn
> > ./mvn: syntax error at line 200: `(' unexpected
> >
> >
> > line 200 says: local basedir=($pwd)
> >
> >
> >
> > Any help appreciated!
> > Jim
> >
>


Convention for shipped artefacts?

2015-11-04 Thread James Green
Open question:

I am looking at a project that consists of two or three dozen small maven
modules. Out of this we ship maybe six artefacts.

Does anyone have experience of managing this? I'm having difficulty
locating those projects that actually result in a shipped artefact. Perhaps
it's structure, perhaps it's naming.

Thanks,

James


Re: Solaris

2015-11-04 Thread james pruett
Hi again,

I am trying to use maven from Solaris and get this error.
Thanks for helping.
-jim


 $ ../../maven/apache-maven-3.3.3/bin/mvn clearn install -f pom.xml -N
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at
org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)


On Wed, Nov 4, 2015 at 11:00 AM, Andrew Todd 
wrote:

> See https://issues.apache.org/jira/browse/MNG-5852
>
> This has happened in several releases -- Maven developers need to switch
> their hashbang to #!/usr/bin/env bash or otherwise actually test against a
> Bourne shell.
>
> On Wed, Nov 4, 2015 at 11:29 AM, Dan Tran  wrote:
>
> > you may want to link your /bin/sh to bash
> >
> > -D
> >
> > On Wed, Nov 4, 2015 at 8:20 AM, james pruett 
> wrote:
> >
> > > Hi,
> > >
> > > I am compiling maven on Solaris.   apache-maven-3.3-3.bin.tar.gz
> > >
> > > My environment is:
> > >
> > > echo $0
> > > tcsh
> > >
> > >
> > > I get this error
> > >
> > > /apache-maven-3.3.3/bin % ./mvn
> > > ./mvn: syntax error at line 200: `(' unexpected
> > >
> > >
> > > line 200 says: local basedir=($pwd)
> > >
> > >
> > >
> > > Any help appreciated!
> > > Jim
> > >
> >
>