To run python setup tools using Maven

snehal.shaha created the topic: To run python setup tools using Maven
Hi All

I have two modules in my project.
1. Java module
2. Python Module

I am using Maven for java and building the module

For python I decided to use setuptools (setup.py).

I want to use Maven and try and build Python Module.
Please can anybody help how to use any plugin available in Maven to Build Python Project.

The exact example code for POM.xml

If not this way, Can you suggest me some way I can use one tool and do both of this.
I am preferring Maven to be used for whole project.

Thanks in advance,
Snehal

tpatil replied the topic: Re: To run python setup tools using Maven
Hi Snehal,

You can use maven-exec-plugin to execute python script using maven.

E.g. org.codehaus.mojo
exec-maven-plugin



python
src/main/python

build.py


../../main/python:$PYTHONPATH


python-build package
exec


Hope this helps…

Tagged :

Creating a maven project by using hudson

revanthreddy created the topic: creating a maven project by using hudson
hi,
iam new to maven.can any body help me how to create a new project by using hudson tool and also please give me necessary project structure hoe to create war file by using pom.xml

thanks®ards,
Revanth.

rajeshkumar replied the topic: Re: creating a maven project by using hudson
This you can achieve using 2 steps.
1. First write your pom.xml – For generating war files using maven, you can use following plugins.
maven.apache.org/plugins/maven-war-plugi…ng-webresources.html
2. Setup Jobs in Hudson and configure jobs using maven

hope this helps..
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Downloaded Maven, what’s next?

mfeighner created the topic: Downloaded Maven, what’s next?
New to Maven, I downloaded Maven 3.0.4 SRC and BIN from maven.apache.org/download.html to my Windows 7 Computer, What do I need to do next to use it?

scmuser replied the topic: Re: Downloaded Maven, what’s next?
This is good place to start with..if you have specific question, plz do ask…
maven.apache.org/guides/getting-started/index.html

Tagged :

Windows/Maven and Role of Archiva

wasi_shez created the topic: Windows/Maven and Role of Archiva
Hi Guys!
I have some Questions for Maven.

1)I have generated simple ‘Jars’ and ‘Wars’ through Maven.I have an Idea that maven always download its Repository Structure once then We placed our Code and generate Builds accordingly.

Is it possible that we can adjust Maven according to Our Code line and let MAVEN to understand our Code line for generating Builds or performing rest of the functions accordingly?

2) We are working on Windows Environment and Want o initiate our Code Build generation through Maven. Does Windows is a Good Platform for this?

3)How does the ‘Archiva’ can work best for us in Windows Environment or is there any alternative you guys will suggest against this?

I hope my Queries will understand you to answer accordingly.

Looking forward for your Comprehensive acknowledgement.

Thanks in advance

Waseem Bokhari
CM Analyst
00923214294926
wasi_shez@hotmail.com
Skype: wasi_shez

rajeshkumar replied the topic: Windows/Maven and Role of Archiva
Sorry for late on this. are you still looking for the answer on this?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Directory structure using Maven

bhavith created the topic: Directory structure using Maven
Hi Raj,

I am facing difficulty when trying to build a directory structure using maven. I get conect reset errors.
i used the below command to create a directory structure. Please let me know if i am missing anything.

mvn archetype:generate -DgroupId=com.companyname.software -DartifactId=financialService -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false

Regards,
Bhavith

rajeshkumar replied the topic: Directory structure using Maven
Commands seems to be correct. You have not shared the error message. Also please check if you are connected with internet as its needed to download many artifacts from apache repo.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

bhavith replied the topic: Directory structure using Maven
Apologies for that.
Attaaced screenshot and yes internet is connected.

rajeshkumar replied the topic: Directory structure using Maven
I cant find the error attached. Plz post it
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Maven course content

swatinikam2009 created the topic: Maven course content
Hi Team,

I am looking for Maven PPT. I need it for reference.

Regards Swati Nikam

swatinikam2009 replied the topic: Maven course content
I got PPT for the same.

rajeshkumar replied the topic: Maven course content
This is the place from where you can download all the PPT for maven.
www.devopsschool.com/tutorial/maven/
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Maven

swatinikam2009 created the topic: Maven
Hi ,

I am trying to run java code. I have set the environment correctly. Also created MAVEN_HOME variable and added it to path varibale.
But still i am getting error message saying “count not find or load main class App”.

What to do?

Tagged :

Maven

swatinikam2009 created the topic: Maven
Hi ,

I am trying to run java code. I have set the environment correctly. Also created MAVEN_HOME variable and added it to path varibale.
But still i am getting error message saying “count not find or load main class App”.

What to do?

rajeshkumar replied the topic: Maven
Check with your java file main method or maven directory structure.

Example
github.com/scmgalaxy/jacoco-maven-unittestv2/
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

swatinikam2009 replied the topic: Maven
Hi Rajesh,

I have done all the settings proprly but still getting the error.

So I tried to run code by followinf cmd.

c:\MavenDemos\MyPro > java -cp target/classes com.acc.App

And then it is showing me output.

Can you please tell me. Where i am doing wrong?

swatinikam2009 replied the topic: Maven
Contiued with the above query.

I have done one change. And then it is working fine . No need to use c:\MavenDemos\MyPro>java -cp target/classes com.acc.App

I have removed CLASSPATH variable from user variable in Env. variables.

Then it is working fine. so now i just type c:\MavenDemos\MyPro\target\classes>java com.acc.App

Tagged :