Earlier I asked about using weblogic appc with Maven and I took the given example and made it work (i think). Currently when I run 'mvn install' in my war project, I see the appc portion doing it's work, but it never installs the war file into my repository. I'm not sure what I'm doing wrong. I receive no errors or warnings. The project runs and then finishes, but I never see the install occuring, nor is there a new war file in my repository. I have posted my POM below. Can anyone offer a little guidance as to what I could try. I did try to explicitly call the install goal from the Maven-install-plugin, but that didn't seem to have any effect either. Any help would be appreciated, thank you!
--MJ -------------------------------------------------------------------------------------------- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>twtc</groupId> <artifactId>um-web</artifactId> <packaging>war</packaging> <version>1.0-SNAPSHOT</version> <name>UM Web</name> <build> <finalName>um-web</finalName> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>weblogic-maven-plugin</artifactId> <version>2.8.0-SNAPSHOT</version> <executions> <execution> <phase>package</phase> <goals> <goal>appc</goal> </goals> </execution> </executions> </plugin> <plugin> <inherited>true</inherited> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-install-plugin</artifactId> <executions> <execution> <phase>install</phase> <goals> <goal>install</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>twtc.common-external-lib</groupId> <artifactId>ldapjdk</artifactId> <version>1.4</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>twtc</groupId> <artifactId>mailhandler-app</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>twtc</groupId> <artifactId>um-app</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>weblogic</groupId> <artifactId>weblogic</artifactId> <version>8.1</version> </dependency> </dependencies> </project> -------------------------------------------------------------------------------------------- Output: C:\dev\clean\um\um-web>mvn install [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building UM Web [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to C:\dev\clean\um\um-web\target\um-web [INFO] Assembling webapp um-web in C:\dev\clean\um\um-web\target\um-web [INFO] Generating war C:\dev\clean\um\um-web\target\um-web.war [INFO] Building war: C:\dev\clean\um\um-web\target\um-web.war [INFO] Preparing weblogic:appc [WARNING] Removing: appc from forked lifecycle, to prevent recursive invocation. [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] No tests to run. [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to C:\dev\clean\um\um-web\target\um-web [INFO] Assembling webapp um-web in C:\dev\clean\um\um-web\target\um-web [INFO] Generating war C:\dev\clean\um\um-web\target\um-web.war [INFO] Building war: C:\dev\clean\um\um-web\target\um-web.war [INFO] [weblogic:appc {execution: default}] [INFO] Weblogic APPC processing beginning for object C:\dev\clean\um\um-web\target/um-web.war [INFO] Detailed Appc settings information AppcMojo[basicClientJar = false classpath = null compiler = null debugging = false deprecation = false forceGeneration = false idl = false idlDirectory = null idlFactrories = false idlMethodSignatures = null idlNoAbstractInterfaces = true idlNoValueTypes = true idlOrbix = false idlOverwrite = false idlVerbose = false idlVisiBroker = false iiop = false iiopDirectory = null javaOptions = null keepGenerated = false lineNumbers = false nowarnings = true objectPath = C:\dev\clean\um\um-web\target/um-web.war optimization = false outputFile = null verbose = false version = false] [INFO] Argument List for Appc settings [-nowarn, C:\dev\clean\um\um-web\target/um-web.war] C:\dev\clean\um\um-web> -------------------------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/-M2-Weblogic-War-install-question-t1433279.html#a3866743 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
