I tried, didn't work.

Below is my POM and build output. There is no maven-ear-plugin definition in
the parent POM.


<?xml version="1.0" encoding="UTF-8"?>
<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>

        <parent>
                <groupId>com.nbfg.max.maven</groupId>
                <artifactId>max-wesb-pom</artifactId>
                <version>0.0.4-SNAPSHOT</version>
        </parent>

        <groupId>com.nbfg.max.wesb</groupId>
        <artifactId>CDIPubSubMgmtMed</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <name>CDIPubSubMgmtMed Mediation</name>

        <build>
                <plugins>
                        <plugin>
                                <artifactId>maven-ear-plugin</artifactId>
                                <configuration>
                                        <archive>
                                                <manifest>
                                                
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                                                </manifest>
                                                <manifestEntries>
                                                
<Implementation-Version>${maven.build.timestamp}</Implementation-Version>
                                                        
<Built-By>NBFG</Built-By>
                                                </manifestEntries>
                                        </archive>
                                </configuration>
                        </plugin>
                </plugins>
        </build>

        <dependencies>

                <dependency>
                        <groupId>com.ibm.ws.sca.sdoplugins</groupId>
                        <artifactId>sdo_api</artifactId>
                        <version>${wid.version}</version>
                        <scope>system</scope>
                        
<systemPath>${was.home}/feature_packs/sca/sdoplugins/sdo_api.jar
                        </systemPath>
                </dependency>

                <dependency>
                        <groupId>com.nbfg.max.wesb</groupId>
                        <artifactId>ClientServicesBOLib</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.nbfg.max.wesb</groupId>
                        <artifactId>ClientInfoMgmtLib</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.nbfg.max.wesb</groupId>
                        <artifactId>CDIPubSubMgmtLib</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.nbfg.max.wesb</groupId>
                        <artifactId>CDIPubSubMgmtBOLib</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.nbfg.max.wesb</groupId>
                        <artifactId>CDIServiceMgmtLib</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>com.nbfg.max.wesb</groupId>
                        <artifactId>ClientInfoEventLib</artifactId>
                        <version>0.0.1-SNAPSHOT</version>
                </dependency>

        </dependencies>



</project>


[INFO] Scanning for projects...
[INFO]                                                                         
[INFO]
------------------------------------------------------------------------
[INFO] Building CDIPubSubMgmtMed Mediation 0.0.1-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ CDIPubSubMgmtMed
---
[INFO] Deleting
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:regex-property (regex-property) @
CDIPubSubMgmtMed ---
[INFO] Setting property 'portable.artifact.path' to
'C:/Workspace/WID/CDIPubSubMgmtMed/../build/target/CDIPubSubMgmtMed/CDIPubSubMgmtMed-0.0.1-SNAPSHOT.ear'.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @
CDIPubSubMgmtMed ---
[INFO] Source directory: C:\Workspace\WID\CDIPubSubMgmtMed\gen\src added.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-resource (add-resource) @
CDIPubSubMgmtMed ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
CDIPubSubMgmtMed ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
C:\Workspace\WID\CDIPubSubMgmtMed\src\main\resources
[INFO] Copying 20 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
CDIPubSubMgmtMed ---
[WARNING] File encoding has not been set, using platform encoding Cp1252,
i.e. build is platform dependent!
[INFO] Compiling 2 source files to
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ CDIPubSubMgmtMed ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
C:\Workspace\WID\CDIPubSubMgmtMed\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
CDIPubSubMgmtMed ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @
CDIPubSubMgmtMed ---
[INFO] No tests to run.
[INFO] Surefire report directory:
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ CDIPubSubMgmtMed ---
[INFO] Building jar:
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\CDIPubSubMgmtMed.jar
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:attach-artifact (attach-artifacts)
@ CDIPubSubMgmtMed ---
[INFO] 
[INFO] >>> servicedeploy-plugin:0.0.1-SNAPSHOT:run (run-servicedeploy) @
CDIPubSubMgmtMed >>>
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:regex-property (regex-property) @
CDIPubSubMgmtMed ---
[INFO] Setting property 'portable.artifact.path' to
'C:/Workspace/WID/CDIPubSubMgmtMed/../build/target/CDIPubSubMgmtMed/CDIPubSubMgmtMed-0.0.1-SNAPSHOT.ear'.
[INFO] 
[INFO] --- maven-dependency-plugin:2.1:unpack (run-servicedeploy) @
CDIPubSubMgmtMed ---
[INFO] Configured Artifact:
com.nbfg.fw.maven.plugins:servicedeploy-plugin:assembly:0.0.1-SNAPSHOT:zip
[INFO] Unpacking
C:\Users\Administrator\.m2\repository\com\nbfg\fw\maven\plugins\servicedeploy-plugin\0.0.1-SNAPSHOT\servicedeploy-plugin-0.0.1-SNAPSHOT-assembly.zip
to
  C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed
   with includes null and excludes:null
