Hi Allen, I have no declaration of jdepend in my pom.xml, I just want to run jdepend against the current source folder (src/main/java)
Tony --- Allan Ramirez <[EMAIL PROTECTED]> wrote: > Hi Tony, > > Jdepend plugin is hosted at mojo codehaus. By the > messages you posted it > seems that you declared the groupId to > org.apache.maven.plugins and the > artifactId to maven-jdepend-plugin. > Change your groupId to org.codehaus.mojo and your > artifactId to > jdepend-maven-plugin. > > It should work. > > -allan > > tony nys wrote: > > >Has anyone successfully used the jdepend plugin in > m2 > >? > >When I run the goal, it cannot find the plugin > >(other plugins do work; get downloaded) > > > >Tony > > > > > > > >[DEBUG] Building Maven user-level plugin registry > >from: 'D:\My Documents\.m2\plugin-registry.xml' > >[DEBUG] Building Maven global-level plugin registry > >from: > 'd:\maven-2.0\bin\..\conf\plugin-registry.xml' > >[INFO] Scanning for projects... > >[INFO] Searching repository for plugin with prefix: > >'jdepend'. > >[DEBUG] maven-pmd-plugin: resolved to version > >2.0-alpha-2 from repository central > >[DEBUG] Retrieving parent-POM from the repository > for > >project: > >null:maven-pmd-plugin:maven-plugin:2.0-alpha-2 > >[DEBUG] maven-compiler-plugin: resolved to version > 2.0 > >from repository central > >[DEBUG] Retrieving parent-POM from the repository > for > >project: > null:maven-compiler-plugin:maven-plugin:2.0 > >[DEBUG] maven-jdepend-plugin: using locally > installed > >snapshot > >[DEBUG] Artifact not found - using stub model: > Unable > >to determine the latest version > > > > > >org.apache.maven.plugins:maven-jdepend-plugin:pom:LATEST > > > > > >[DEBUG] Using defaults for missing POM > >org.apache.maven.plugins:maven-jdepend-plugin:pom:LATEST > >[DEBUG] maven-jdepend-plugin: using locally > installed > >snapshot > >[DEBUG] Artifact not found - using stub model: > Unable > >to determine the release version > > > > > >org.apache.maven.plugins:maven-jdepend-plugin:pom:RELEASE > > > > > >[DEBUG] Using defaults for missing POM > >org.apache.maven.plugins:maven-jdepend-plugin:pom:RELEASE > >[INFO] > >---------------------------------------------------------------------------- > >[ERROR] BUILD ERROR > >[INFO] > >---------------------------------------------------------------------------- > >[INFO] The plugin > >'org.apache.maven.plugins:maven-jdepend-plugin' > does > >not exist or no valid version could be > >found > >[INFO] > >---------------------------------------------------------------------------- > >[DEBUG] Trace > >org.apache.maven.lifecycle.LifecycleExecutionException: > >The plugin > 'org.apache.maven.plugins:maven-jdepend-plu > >gin' does not exist or no valid version could be > found > > at > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1247 > >) > > at > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java > >:1483) > > at > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecy > >cleExecutor.java:378) > > at > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134) > > at > >org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > > at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > > > >__________________________________________________ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.yahoo.com > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
