Fwd: Building Maven 3.5.0 on GNURoot Debian

2017-05-19 Thread Rupinder Singh
Downloading tar or zip binary distribution isn't good for me because most
of them come without execute permissions. chmod doesn't work on this distro
currently. Whereas pacakges installed by apt-get work. I'm hoping that
building will also work.

-- Forwarded message --
From: Rupinder Singh <rupi@gmail.com>
Date: Sat, May 20, 2017 at 11:10 AM
Subject: Building Maven 3.5.0 on GNURoot Debian
To: Maven Users List <users@maven.apache.org>


Hi,

I'm using GNURoot Debian (fakeroot Linux distro) on Anroid phone. While I
could get maven 3.0.5 from the repository with apt-get, any higher version
is not available. I would like maven 3.5.0. So I guess I should build it.
Could somebody enlist the steps for my quick reference?

Regards
Rupinder


Building Maven 3.5.0 on GNURoot Debian

2017-05-19 Thread Rupinder Singh
Hi,

I'm using GNURoot Debian (fakeroot Linux distro) on Anroid phone. While I
could get maven 3.0.5 from the repository with apt-get, any higher version
is not available. I would like maven 3.5.0. So I guess I should build it.
Could somebody enlist the steps for my quick reference?

Regards
Rupinder


Re: Executing Apache CXF with Maven

2017-05-07 Thread Rupinder Singh
Hi Martin,

Thanks.  Martin, resourceful as ever. know you frm axis2 list. I'd also
reverted to CXF users list earlier.

Regards
Rupinder
On 7 May 2017 17:27, "Martin Gainty" <mgai...@hotmail.com> wrote:

> Rupi
>
>
> i followed the steps exactly and could not get web.xml to be produced for
> webapp
>
> ping dan kulp
>
> https://github.com/apache/cxf/tree/master/maven-plugins/
> archetypes/cxf-jaxws-javafirst
>
>
> please keep us apprised of solution
>
>
> Good Luck!
>
> Martin
> __
>
>
> 
> From: Stephen Connolly <stephen.alan.conno...@gmail.com>
> Sent: Saturday, May 6, 2017 5:49 PM
> To: Maven Users List
> Subject: Re: Executing Apache CXF with Maven
>
> Sounds like the archetype is incorrect. You should ask whoever authored the
> archetype (looks like CXF) to fix it
>
> On Sat 6 May 2017 at 16:18, Rupinder Singh <rupi@gmail.com> wrote:
>
> > Hi Stephen,
> >
> > Somehow mvn archetype:generate -Dfilter=org.apache.cxf.archetype:   did
> not
> > generate the project properly. So I downloaded the CXF distribution, as
> > suggested to me earlier in CXF mailing list, and used the same projects
> in
> > its samples folder and  repeated the remaining steps. They work.
> >
> > Thanks.
> >
> > Rupinder
> >
> > On Sat, May 6, 2017 at 6:14 PM, Rupinder Singh <rupi@gmail.com>
> wrote:
> >
> > > Hi Stephen,
> > > I took it there. From the initial response, I thought I should  bring
> it
> > > here. I hope someone can look into it.
> > >
> > > Rupinder
> > > On 6 May 2017 18:06, "Stephen Connolly" <stephen.alan.connolly@gmail.
> com
> > >
> > > wrote:
> > >
> > >> This is really an issue for the CXF mailing lists.
> > >>
> > >> I suggest you take your question there.
> > >>
> > >> On Sat 6 May 2017 at 12:26, Rupinder Singh <rupi@gmail.com>
> wrote:
> > >>
> > >> > Hi,
> > >> > Following the simple tutorial at
> > >> > http://www.cse.unsw.edu.au/~cs9322/labs/lab01/  I have created
> > project
> > >> > named HelloWorldCXF in my CXF working directory cxfwrk using maven.
> > >> Then ,
> > >> > I built it with mvn clean install. I copied the generated
> > >> > war HelloWorldCXF-1.0-SNAPSHOT.war to webapps folder
> > >> > of apache-tomcat-8.5.14. And re-started Tomcat. The soap service is
> > >> > available at http://localhost:8080/HelloWorldCXF-1.0-SNAPSHOT.
> > >> Finally, I
> > >> > 'm trying to test it with client available in the project using
> maven,
> > >> from
> > >> > the root of the project. I'm seeing build failure as in the two
> > outputs
> > >> > attached. The class that it refers to as not found is very much
> there.
> > >> >
> > >> > Can anybody look into this?
> > >> >
> > >> > Rupinder
> > >> >
> > >> > 
> -
> > >> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > >> > For additional commands, e-mail: users-h...@maven.apache.org
> > >>
> > >> --
> > >> Sent from my phone
> > >>
> > >
> >
> --
> Sent from my phone
>


Re: Executing Apache CXF with Maven

2017-05-06 Thread Rupinder Singh
Hi Stephen,

Somehow mvn archetype:generate -Dfilter=org.apache.cxf.archetype:   did not
generate the project properly. So I downloaded the CXF distribution, as
suggested to me earlier in CXF mailing list, and used the same projects in
its samples folder and  repeated the remaining steps. They work.