[INFO] 
[INFO] --- maven-antrun-plugin:1.6:run (run-servicedeploy) @
CDIPubSubMgmtMed ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @
CDIPubSubMgmtMed ---
[INFO] Source directory: C:\Workspace\WID\CDIPubSubMgmtMed\gen\src added.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-resource (add-resource) @
CDIPubSubMgmtMed ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
CDIPubSubMgmtMed ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
C:\Workspace\WID\CDIPubSubMgmtMed\src\main\resources
[INFO] Copying 20 resources
[INFO] Copying 1 resource
[INFO] Copying 20 resources
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
CDIPubSubMgmtMed ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ CDIPubSubMgmtMed ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
C:\Workspace\WID\CDIPubSubMgmtMed\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
CDIPubSubMgmtMed ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @
CDIPubSubMgmtMed ---
[INFO] No tests to run.
[INFO] Skipping execution of surefire because it has already been run for
this configuration
[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ CDIPubSubMgmtMed ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:attach-artifact (attach-artifacts)
@ CDIPubSubMgmtMed ---
[WARNING] Artifact com.nbfg.max.wesb:CDIPubSubMgmtMed:ear:App:0.0.1-SNAPSHOT
already attached to project, ignoring duplicate
[INFO] 
[INFO] --- maven-assembly-plugin:2.2-beta-5:single (run-servicedeploy) @
CDIPubSubMgmtMed ---
[INFO] Reading assembly descriptor:
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed/assemblies/zip-servicedeploy.xml
[INFO] Building zip:
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\CDIPubSubMgmtMed-servicedeploy.zip
[INFO] 
[INFO] <<< servicedeploy-plugin:0.0.1-SNAPSHOT:run (run-servicedeploy) @
CDIPubSubMgmtMed <<<
[INFO] 
[INFO] --- servicedeploy-plugin:0.0.1-SNAPSHOT:run (run-servicedeploy) @
CDIPubSubMgmtMed ---

initialize:

serviceDeploy:
     [echo] *** Running serviceDeploy... *** 
    [mkdir] Created dir:
C:\Workspace\WID\build\target\CDIPubSubMgmtMed\servicedeploy
     [exec] The workbench is starting in
C:\Workspace\WID\build\target\CDIPubSubMgmtMed\servicedeploy\136e57e327a.
     [exec] The workspace is initializing.
     [exec] CDIPubSubMgmtMed-servicedeploy.zip was successfully imported
into the workspace.
     [exec] The CDIPubSubMgmtMedApp project is being created.
     [exec] The CDIPubSubMgmtMedWeb project is being created.
     [exec] The CDIPubSubMgmtMed project is building.
     [exec] CDIPubSubMgmtMed is being validated.
     [exec] 
     [exec] The following 3 warning messages were reported during
deployment:
     [exec] 
     [exec] Severity:   [warning]
     [exec] Description:        CWSCA8095W: Unable to find class
com.ibm.ws.sib.api.jmsra.JmsJcaManagedConnectionFactory, please make sure
the classpath is properly set up.
     [exec] Resource:   ClientInfoEventPublishImport.import
     [exec] Location:         
     [exec] 
     [exec] Severity:   [warning]
     [exec] Description:        XSD: There is no xmlns declaration for namespace
'http://www.nbfg.ca/ClientServices/InitiatePublishEvent'
     [exec] Resource:   MemberEventNotification.xsd
     [exec] Location:        1
     [exec] 
     [exec] Severity:   [warning]
     [exec] Description:        CWZMU0044E: The fail terminal of the
manageIndividualEvent : CDIServicePartner callout response primitive is not
connected. 
     [exec] Resource:   CDIPubSubMgmtMed.medflow
     [exec] Location:         
     [exec] 
     [exec] 
     [exec] The
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\CDIPubSubMgmtMed-0.0.1-SNAPSHOT.ear
application is being exported.
     [exec] Deployment has completed.
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
CDIPubSubMgmtMed ---
[INFO] Installing
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\CDIPubSubMgmtMed.jar
to
C:\Users\Administrator\.m2\repository\com\nbfg\max\wesb\CDIPubSubMgmtMed\0.0.1-SNAPSHOT\CDIPubSubMgmtMed-0.0.1-SNAPSHOT.jar
[INFO] Installing C:\Workspace\WID\CDIPubSubMgmtMed\pom.xml to
C:\Users\Administrator\.m2\repository\com\nbfg\max\wesb\CDIPubSubMgmtMed\0.0.1-SNAPSHOT\CDIPubSubMgmtMed-0.0.1-SNAPSHOT.pom
[INFO] Installing
C:\Workspace\WID\CDIPubSubMgmtMed\..\build\target\CDIPubSubMgmtMed\CDIPubSubMgmtMed-0.0.1-SNAPSHOT.ear
to
C:\Users\Administrator\.m2\repository\com\nbfg\max\wesb\CDIPubSubMgmtMed\0.0.1-SNAPSHOT\CDIPubSubMgmtMed-0.0.1-SNAPSHOT-App.ear
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 37.667s
[INFO] Finished at: Tue Apr 24 13:55:47 EDT 2012
[INFO] Final Memory: 43M/512M
[INFO]
------------------------------------------------------------------------




--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-add-additional-info-to-the-MANIFEST-MF-tp5662221p5662830.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to