You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Andre Agapito <ag...@gmail.com> on 2014/03/14 00:31:10 UTC

Using Maven Project (JAR) as library for non-Maven Android project

Hello,
I'm developing an Android Application (Non-Maven) and I'd like to use a
Maven Project as library. Is this possible? How to import a Maven jar file
as library to a Non-Maven project?

original-MavenOBD-0.0.1-SNAPSHOT.jar

Thanks,
BR




*André Camargo AgapitoCel: 55 (11) 90309-1221São
Paulo/SPagapito.andre@gmail.com <ag...@gmail.com>*

Re: Using Maven Project (JAR) as library for non-Maven Android project

Posted by Manfred Moser <ma...@mosabuam.com>.
Agreed ;-) 

You will need to build your Android app somehow. And either way.. you can use the jar no matter how it was built. Maven or not. 

Manually manaing the jar will be more painful than using Maven... or Gradle if you want to use that (but then you should ask for more help elsewhere ;-) 

manfred

Martin Gainty wrote on 13.03.2014 18:03:

> I would suggest implementing your Android Application with maven-android-plugin
> https://code.google.com/p/maven-android-plugin/
> 
> 
> 
> Obrigado!
> Martín 
> ______________________________________________ 
> 
> 
>  
> 
> 
> 
>> Date: Thu, 13 Mar 2014 20:31:10 -0300
>> Subject: Using Maven Project (JAR) as library for non-Maven Android project
>> From: agapito.andre@gmail.com
>> To: dev@maven.apache.org
>> 
>> Hello,
>> I'm developing an Android Application (Non-Maven) and I'd like to use a
>> Maven Project as library. Is this possible? How to import a Maven jar file
>> as library to a Non-Maven project?
>> 
>> original-MavenOBD-0.0.1-SNAPSHOT.jar
>> 
>> Thanks,
>> BR
>> 
>> 
>> 
>> 
>> *André Camargo AgapitoCel: 55 (11) 90309-1221São
>> Paulo/SPagapito.andre@gmail.com <ag...@gmail.com>*
> 		 	   		  


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: Using Maven Project (JAR) as library for non-Maven Android project

Posted by Martin Gainty <mg...@hotmail.com>.
I would suggest implementing your Android Application with maven-android-plugin
https://code.google.com/p/maven-android-plugin/

 

Obrigado!
Martín 
______________________________________________ 


  



> Date: Thu, 13 Mar 2014 20:31:10 -0300
> Subject: Using Maven Project (JAR) as library for non-Maven Android project
> From: agapito.andre@gmail.com
> To: dev@maven.apache.org
> 
> Hello,
> I'm developing an Android Application (Non-Maven) and I'd like to use a
> Maven Project as library. Is this possible? How to import a Maven jar file
> as library to a Non-Maven project?
> 
> original-MavenOBD-0.0.1-SNAPSHOT.jar
> 
> Thanks,
> BR
> 
> 
> 
> 
> *André Camargo AgapitoCel: 55 (11) 90309-1221São
> Paulo/SPagapito.andre@gmail.com <ag...@gmail.com>*