Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B98D010728 for ; Tue, 4 Jun 2013 14:31:02 +0000 (UTC) Received: (qmail 28172 invoked by uid 500); 4 Jun 2013 14:30:59 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 28103 invoked by uid 500); 4 Jun 2013 14:30:59 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 28095 invoked by uid 99); 4 Jun 2013 14:30:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 14:30:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of alessandro.dottavio@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 14:30:52 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UjsFX-0003qo-FD for users@maven.apache.org; Tue, 04 Jun 2013 07:30:11 -0700 Date: Tue, 4 Jun 2013 07:30:11 -0700 (PDT) From: alesky To: users@maven.apache.org Message-ID: <1370356211447-5758214.post@n5.nabble.com> Subject: Call a custom plugin from another project MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys i'm try to implement my first plugin so i did just a plugin that print a log on the screen this is the code and this is the pom related to this plugin, from the pom generated from the plugin archetype i have just add the maven-plugin-plugin to add the prefix pojo to make same test finally i have configure my setting to register my group of plugin now my proble,: from the command line i can call with any problem my plugin mvn pojo:log but if i try to use it in another project it is not used! for example this is the pom of my test project and if i run on this project mvn process-sources i should aspect to see my output but the plugin is not used at all any advice of the reason that the plugin work directly from command line and not if configured in the pom of another project? thanks this is the log of the pom project this is instead the plugin.xml generated by maven -- View this message in context: http://maven.40175.n5.nabble.com/Call-a-custom-plugin-from-another-project-tp5758214.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org