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. When I comment out the <build> block the war is created and installed as expected. 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>
--------------------------------------------------------------------------------------------
Michael D Johnson
Time Warner TC
Denver, CO
(303) 542-6369
| The content contained in this electronic message is not intended to constitute formation of a contract binding TWTC. TWTC will be contractually bound only upon execution, by an authorized officer, of a contract including agreed terms and conditions or by express application of its tariffs. This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail or by telephone. |
