Share on Google+Share on Google+

Ask Maven Questions Online

Ads
Maven is an Open Source high-level, intelligent project management, build and deployment tool that deals with application development lifecycle management.

Ask Maven Questions Online

     

Maven is an Open Source high-level, intelligent project management, build and deployment tool that deals with application development lifecycle management. Maven is based on the concept of a project object model (POM) in which it manages the documents’ building process and minimizes the complexities. It comes with pre-defined targets for performing certain well defined tasks such as compilation of code and its packaging.

Ask any questions if you are facing any problem in Maven project whether it is in programming, in error handling, in implementing the code into the project or its proper uses. The nascent user and learners can also post your problems in our new ‘Ask Maven Questions Online’ and ease your stress.

For your stress shooting, we have initiated this service in which our Maven proficient professionals will solve the problem within two days. Moreover, our visitors who are expert in Maven can also resolve your problem by posting the answer online.

Maven is the project of Apache Software Foundation. It is designed to dynamically download Java libraries and Maven plug-ins from one or more repositories. Besides building projects provides various other characters like clearing the definition of the project, ways to share jars across projects. It also provides the easy way to publish project information (OOS).


Advertisements

Ads

Posted on: November 23, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: Ask Maven Questions Online   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:1
Devika Pradhan
June 23, 2015
Pom.xml compilation

I have thw following pom.xml file for an android application: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>lntinfotech</groupId> <artifactId>navi</artifactId> <version>0.0.1-SNAPSHOT</version> <description>Sample android project that Abhipsha mailed me. To test a sample pom file from the internet </description> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>maven-android-plugin</artifactId> <version>2.8.4</version> <configuration> <sdk> <platform>8</platform> </sdk> <file>navi/navi-0.0.1-SNAPSHOT-aligned.apk</file> <sign> <debug>false</debug> </sign> <zipalign> <deleteConflictingFiles>true</deleteConflictingFiles> <undeployBeforeDeploy>true</undeployBeforeDeploy> </zipalign> </configuration> <extensions>true</extensions> <executions> <execution> <id>alignApk</id> <phase>install</phase> <goals> <goal>zipalign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.android</groupId> <artifactId>android</artifactId> <version>2.1.2</version> <scope>provided</scope> </dependency> </dependencies> </project> And i am getting the following errors: 1. Project build error: Unresolveable build extension: Plugin com.jayway.maven.plugins.android.generation2:maven- android-plugin:2.8.4 or one of its dependencies could not be resolved: Failed to collect dependencies for com.jayway.maven.plugins.android.generation2:maven- android-plugin:jar:2.8.4 () 2. Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler- plugin:3.1:testCompile (execution: default-testCompile, phase: test-compile) - CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler- plugin:jar:3.1: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.1 from/to central (http://repo.maven.apache.org/maven2): java.net.ConnectException: null to http:// repo.maven.apache.org/maven2/org/apache/maven/plugins/ maven-compiler-plugin/3.1/maven-compiler-plugin-3.1.pom - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler- plugin:3.1:compile (execution: default-compile, phase: compile) I am new to Maven so these errors may seem silly. Can someone please help me with what's wronge. A detailed explanation would be helpful.

Ads

Advertisement