Maven in python

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Maven in python

Vikas Mishra
Hi,


Hope you are doing well!

I  want to use maven (pom.xml) in python. I am having python 3.6.3 and
visual studio code as an IDE in my laptop. I also installed serenity with
"pip install maven" command where I got msven 0.1.0 version.

I am unable to create maven project there. May you please help me with
example (very basic) by how to use maven in python and any documents to go
through.

It will be highly appreciated if you can help me with this.

Regards,
Vikas Kumar Mishra
Delhi, India
9910193220
Reply | Threaded
Open this post in threaded view
|

Re: Maven in python

Vikas Mishra
Hi,

Please help me in below problem.

Regards,
Vikas Mishra

On Sun, 10 May 2020, 4:14 am Vikas Mishra, <[hidden email]> wrote:

> Hi,
>
>
> Hope you are doing well!
>
> I  want to use maven (pom.xml) in python. I am having python 3.6.3 and
> visual studio code as an IDE in my laptop. I also installed serenity with
> "pip install maven" command where I got msven 0.1.0 version.
>
> I am unable to create maven project there. May you please help me with
> example (very basic) by how to use maven in python and any documents to go
> through.
>
> It will be highly appreciated if you can help me with this.
>
> Regards,
> Vikas Kumar Mishra
> Delhi, India
> 9910193220
>
Reply | Threaded
Open this post in threaded view
|

Re: Maven in python

Romain Manni-Bucau
Hi Vikas,

If you really want to use Apache Maven to build a python project (it is not
really done for it) you have two main options:

1. Use jython and maven integrations (
http://mavenjython.sourceforge.net/compile/)
2. Just disable default maven lifecycle and use exec maven plugin to launch
virtual env, pip, etc to kind of define your own lifecycle

The not listed option is to build your own maven lifecycle
(<packaging>python</packaging>) but I guess it is not needed for a single
project.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le mar. 12 mai 2020 à 09:59, Pim Moerenhout <[hidden email]> a
écrit :

> Hi Vikas,
>
> I think you should contact the developer of the other 'maven':
> https://github.com/john-sandall <https://github.com/john-sandall>. His
> email is listed there.
> But this 'maven' provides easy access to open datasets in both raw and
> model-ready formats, with usages for UK elections and Covid-19 datasets.
> So, not useful for any pom.xml related stuff.
>
> Regards, Pim
>
> > On 11 May 2020, at 08:35, Vikas Mishra <[hidden email]> wrote:
> >
> > Hi,
> >
> > Please help me in below problem.
> >
> > Regards,
> > Vikas Mishra
> >
> > On Sun, 10 May 2020, 4:14 am Vikas Mishra, <[hidden email]> wrote:
> >
> >> Hi,
> >>
> >>
> >> Hope you are doing well!
> >>
> >> I  want to use maven (pom.xml) in python. I am having python 3.6.3 and
> >> visual studio code as an IDE in my laptop. I also installed serenity
> with
> >> "pip install maven" command where I got msven 0.1.0 version.
> >>
> >> I am unable to create maven project there. May you please help me with
> >> example (very basic) by how to use maven in python and any documents to
> go
> >> through.
> >>
> >> It will be highly appreciated if you can help me with this.
> >>
> >> Regards,
> >> Vikas Kumar Mishra
> >> Delhi, India
> >> 9910193220
> >>
>
>