Hi, I am trying to configure Maven with Intellj Idea in POM file but looks like POM file which I have created has something missing in that.
When I do *mvn clean *it is showing me build successful, but when I am giving command like* mvn compile/mvn package* in that case it is creating an empty jar file. In classes directory also it doesn't contain any files. ** My source folder is in*D:\ApgarSVN\development\Components\Internal\common-1.6.0 * this directory* *with* src* name. Enclosed POM file for your reference. Thanks. **
<?xml version="1.0" encoding="UTF-8"?> <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>com.apelon</groupId> <artifactId>common-1.6.0</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <dependencies> <dependency> <groupId>lib</groupId> <artifactId>lib</artifactId> <version>3.8.1</version> </dependency> </dependencies> <build> <sourceDirectory>src/com/apelon</sourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-idea-plugin</artifactId> <version>2.2</version> </plugin> <!-- To use the plugin goals in your POM or parent POM --> </plugins> </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org