Re: Can I use mergedir in Hibernate plugin?

"Alan She" <[email protected]> Wed, 20 Dec 2006 11:34:50 +0800
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
I try to write some test cases but while compiling, I a got some errors.
I call "mvn test" on plugin-hibenrate project.
Of course I pulled the whole xdoclet-plugins project out.
Seems some dependencies are not avaliable now.
Could you give some help for this?
Thanks a lot.

[INFO] Scanning for projects...
Downloading:
http://dist.codehaus.org//org.apache.maven.wagon/poms/wagon-provider-api-1.0-beta-1-20060612.155959-5.pom
[WARNING] Unable to get resource from repository dist.codehaus.org (
http://dist.codehaus.org/)
Downloading:
http://people.apache.org/maven-snapshot-repository//org/apache/maven/wagon/wagon-provider-api/1.0-beta-1-SNAPSHOT/wagon-provider-api-1.0-beta-1-20060612.155959-5.pom
[WARNING] Unable to get resource from repository apache-snapshots (
http://people.apache.org/maven-snapshot-repository/)
Downloading:
http://cvs.apache.org/repository//org.apache.maven.wagon/poms/wagon-provider-api-1.0-beta-1-20060612.155959-5.pom
[WARNING] Unable to get resource from repository apache (
http://cvs.apache.org/repository/)
[INFO]
----------------------------------------------------------------------------
[INFO] Building XDoclet 2 hibernate plugin
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
Downloading: http://dist.codehaus.org/generama/poms/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository dist.codehaus.org (
http://dist.codehaus.org)
Downloading:
http://cvs.apache.org/repository/generama/poms/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository apache (
http://cvs.apache.org/repository)
Downloading:
http://people.apache.org/maven-snapshot-repository//generama/qdox/20051211.114207/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository apache-snapshots (
http://people.apache.org/maven-snapshot-repository/)
Downloading:
http://repo1.maven.org/maven2/generama/qdox/20051211.114207/qdox-20051211.114207.pom
[WARNING] Unable to get resource from repository central (
http://repo1.maven.org/maven2)
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:
20050823.222913:compile' is invalid. It will be ignored for artifact
resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:
20050823.222913:compile' is invalid. It will be ignored for artifact
resolution. Reason: Not a v4.0.0 POM.
[WARNING]
    Artifact xdoclet:xdoclet:jar:2.0.6-SNAPSHOT:runtime retains local scope
'runtime' overriding broader scope 'compile'
    given by a dependency. If this is not intended, modify or remove the
local scope.

[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:runtime' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:runtime' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [2-xdoclet2:xdoclet {execution: xdoclet}]
Running org.xdoclet.plugin.qtags.impl.QTagImplPlugin
Running org.xdoclet.plugin.qtags.impl.QTagLibraryPlugin
Running org.xdoclet.plugin.qtags.doclipse.QTagDoclipsePlugin
log4j:WARN No appenders could be found for logger (
org.apache.commons.jelly.parser.XMLParser).
log4j:WARN Please initialize the log4j system properly.
Running org.xdoclet.plugin.qtags.confluence.QTagConfluencePlugin
Unknown tag: @generama.property in
file:/D:/Work/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/AbstractHibernatePlugin.java
(line 30)
Unknown tag: @generama.property in
file:/D:/Work/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/AbstractHibernatePlugin.java
(line 30)
Unknown tag: @generama.property in
file:/D:/Work/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/AbstractHibernatePlugin.java
(line 30)
Unknown tag: @generama.property in
file:/D:/Work/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/main/java/org/xdoclet/plugin/hibernate/AbstractHibernatePlugin.java
(line 30)
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:
20050823.222913:compile' is invalid. It will be ignored for artifact
resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:compile]
Compiling 77 source files to
D:\Work\xdoclet-plugins\xdoclet-plugins\plugin-hibernate\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:
20050823.222913:compile' is invalid. It will be ignored for artifact
resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-4:compile' is invalid. It will
be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'commons-jelly:commons-jelly-tags-xml:pom:
20050823.222913:compile' is invalid. It will be ignored for artifact
resolution. Reason: Not a v4.0.0 POM.
[INFO] [surefire:test]
[INFO] Surefire report directory:
D:\Work\xdoclet-plugins\xdoclet-plugins\plugin-hibernate\target\surefire-reports
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unresolved compilation problems:
    The import org.generama cannot be resolved
    The import org.xdoclet.QDoxMetadataProvider cannot be resolved
    The hierarchy of the type AnyTestCase is inconsistent
    The method getResourceRelativeToThisPackage(String) is undefined for the
type AnyTestCase
    MetadataProvider cannot be resolved to a type
    The method getResourceRelativeToThisPackage(String) is undefined for the
type AnyTestCase
    QDoxMetadataProvider cannot be resolved to a type
; nested exception is java.lang.Error: Unresolved compilation problems:
    The import org.generama cannot be resolved
    The import org.xdoclet.QDoxMetadataProvider cannot be resolved
    The hierarchy of the type AnyTestCase is inconsistent
    The method getResourceRelativeToThisPackage(String) is undefined for the
type AnyTestCase
    MetadataProvider cannot be resolved to a type
    The method getResourceRelativeToThisPackage(String) is undefined for the
type AnyTestCase
    QDoxMetadataProvider cannot be resolved to a type


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Wed Dec 20 10:45:09 CST 2006
[INFO] Final Memory: 11M/23M
[INFO]
------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest