[ 
http://jira.codehaus.org/browse/MOJO-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129387#action_129387
 ] 

Jon Osborn commented on MOJO-803:
---------------------------------

You have to set the output artifact path to the target directory. It defaults 
to nothing so maven doesn't know how to 'include' your source.


> keepGenerated=false does not work as expected
> ---------------------------------------------
>
>                 Key: MOJO-803
>                 URL: http://jira.codehaus.org/browse/MOJO-803
>             Project: Mojo
>          Issue Type: Bug
>          Components: weblogic
>            Reporter: Doug Tanner
>
> When using the weblogic-maven-plugin to appc my war file, the keepgenerated 
> option does not work properly.  All _*.java files are inside my war file 
> after completion, which they should not be with the keepGenerated flag set to 
> false.
> Pom.xml:
> <project>
>   <build>
>     <plugins>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>weblogic-maven-plugin</artifactId>
>                 <version>2.9.0-SNAPSHOT</version>
>                 <configuration>
>                     
> <inputArtifactPath>${basedir}/../../jar/broker.war</inputArtifactPath>
>                 </configuration>
>                 <executions>
>                     <execution>
>                         <phase>package</phase>
>                         <goals>
>                             <goal>appc</goal>
>                         </goals>
>                         <inherited>false</inherited>
>                         <configuration>
>                             <verbose>false</verbose>
>                             <debug>false</debug>
>                             <projectPackaging>war</projectPackaging>
>                             <keepGenerated>false</keepGenerated>
>                         </configuration>
>                     </execution>
>                 </executions>
>                 <dependencies>
>                     <dependency>
>                         <groupId>com.sun</groupId>
>                         <artifactId>tools</artifactId>
>                         <version>1.5.0</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>wlxbean</artifactId>
>                         <version>9.2</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>xbean</artifactId>
>                         <version>9.2</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>weblogic-container-binding</artifactId>
>                         <version>9.2</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>wlw-util</artifactId>
>                         <version>9.2</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>javelinx</artifactId>
>                         <version>9.2</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>wlw-langx</artifactId>
>                         <version>9.2</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>weblogic</groupId>
>                         <artifactId>bcel</artifactId>
>                         <version>5.1</version>
>                     </dependency>
>                 </dependencies>
>             </plugin>
>         </plugins>
>     </build>
>   <dependencies>
>         <dependency>
>             <groupId>weblogic</groupId>
>             <artifactId>wlw-langx</artifactId>
>             <version>9.2</version>
>         </dependency>
>   </dependencies>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to