Thanks Maria,

Found out the issue.  It was because I had attached the source plugin to the
pom, and the jar contained only java files and no class files.  When I
removed the source plugin from the build cycle, it worked, as it should.

My other question is:
How do I deploy sources to the repo as part of the build lifecycle?  This is
what I used.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
                                <executions>
                                        <execution>
                                                <phase>install</phase>
                                                <goals>
                                                        <goal>jar</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

Regards,
Saleem
-- 
View this message in context: 
http://www.nabble.com/Dependency-not-getting-resolved-tf3710301s177.html#a10595473
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to