Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 53941 invoked from network); 22 Feb 2008 16:11:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2008 16:11:00 -0000 Received: (qmail 6109 invoked by uid 500); 22 Feb 2008 16:10:50 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 6079 invoked by uid 500); 22 Feb 2008 16:10:50 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 6068 invoked by uid 99); 22 Feb 2008 16:10:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 08:10:50 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of joshua.suereth@gmail.com designates 209.85.162.182 as permitted sender) Received: from [209.85.162.182] (HELO el-out-1112.google.com) (209.85.162.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Feb 2008 16:10:17 +0000 Received: by el-out-1112.google.com with SMTP id v27so813157ele.22 for ; Fri, 22 Feb 2008 08:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=c2RezHBWk+4t5r5u27eMm4SDB8aq0H+3oe+3eqUNUS4=; b=MupcTRCzcTYNZQzEtQKlT2lc87B3hElOHe3XsQpgt8CNQdP2qqcvxKMGG+TTiexX3Vo/iihCZ4Vsh+9Y5MenF+tXgY93NH+YyW2ZqBSNGKLqPLXgyfMUJZG5VOvujpdnaW1GXgSaKVAFhlry4TSOoOQzoiNa+VwRCPrNmdQzuhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=YtcrOnNHXIUG8OgTzK0dsgN4SXS7WjvlvW5oEwtdqrJE6nmMgfjoQ5V0cHE6DAZ/a/WTtjrETZRF1LaPZPo1S5vjBbPunx9Yg9z34oWoNc57sI8k6qm3eEe+Xh4ziF6V4eNS63Np/Y+8INrHqASA3IolBkEjkDCofblFvxWw6uU= Received: by 10.142.178.13 with SMTP id a13mr109816wff.129.1203696625010; Fri, 22 Feb 2008 08:10:25 -0800 (PST) Received: by 10.142.164.13 with HTTP; Fri, 22 Feb 2008 08:10:24 -0800 (PST) Message-ID: <55b774930802220810t2b3c3096u6fe4f4956ce7faa@mail.gmail.com> Date: Fri, 22 Feb 2008 11:10:24 -0500 From: "Josh Suereth" To: users@myfaces.apache.org Subject: maven-apt-plugin MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_623_9431189.1203696625017" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_623_9431189.1203696625017 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not sure if this is the right place to be sending this, but I was wondering why the following doesn't work: TestWar org.apache.maven.plugins maven-compiler-plugin 1.5 org.apache.myfaces.tobago maven-apt-plugin 1.0.15 true test.MyAnnotationProcessorFactory false MyAptProcessor MyAptProcessor 1.0-SNAPSHOT If I move the dependency outside the plugin directory, and make it for the whole project then it works. I'd rather not make my Annotation processor be a dependency for the whole project as it just generates some config files based on annotations. Any ideas? Thanks, -Josh Suereth ------=_Part_623_9431189.1203696625017 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not sure if this is the right place to be sending this, but I was wondering why the following doesn't work:

<build>
        <finalName>TestWar</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <compilerVersion>1.5</compilerVersion>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.myfaces.tobago</groupId>
                <artifactId>maven-apt-plugin</artifactId>
                <version>1.0.15</version>
                <configuration>
                  <nocompile>true</nocompile>
                  <factory>test.MyAnnotationProcessorFactory</factory>
                  <fork>false</fork>
                </configuration>
                <dependencies>
                  <dependency>
                    <groupId>MyAptProcessor</groupId>
                    <artifactId>MyAptProcessor</artifactId>
                    <version>1.0-SNAPSHOT</version>
                  </dependency>
                </dependencies>
            </plugin>
        </plugins>
    </build>



If I move the dependency outside the plugin directory, and make it for the whole project then it works.   I'd rather not make my Annotation processor be a dependency for the whole project as it just generates some config files based on annotations.   Any ideas?

Thanks,
-Josh Suereth
------=_Part_623_9431189.1203696625017--