Re: XDoclet2 plugin + Maven2 + Hibernate problem
I think the issue is that a published POM has bad data in it for qtags, so I exclude the qtags stuff and it seems to work xdoclet maven2-xdoclet2-plugin 2.0.5-SNAPSHOT org.xdoclet.plugin.hibernate.HibernateMappingPlugin 2.0 ${basedir}/target/classes/ xdoclet-plugins xdoclet-plugin-hibernate 1.0.4-SNAPSHOT xdoclet-plugins xdoclet-plugin-qtags xdoclet jmp Adrian Shum wrote: > Can anyone give me some idea on this? > > >> -Original Message- >> From:Adrian Shum >> Sent:Wednesday, August 16, 2006 2:58 PM >> To: 'users@maven.apache.org' >> Subject: XDoclet2 plugin + Maven2 + Hibernate problem >> >> Hi all, >> >> I tried to use XDoclet2 plugin for Maven2 in order to generate >> Hibernate mapping files. >> >> >> xdoclet >> maven2-xdoclet2-plugin >> 2.0.5-SNAPSHOT >> >> >> >> >> >> org.xdoclet.plugin.hibernate.HibernateMappingPlugin >> >> >> target/generated-resources/ >> 3.0 >> >> >> >> >> >> >> >> >> xdoclet-plugins >> xdoclet-plugin-hibernate >> 1.0.3 >> >> >> >> >> >> xdoclet >> >> >> >> >> >> >> However, it failed to run which give me the following error messages: >> >> Missing: >> -- >> 1) xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion} >> (something deleted) >> -- >> 1 required artifact is missing. >> >> for artifact: >> xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT >> >> >> >> I bet this is one of the dependent artifacts. However, it look strange to >> me that the version is >> not something expanded correctly. Even I want to download the jar and >> install locally, I don't >> really know what should be the version I required to deploy the artifact as. >> >> Did I make any mistakes in the POM? >> >> One more related problem, though I have setup the legacy repository >> correctly as what >> described in http://xdoclet.codehaus.org/Maven2+Plugin, mvn still failed to >> download the >> plugin. At last I downloaded the JAR and install locally (and it works). >> What maybe the >> problem causing this? >> >> Thanks a lot. >> >> >> Best regards, >> Adrian >> >> >> > > This email is confidential. If you are not the intended recipient, please > delete it from your system and notify the sender immediately. Any > unauthorized use, disclosure, dissemination or copying of this email is > prohibited. Taifook Securities Group, its group companies and their content > providers ("Parties") shall not be responsible for the accuracy or > completeness of this email or its attachment, if any, which could contain > virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late. > The Parites do not accept liability for any damage caused by this email. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XDoclet2 plugin + Maven2 + Hibernate problem
Can anyone give me some idea on this? > -Original Message- > From: Adrian Shum > Sent: Wednesday, August 16, 2006 2:58 PM > To: 'users@maven.apache.org' > Subject: XDoclet2 plugin + Maven2 + Hibernate problem > > Hi all, > > I tried to use XDoclet2 plugin for Maven2 in order to generate > Hibernate mapping files. > > > xdoclet > maven2-xdoclet2-plugin > 2.0.5-SNAPSHOT > > > > > > org.xdoclet.plugin.hibernate.HibernateMappingPlugin > > > target/generated-resources/ > 3.0 > > > > > > > > > xdoclet-plugins > xdoclet-plugin-hibernate > 1.0.3 > > > > > > xdoclet > > > > > > > However, it failed to run which give me the following error messages: > > Missing: > -- > 1) xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion} > (something deleted) > -- > 1 required artifact is missing. > > for artifact: > xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT > > > > I bet this is one of the dependent artifacts. However, it look strange to me > that the version is > not something expanded correctly. Even I want to download the jar and > install locally, I don't > really know what should be the version I required to deploy the artifact as. > > Did I make any mistakes in the POM? > > One more related problem, though I have setup the legacy repository > correctly as what > described in http://xdoclet.codehaus.org/Maven2+Plugin, mvn still failed to > download the > plugin. At last I downloaded the JAR and install locally (and it works). > What maybe the > problem causing this? > > Thanks a lot. > > > Best regards, > Adrian > > This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited. Taifook Securities Group, its group companies and their content providers ("Parties") shall not be responsible for the accuracy or completeness of this email or its attachment, if any, which could contain virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late. The Parites do not accept liability for any damage caused by this email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XDoclet2 plugin + Maven2 + Hibernate problem
Hi all, I tried to use XDoclet2 plugin for Maven2 in order to generate Hibernate mapping files. xdoclet maven2-xdoclet2-plugin 2.0.5-SNAPSHOT org.xdoclet.plugin.hibernate.HibernateMappingPlugin target/generated-resources/ 3.0 xdoclet-plugins xdoclet-plugin-hibernate 1.0.3 xdoclet However, it failed to run which give me the following error messages: Missing: -- 1) xdoclet-plugins:xdoclet-plugin-qtags:jar:${pom.currentVersion} (something deleted) -- 1 required artifact is missing. for artifact: xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT I bet this is one of the dependent artifacts. However, it look strange to me that the version is not something expanded correctly. Even I want to download the jar and install locally, I don't really know what should be the version I required to deploy the artifact as. Did I make any mistakes in the POM? One more related problem, though I have setup the legacy repository correctly as what described in http://xdoclet.codehaus.org/Maven2+Plugin, mvn still failed to download the plugin. At last I downloaded the JAR and install locally (and it works). What maybe the problem causing this? Thanks a lot. Best regards, Adrian This email is confidential. If you are not the intended recipient, please delete it from your system and notify the sender immediately. Any unauthorized use, disclosure, dissemination or copying of this email is prohibited. Taifook Securities Group, its group companies and their content providers ("Parties") shall not be responsible for the accuracy or completeness of this email or its attachment, if any, which could contain virus, be corrupted, destroyed, incomplete, intercepted, lost or arrive late. The Parites do not accept liability for any damage caused by this email.