Hi Eddie,

I have tried to use the maven-apt-compiler, but I can't because of the error: line too long. It seems that the generated "apt" command line is too long.

In the source code, it seems that each source file is added one by one. Is it possible to use directory instead of source files ?

My contribution concerning the pom configuration: instead to add the dependency in the POM of the maven-compiler-plugin, it is possible to add this dependence directly in the POM of the project to build.
Example:
            <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-compiler-plugin</artifactId>
               <configuration>
                   <compilerId>apt</compilerId>
                   <source>1.5</source>
                   <target>1.5</target>
                   <fork>true</fork>
                   <verbose>true</verbose>
                   <compilerArguments>
                       <s>target/srcgen</s>
                   </compilerArguments>
               </configuration>
               <dependencies>
                   <dependency>
                       <groupId>org.apache.beehive</groupId>
                       <artifactId>beehive-compiler-apt</artifactId>
                       <version>1.0-SNAPSHOT</version>
                       <scope>runtime</scope>
                   </dependency>
               </dependencies>
           </plugin>


Regards,
Christophe DENEUX

Eddie O'Neil (JIRA) a écrit :
     [ http://issues.apache.org/jira/browse/BEEHIVE-1058?page=all ]

Eddie O'Neil updated BEEHIVE-1058:
----------------------------------

    Fix Version: v.next
      Assign To: Eddie O'Neil

I've done some work on this in the Beehive sandbox/.  The following plugins 
exist now:

  beehive/
    sandbox/
      maven2/
        beehive-archetype-controls
        beehive-archetype-webapp
        maven-apt--compiler

I've been using these plugins, and it's entirely possible to use Beehive with Maven2.  
The compiler plugin is needed to build annotated Java files using the "apt" 
compiler in the JDK.  The archetypes are used to create template projects for standalone 
Controls and for NetUI.

None of this has officially shipped yet, but I'd appreciate any feedback that 
those watching the bug might have on the topic.

Thanks!

Could you create maven2 plugin for for Beehive.
-----------------------------------------------

         Key: BEEHIVE-1058
         URL: http://issues.apache.org/jira/browse/BEEHIVE-1058
     Project: Beehive
        Type: Wish
  Components: Build
    Reporter: Sebastian Bloch
    Assignee: Eddie O'Neil
     Fix For: v.next

Could you create maven2 plugin for for Beehive. I'm using maven2 and it's 
better to use maven plugin than ant plugin with beehive. Could you create 
maven2 plugin? It would help a lot.
Thanks!
Sebastian B?och


Reply via email to