On Mar 21, 2007, at 10:41 AM, Prasad Kashyap wrote:

Is there a reason why the sub-modules of openejb/examples do not
specify the <parent> element in it's pom ?

I suspect this to be a case of oversight. I would like to fix this
unless somebody has set it up like this specifically and deliberately
for a reason.

It was so each example could be downloaded and buildable individually without having to download and build any parent modules (like all of openejb). Also to make each example pom contain only the bits that are required and all the bits that are required (i.e. nothing inherited) to use OpenEJB for embedded testing, such that someone can easily take an example and just use it as a template for a new project without having to unroll anything or figure out what OpenEJB bits to pull out and which to keep.

That was the basic idea.

-David


On 3/20/07, Manu George <[EMAIL PROTECTED]> wrote:
Hi,Prasad,
         mvn site-deploy is giving me the error below. Did you try
generating the site?


[INFO] --------------------------------------------------------------------- ----
---
[INFO] Building OpenEJB :: Server :: Hsql
[INFO]    task-segment: [site-deploy]
[INFO] --------------------------------------------------------------------- ----
---
[INFO] Preparing javadoc:javadoc
[INFO] [tools:require-java-version {execution: default}]
[INFO] Preparing surefire-report:report
[INFO] [tools:require-java-version {execution: default}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:com pile' is invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:com pile' is invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:com pile' is invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM
[INFO] [surefire:test]
[INFO] No tests to run.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:com pile' is invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM
[INFO] [site:site]
[WARNING] Unable to load parent project from repository: Could not find the mode
l file 'C:\g\openejb-trunk\openejb3\..\pom.xml'.
[INFO] Generate "CPD Report" report.
[INFO] Generate "PMD Report" report.
[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:com pile' is invalid. It will be ignored for artifact resolution. Reason: Failed to
validate POM
[INFO] Generate "Dependency Convergence" report.
[INFO] Generate "Issue Tracking" report.
[INFO] Generate "Project License" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "About" report.
[INFO] Generate "Project Summary" report.
[INFO] Generate "Source Repository" report.
[INFO] Generate "Project Team" report.
[INFO] Generate "Maven Surefire Report" report.
[INFO] [site:deploy]
file:///home/manu/website/server/openejb-hsql - Session: Opened
file:///home/manu/website/server/openejb-hsql - Session: Disconnecting
file:///home/manu/website/server/openejb-hsql - Session: Disconnected
[INFO] --------------------------------------------------------------------- ----
---
[INFO] Building OpenEJB :: Examples :: HelloWorld Stateful POJO
[INFO]    task-segment: [site-deploy]
[INFO] --------------------------------------------------------------------- ----
---
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:tes t' is invalid. It will be ignored for artifact resolution. Reason: Failed to val
idate POM
[INFO] [site:site]
[WARNING] No URL defined for the project - decoration links will not be resolved

[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo- jms_1.1_spec:pom:1.0.1:tes t' is invalid. It will be ignored for artifact resolution. Reason: Failed to val
idate POM
[INFO] Generate "Dependency Convergence" report.
[INFO] Generate "Issue Tracking" report.
[INFO] Generate "Project License" report.
[INFO] Generate "Mailing Lists" report.
[INFO] Generate "About" report.
[INFO] Generate "Project Summary" report.
[INFO] Generate "Source Repository" report.
[INFO] Generate "Project Team" report.
[INFO] [site:deploy]
[INFO] --------------------------------------------------------------------- ---
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------------- ---
[INFO] Missing distribution management information in the project
[INFO] --------------------------------------------------------------------- ---
[INFO] For more information, run Maven with the -e switch
[INFO] --------------------------------------------------------------------- ---
[INFO] Total time: 11 minutes 6 seconds
[INFO] Finished at: Wed Mar 21 00:19:08 IST 2007
[INFO] Final Memory: 42M/79M
[INFO] --------------------------------------------------------------------- ---

Regards
Manu



Reply via email to