Thanks.

Rupinder

On Sat, May 6, 2017 at 6:14 PM, Rupinder Singh <rupi@gmail.com> wrote:

> Hi Stephen,
> I took it there. From the initial response, I thought I should  bring it
> here. I hope someone can look into it.
>
> Rupinder
> On 6 May 2017 18:06, "Stephen Connolly" <stephen.alan.conno...@gmail.com>
> wrote:
>
>> This is really an issue for the CXF mailing lists.
>>
>> I suggest you take your question there.
>>
>> On Sat 6 May 2017 at 12:26, Rupinder Singh <rupi@gmail.com> wrote:
>>
>> > Hi,
>> > Following the simple tutorial at
>> > http://www.cse.unsw.edu.au/~cs9322/labs/lab01/  I have created project
>> > named HelloWorldCXF in my CXF working directory cxfwrk using maven.
>> Then ,
>> > I built it with mvn clean install. I copied the generated
>> > war HelloWorldCXF-1.0-SNAPSHOT.war to webapps folder
>> > of apache-tomcat-8.5.14. And re-started Tomcat. The soap service is
>> > available at http://localhost:8080/HelloWorldCXF-1.0-SNAPSHOT.
>> Finally, I
>> > 'm trying to test it with client available in the project using maven,
>> from
>> > the root of the project. I'm seeing build failure as in the two outputs
>> > attached. The class that it refers to as not found is very much there.
>> >
>> > Can anybody look into this?
>> >
>> > Rupinder
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> > For additional commands, e-mail: users-h...@maven.apache.org
>>
>> --
>> Sent from my phone
>>
>


Re: Executing Apache CXF with Maven

2017-05-06 Thread Rupinder Singh
Hi Stephen,
I took it there. From the initial response, I thought I should  bring it
here. I hope someone can look into it.

Rupinder
On 6 May 2017 18:06, "Stephen Connolly" <stephen.alan.conno...@gmail.com>
wrote:

> This is really an issue for the CXF mailing lists.
>
> I suggest you take your question there.
>
> On Sat 6 May 2017 at 12:26, Rupinder Singh <rupi@gmail.com> wrote:
>
> > Hi,
> > Following the simple tutorial at
> > http://www.cse.unsw.edu.au/~cs9322/labs/lab01/  I have created project
> > named HelloWorldCXF in my CXF working directory cxfwrk using maven. Then
> ,
> > I built it with mvn clean install. I copied the generated
> > war HelloWorldCXF-1.0-SNAPSHOT.war to webapps folder
> > of apache-tomcat-8.5.14. And re-started Tomcat. The soap service is
> > available at http://localhost:8080/HelloWorldCXF-1.0-SNAPSHOT. Finally,
> I
> > 'm trying to test it with client available in the project using maven,
> from
> > the root of the project. I'm seeing build failure as in the two outputs
> > attached. The class that it refers to as not found is very much there.
> >
> > Can anybody look into this?
> >
> > Rupinder
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
>
> --
> Sent from my phone
>


Executing Apache CXF with Maven

2017-05-06 Thread Rupinder Singh
Hi,
Following the simple tutorial at http://www.cse.unsw.edu.au/~
cs9322/labs/lab01/  I have created project named HelloWorldCXF in my CXF
working directory cxfwrk using maven. Then , I built it with mvn clean
install. I copied the generated war HelloWorldCXF-1.0-SNAPSHOT.war to
webapps folder of apache-tomcat-8.5.14. And re-started Tomcat. The soap
service is available at http://localhost:8080/HelloWorldCXF-1.0-SNAPSHOT.
Finally, I 'm trying to test it with client available in the project using
maven, from the root of the project. I'm seeing build failure as in the two
outputs attached. The class that it refers to as not found is very much
there.

Can anybody look into this?

Rupinder

D:\cxfwrk\HelloWorldCXF>mvn -e exec:java -Dexec.mainClass=hom.rupipal.cxf.starte
r.hello.HelloWorldImplTest
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Simple CXF Java-first SOAP project using Spring configuration 1.
0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ HelloWorldCXF ---
[WARNING]
java.lang.ClassNotFoundException: hom.rupipal.cxf.starter.hello.HelloWorldImplTe
st
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:270)
at java.lang.Thread.run(Thread.java:745)
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 2.806 s
[INFO] Finished at: 2017-05-06T16:38:01+05:30
[INFO] Final Memory: 9M/22M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (d
efault-cli) on project HelloWorldCXF: An exception occured while executing the J
ava class. hom.rupipal.cxf.starter.hello.HelloWorldImplTest -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project HelloWorl
dCXF: An exception occured while executing the Java class. hom.rupipal.cxf.start
er.hello.HelloWorldImplTest
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
Caused by: org.apache.maven.plugin.MojoExecutionException: An exception occured
while executing the Java class. hom.rupipal.cxf.starter.hello.HelloWorldImplTest

at org.codehaus.mojo.exec.ExecJavaMojo.execute(ExecJavaMojo.java:339)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:207)
... 20 more
Caused by: java.lang.ClassNotFoundException: hom.rupipal.cxf.starter.hello.Hello
WorldImplTest
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at