Re: Ear file doesnt contain war and jar
I got it working finally, but dont understand how ... all i did was (in the ear projects pom) remove the reference to the parent pom project ... all jars i need are being included properly ... but i dont know the reason for this .. can someone explain? and also, how do i send the jars, wars etc. into specific directories inside the .ear? On 1/18/06, Karthik V <[EMAIL PROTECTED]> wrote: > > and yes, the ear, war and jar projects have parent tags pointing to the > pom project > > > On 1/18/06, Karthik V < [EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Thank you. I couldn't find a single difference :( ... As for the super > > pom, I have a pom project that has modules like this - > > > > pom > > > > abc-bean > > abc-war > > abc-ear > > > > > > the bean and war projects dont have any dependencies on the ear, but ear > > has tags pointing to both. Can you guess what could be wrong? > > > > thanks > > Karthik. > > > > On 1/18/06, Dário Luís Coneglian Oliveros < [EMAIL PROTECTED]> wrote: > > > > > > Hi Karthik, > > > > > > I have an EAR project using M2 that does something similar, but it > > > works for me though. All the artifacts as added into the final EAR. > > > I can´t think of a reason why yours is not working, since it´s quite > > > similar to mine. > > > You may check if the super pom already define some of the dependencies > > > and that may be causing the problem. It´s just a guess. > > > > > > my pom.xml > > > -- > > > > > > > > > whatever > > > root-project > > > 1.0-SNAPSHOT > > > > > > 4.0.0 > > > whatever > > > ear-project > > > 1.0-SNAPSHOT > > > ear > > > > > > > > > whatever > > > java-project > > >1.0-SNAPSHOT > > > jar > > > > > > > > > whatever > > > ejb-project > > > 1.0-SNAPSHOT > > > ejb > > > > > > > > > whatever > > > web-project > > > 1.0-SNAPSHOT > > > war > > > > > > > > > > > > > > > > > > org.apache.maven.plugins > > > maven-ear-plugin > > > > > > > > > > > > > > > > > > Regards, > > > Dário > > > > > > -Original Message- > > > From: Karthik V [mailto:[EMAIL PROTECTED] > > > Sent: quarta-feira, 18 de janeiro de 2006 14:09 > > > To: Maven Users List > > > Subject: Re: Ear file doesnt contain war and jar > > > > > > > > > Hi Henry, > > > > > > Below is my ear projects pom ... I've *** ed the proprietary stuff > > > ... I'm > > > trying to include abc-bean.jar, abc-war.war and commons-collection.jarinto > > > the ear file (in the directory i need) ... Note that, I tried the > > > section (now commented) but it didnt work ... > > > > > > > > > > > > 4.0.0 > > > *** > > > 1.0 > > > abc-ear > > > ABC Ear > > > ear > > > > > > *** > > > 1.0 > > > *** > > > > > > > > > > > > > > > > > > *** > > >1.0 > > > abc-bean > > > jar > > > > > > > > > > > > *** > > >1.0 > > > abc-war > > > war > > > > > > > > > > > > commons-collections > > > commons-collections > > > 2.1.1 > > > jar > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.plugins > > > maven-ear-plugin > > > > > > > > > > > > > > > > > > > > > ${basedir}/src/main/resources/META-INF/application.xml > > > > > > > > > > > > > > > > > > > > > > > > ${basedir}/src/main/resources > > > > > >
Re: Ear file doesnt contain war and jar
and yes, the ear, war and jar projects have parent tags pointing to the pom project On 1/18/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Hi, > > Thank you. I couldn't find a single difference :( ... As for the super > pom, I have a pom project that has modules like this - > > pom > > abc-bean > abc-war > abc-ear > > > the bean and war projects dont have any dependencies on the ear, but ear > has tags pointing to both. Can you guess what could be wrong? > > thanks > Karthik. > > On 1/18/06, Dário Luís Coneglian Oliveros <[EMAIL PROTECTED]> wrote: > > > > Hi Karthik, > > > > I have an EAR project using M2 that does something similar, but it works > > for me though. All the artifacts as added into the final EAR. > > I can´t think of a reason why yours is not working, since it´s quite > > similar to mine. > > You may check if the super pom already define some of the dependencies > > and that may be causing the problem. It´s just a guess. > > > > my pom.xml > > -- > > > > > > whatever > > root-project > > 1.0-SNAPSHOT > > > > 4.0.0 > > whatever > > ear-project > > 1.0-SNAPSHOT > > ear > > > > > > whatever > > java-project > >1.0-SNAPSHOT > > jar > > > > > > whatever > > ejb-project > > 1.0-SNAPSHOT > > ejb > > > > > > whatever > > web-project > > 1.0-SNAPSHOT > > war > > > > > > > > > > > > org.apache.maven.plugins > > maven-ear-plugin > > > > > > > > > > > > Regards, > > Dário > > > > -Original Message- > > From: Karthik V [mailto:[EMAIL PROTECTED] > > Sent: quarta-feira, 18 de janeiro de 2006 14:09 > > To: Maven Users List > > Subject: Re: Ear file doesnt contain war and jar > > > > > > Hi Henry, > > > > Below is my ear projects pom ... I've *** ed the proprietary stuff > > ... I'm > > trying to include abc-bean.jar, abc-war.war and commons-collection.jarinto > > the ear file (in the directory i need) ... Note that, I tried the > > section (now commented) but it didnt work ... > > > > > > > > 4.0.0 > > *** > > 1.0 > > abc-ear > > ABC Ear > > ear > > > > *** > > 1.0 > > *** > > > > > > > > > > > > *** > >1.0 > > abc-bean > > jar > > > > > > > > *** > >1.0 > > abc-war > > war > > > > > > > > commons-collections > > commons-collections > > 2.1.1 > > jar > > > > > > > > > > > > > > > > org.apache.maven.plugins > > maven-ear-plugin > > > > > > > > > > > > > > ${basedir}/src/main/resources/META-INF/application.xml > > > > > > > > > > > > > > > > ${basedir}/src/main/resources > > > > > > > > > > > > > > > > > > > > > > On 1/17/06, Henry Isidro <[EMAIL PROTECTED]> wrote: > > > > > > Hi Karthik V, > > > > > > The tag for dependencies are no longer suppported. Can > > you > > > post your pom so that we can see what you are actually doing? > > > > > > Regards, > > > Henry > > > > > > Karthik V wrote: > > > > > > > looks like things have changed :( ... the tag is not > > being > > > > recognized. > > > > > > > > > > > > On 1/17/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > > > > > > >>Note: this is for Maven 1 (1.0.2 , 1.1-beta-2, I don't know if > > anything > > > >>has changed for Maven 2) > > > >> > > > >>In the ear project where you specify the dependencies, you specify > > > >>properties to tell the ear plugin what to do with your jars and > > wars. > > > >>Here's an example: > > > &g
Re: Ear file doesnt contain war and jar
Hi, Thank you. I couldn't find a single difference :( ... As for the super pom, I have a pom project that has modules like this - pom abc-bean abc-war abc-ear the bean and war projects dont have any dependencies on the ear, but ear has tags pointing to both. Can you guess what could be wrong? thanks Karthik. On 1/18/06, Dário Luís Coneglian Oliveros <[EMAIL PROTECTED]> wrote: > > Hi Karthik, > > I have an EAR project using M2 that does something similar, but it works > for me though. All the artifacts as added into the final EAR. > I can´t think of a reason why yours is not working, since it´s quite > similar to mine. > You may check if the super pom already define some of the dependencies and > that may be causing the problem. It´s just a guess. > > my pom.xml > -- > > > whatever > root-project > 1.0-SNAPSHOT > > 4.0.0 > whatever > ear-project > 1.0-SNAPSHOT > ear > > > whatever > java-project > 1.0-SNAPSHOT > jar > > > whatever > ejb-project > 1.0-SNAPSHOT > ejb > > > whatever > web-project > 1.0-SNAPSHOT > war > > > > > > org.apache.maven.plugins > maven-ear-plugin > > > > > > Regards, > Dário > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: quarta-feira, 18 de janeiro de 2006 14:09 > To: Maven Users List > Subject: Re: Ear file doesnt contain war and jar > > > Hi Henry, > > Below is my ear projects pom ... I've *** ed the proprietary stuff > ... I'm > trying to include abc-bean.jar, abc-war.war and commons-collection.jarinto > the ear file (in the directory i need) ... Note that, I tried the > section (now commented) but it didnt work ... > > > > 4.0.0 > *** > 1.0 > abc-ear > ABC Ear > ear > > *** > 1.0 > *** > > > > > > *** > 1.0 > abc-bean > jar > > > > *** > 1.0 > abc-war > war > > > > commons-collections > commons-collections > 2.1.1 > jar > > > > > > > > org.apache.maven.plugins > maven-ear-plugin > > > > > > > ${basedir}/src/main/resources/META-INF/application.xml > > > > > > > > ${basedir}/src/main/resources > > > > > > > > > > > On 1/17/06, Henry Isidro <[EMAIL PROTECTED]> wrote: > > > > Hi Karthik V, > > > > The tag for dependencies are no longer suppported. Can you > > post your pom so that we can see what you are actually doing? > > > > Regards, > > Henry > > > > Karthik V wrote: > > > > > looks like things have changed :( ... the tag is not > being > > > recognized. > > > > > > > > > On 1/17/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > > > > >>Note: this is for Maven 1 (1.0.2, 1.1-beta-2, I don't know if anything > > >>has changed for Maven 2) > > >> > > >>In the ear project where you specify the dependencies, you specify > > >>properties to tell the ear plugin what to do with your jars and wars. > > >>Here's an example: > > >> > > >> > > >> > > >> myproject > > >> ejb > > >> ${pom.currentVersion} > > >> ejb > > >> > > >>true > > >> > > >> > > >> > > >> > > >> myproject > > >> web > > >> ${pom.currentVersion} > > >> war > > >> > > >>true > > >>/ > > >> > > >> > > >> > > >> > > >> myproject > > >> util > > >> ${pom.currentVersion} > > >> jar > > >> > > >>true > > >> > > >> > > >> > > >>This is all described at the bottom of this page: > > >> > http://maven.apache.org/maven-1.x/reference/plugins/ear/properties.html > > >> > > >>Note that the ear.bundle.dir property will allow you to control the > > >>directory (inside the
Re: Ear file doesnt contain war and jar
Hi Henry, Below is my ear projects pom ... I've *** ed the proprietary stuff ... I'm trying to include abc-bean.jar, abc-war.war and commons-collection.jar into the ear file (in the directory i need) ... Note that, I tried the section (now commented) but it didnt work ... 4.0.0 *** 1.0 abc-ear ABC Ear ear *** 1.0 *** *** 1.0 abc-bean jar *** 1.0 abc-war war commons-collections commons-collections 2.1.1 jar org.apache.maven.plugins maven-ear-plugin ${basedir}/src/main/resources/META-INF/application.xml ${basedir}/src/main/resources On 1/17/06, Henry Isidro <[EMAIL PROTECTED]> wrote: > > Hi Karthik V, > > The tag for dependencies are no longer suppported. Can you > post your pom so that we can see what you are actually doing? > > Regards, > Henry > > Karthik V wrote: > > > looks like things have changed :( ... the tag is not being > > recognized. > > > > > > On 1/17/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > > >>Note: this is for Maven 1 (1.0.2, 1.1-beta-2, I don't know if anything > >>has changed for Maven 2) > >> > >>In the ear project where you specify the dependencies, you specify > >>properties to tell the ear plugin what to do with your jars and wars. > >>Here's an example: > >> > >> > >> > >> myproject > >> ejb > >> ${pom.currentVersion} > >> ejb > >> > >>true > >> > >> > >> > >> > >> myproject > >> web > >> ${pom.currentVersion} > >> war > >> > >>true > >>/ > >> > >> > >> > >> > >> myproject > >> util > >> ${pom.currentVersion} > >> jar > >> > >>true > >> > >> > >> > >>This is all described at the bottom of this page: > >>http://maven.apache.org/maven-1.x/reference/plugins/ear/properties.html > >> > >>Note that the ear.bundle.dir property will allow you to control the > >>directory (inside the ear file) where the dependency ends up. > >> > >>-Max > >> > >>On Tue, 2006-01-17 at 13:18 -0500, Karthik V wrote: > >> > >>>when someone answers this question, please give a general answer to > this > >>>question - how do I copy a jar file specified as dependency into the > >> > >>final > >> > >>>artifact, inside the folder I want? > >>> > >>> > >>>On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > >>> > >>>>I have an ear project that needs to pack 2 other projects artifacts > >> > >>(jar > >> > >>>>and war). In the ear project pom, I've added dependencies on both. > >> > >>However, > >> > >>>>the ear file produced doesnt contain these. How do I fix this problem? > >> > >> > >>- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > > > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.371 / Virus Database: 267.14.19/231 - Release Date: > 1/16/2006 > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Artifact[commons-collections:commons-collections:jar] is not a dependency of the project.
I have an ear project, and the pom contains the following lines - org.apache.maven.plugins maven-ear-plugin commons-collections commons-collections true / I added this, hoping that the commons-collections jar file will appear in the final ear file. I get an error that reads: Artifact[commons-collections:commons-collections:jar] is not a dependency of the project. Can someone tell me how to resolve this? I tried adding a for this, but it didnt work.
Re: Ear file doesnt contain war and jar
looks like things have changed :( ... the tag is not being recognized. On 1/17/06, Max Cooper <[EMAIL PROTECTED]> wrote: > > Note: this is for Maven 1 (1.0.2, 1.1-beta-2, I don't know if anything > has changed for Maven 2) > > In the ear project where you specify the dependencies, you specify > properties to tell the ear plugin what to do with your jars and wars. > Here's an example: > > > > myproject > ejb > ${pom.currentVersion} > ejb > > true > > > > > myproject > web > ${pom.currentVersion} > war > > true > / > > > > > myproject > util > ${pom.currentVersion} > jar > > true > > > > This is all described at the bottom of this page: > http://maven.apache.org/maven-1.x/reference/plugins/ear/properties.html > > Note that the ear.bundle.dir property will allow you to control the > directory (inside the ear file) where the dependency ends up. > > -Max > > On Tue, 2006-01-17 at 13:18 -0500, Karthik V wrote: > > when someone answers this question, please give a general answer to this > > question - how do I copy a jar file specified as dependency into the > final > > artifact, inside the folder I want? > > > > > > On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > > > I have an ear project that needs to pack 2 other projects artifacts > (jar > > > and war). In the ear project pom, I've added dependencies on both. > However, > > > the ear file produced doesnt contain these. How do I fix this problem? > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Ear file doesnt contain war and jar
when someone answers this question, please give a general answer to this question - how do I copy a jar file specified as dependency into the final artifact, inside the folder I want? On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > > I have an ear project that needs to pack 2 other projects artifacts (jar > and war). In the ear project pom, I've added dependencies on both. However, > the ear file produced doesnt contain these. How do I fix this problem?
Re: How to display the compiled files?
i had tried verbose bfore sending my mail .. no, that doesnt list the source files ... thanks for the reply anyway. .. On 1/17/06, dan tran <[EMAIL PROTECTED]> wrote: > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html > > has some configurable params. verbose may be the one you are looking for > > -D > > > On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > Is there an option in maven-compiler-plugin to list the files being > > compiled? I'm trying to have an set, but the compiler seems > to > > be > > compiling unwanted files. I'm looking for an equivalent of ANT's > listfiles=true> . > > > > > >
Ear file doesnt contain war and jar
I have an ear project that needs to pack 2 other projects artifacts (jar and war). In the ear project pom, I've added dependencies on both. However, the ear file produced doesnt contain these. How do I fix this problem?
How to display the compiled files?
Is there an option in maven-compiler-plugin to list the files being compiled? I'm trying to have an set, but the compiler seems to be compiling unwanted files. I'm looking for an equivalent of ANT's .
Re: Filtering resources
thanks .. i'll try using that ... can u give me a link that explains how to use it? On 1/13/06, dan tran <[EMAIL PROTECTED]> wrote: > > I use antrunt to remove those classes in the process of migrating > ant/make builds to maven. > > Hopefully, I dont need it any more soon. > > -D > > > > On 1/13/06, John Casey <[EMAIL PROTECTED]> wrote: > > > > Well, looking at the jar plugin, it seems that it doesn't allow > > inclusions/exclusions to be specified. > > > > I guess my question is, what are you trying to accomplish? Are these > > classes unit tests or something? > > > > -john > > > > Karthik V wrote: > > > there seems to be one ( > > > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html).. > > > but isnt it possible to do it after compilation, when the jar happens? > > > assuming i need the other classes too for some other purpose (but dont > > want > > > it inside the jar), is there no way of achieving this at all? > > > > > > > > > On 1/12/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > >> Isn't there an exclude sources setting in the compiler? > > >> > > >> -Original Message- > > >> From: Karthik V [mailto:[EMAIL PROTECTED] > > >> Sent: Thursday, January 12, 2006 11:12 AM > > >> To: Maven Users List > > >> Subject: Re: Filtering resources > > >> > > >> can some one answer this please? > > >> > > >> > > >> On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > >>> ok .. that 2nd question was silly .. i managed it ... pls help me > wth > > >>> the 1st one. > > >>> > > >>> > > >>> On 1/11/06, Karthik V < [EMAIL PROTECTED]> wrote: > > >>>> In m2, how do I prevent some classes from being included to the > > >>>> final jar file? > > >>>> > > >>>> Also, I need to add some files (like the xmls generated by xdoclet) > > >>>> to the jar. These files go to the generated-sources directory and > > >>>> not to the src/main/resources. How do I add these to the final jar? > > >>> > > >>> > > >> > > >> - > > >> 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: Filtering resources
I want the remaining classes to go into another jar ... It can be made as a different project, but that'll repeat the compilation and source generation processes ... I thought if I can exclude these classes from the 1st jar, I can either generate another jar file wth the rest of the classes, or copy those classes into a 2nd project's resource folder (so that its jarred up at the end). I'm actually converting an ant project that produces a bunch of classes and packs them into 2 different jars by using include/exclude in the jar task ... I'm not particular about how this is accomplished, all I want is a solution ... I tried posting this problem in different forms to this list, but never got a satisfactory reply On 1/13/06, John Casey <[EMAIL PROTECTED]> wrote: > > Well, looking at the jar plugin, it seems that it doesn't allow > inclusions/exclusions to be specified. > > I guess my question is, what are you trying to accomplish? Are these > classes unit tests or something? > > -john > > Karthik V wrote: > > there seems to be one ( > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html) .. > > but isnt it possible to do it after compilation, when the jar happens? > > assuming i need the other classes too for some other purpose (but dont > want > > it inside the jar), is there no way of achieving this at all? > > > > > > On 1/12/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > >> Isn't there an exclude sources setting in the compiler? > >> > >> -Original Message- > >> From: Karthik V [mailto:[EMAIL PROTECTED] > >> Sent: Thursday, January 12, 2006 11:12 AM > >> To: Maven Users List > >> Subject: Re: Filtering resources > >> > >> can some one answer this please? > >> > >> > >> On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > >>> ok .. that 2nd question was silly .. i managed it ... pls help me wth > >>> the 1st one. > >>> > >>> > >>> On 1/11/06, Karthik V < [EMAIL PROTECTED]> wrote: > >>>> In m2, how do I prevent some classes from being included to the > >>>> final jar file? > >>>> > >>>> Also, I need to add some files (like the xmls generated by xdoclet) > >>>> to the jar. These files go to the generated-sources directory and > >>>> not to the src/main/resources. How do I add these to the final jar? > >>> > >>> > >> > >> - > >> 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: Filtering resources
there seems to be one ( http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html ) .. but isnt it possible to do it after compilation, when the jar happens? assuming i need the other classes too for some other purpose (but dont want it inside the jar), is there no way of achieving this at all? On 1/12/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Isn't there an exclude sources setting in the compiler? > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 12, 2006 11:12 AM > To: Maven Users List > Subject: Re: Filtering resources > > can some one answer this please? > > > On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > ok .. that 2nd question was silly .. i managed it ... pls help me wth > > the 1st one. > > > > > > On 1/11/06, Karthik V < [EMAIL PROTECTED]> wrote: > > > > > > In m2, how do I prevent some classes from being included to the > > > final jar file? > > > > > > Also, I need to add some files (like the xmls generated by xdoclet) > > > to the jar. These files go to the generated-sources directory and > > > not to the src/main/resources. How do I add these to the final jar? > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: war project resources copied to web-inf/classes
thanks a lot for ur replies ... i moved my resources to webapp from resources and it works .. i'll try the webapp archetype also ... On 1/13/06, Greg Case <[EMAIL PROTECTED]> wrote: > > What the others said is correct. So you would want to place your WEB-INF > folder in src/main/webapp/WEB-INF not src/main/resources/WEB-INF. > > As Napolean said earlier, try the web app archetype, which you can get by > running (single line): > > mvn archetype:create > -DgroupId=com.mycompany.app -DartifactId=my-webapp > -DarchetypeArtifactId=maven-archetype-webapp > > More info at http://maven.apache.org/guides/getting-started/index.html > > Regards, > > Greg Case > > > On 1/12/06, Edwin Punzalan <[EMAIL PROTECTED]> wrote: > > > > In cases of web projects, src/main/resources are copied into > > web-inf/classes > > > > Edwin Punzalan wrote: > > > > > > > > If your packaging is war, files from src/main/webapp are copied into > > > your war archive root. Please use this. > > > > > > src/main/resources are always copied into target/classes. > > > > > > > > > > > > Karthik V wrote: > > > > > >> I have a war project in m2 and want to copy some resource files to > > >> target. > > >> In my src/main/resources folder, I have some files, along with a > > web-inf > > >> folder containing some more files. But maven always seems to copy it > to > > >> target/web-inf/classes and not target. How do I change this behavior? > > >> > > >> I tried adding something like > > >> > > >>${basedir}/src/main/resources > > >>target > > >> > > >> > > >> > > >> > > >> but it didnt help... the above copied the files to > > >> target/web-inf/classes/target. > > >> > > >> > > >> > > > > > > - > > > 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] > > > > > >
war project resources copied to web-inf/classes
I have a war project in m2 and want to copy some resource files to target. In my src/main/resources folder, I have some files, along with a web-inf folder containing some more files. But maven always seems to copy it to target/web-inf/classes and not target. How do I change this behavior? I tried adding something like ${basedir}/src/main/resources target but it didnt help... the above copied the files to target/web-inf/classes/target.
Re: Filtering resources
can some one answer this please? On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > ok .. that 2nd question was silly .. i managed it ... pls help me wth the > 1st one. > > > On 1/11/06, Karthik V < [EMAIL PROTECTED]> wrote: > > > > In m2, how do I prevent some classes from being included to the final > > jar file? > > > > Also, I need to add some files (like the xmls generated by xdoclet) to > > the jar. These files go to the generated-sources directory and not to the > > src/main/resources. How do I add these to the final jar? > > >
Re: Filtering resources
ok .. that 2nd question was silly .. i managed it ... pls help me wth the 1st one. On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > In m2, how do I prevent some classes from being included to the final jar > file? > > Also, I need to add some files (like the xmls generated by xdoclet) to the > jar. These files go to the generated-sources directory and not to the > src/main/resources. How do I add these to the final jar?
Filtering resources
In m2, how do I prevent some classes from being included to the final jar file? Also, I need to add some files (like the xmls generated by xdoclet) to the jar. These files go to the generated-sources directory and not to the src/main/resources. How do I add these to the final jar?
Re: [m2] Unavoidable multiple source directories: src/sandbox/java
You were right. I had placed it in target/gen-src. It works now.. but is there a way to configure this? Thanks very much. On 1/11/06, Allison, Bob <[EMAIL PROTECTED]> wrote: > > The XDoclet plugin for Maven expects to place the generated sources in > target/generated-sources/xdoclet and adds it to the compile source list. > > If you are specifying a different destination, that may be part of the > problem if the plugin is not doing things quite right. Try changing > your output directory to match the one mentioned above and see if that > helps. > > BTW, it is not a good idea, usually, to place generated files in the src > tree. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 11, 2006 12:07 > To: Maven Users List > Subject: Re: [m2] Unavoidable multiple source directories: > src/sandbox/java > > > I am using xdoclet from codehaus in the generate-sources phase... but > durin > the compile phase, i get errors that all those classes r missing ... > > > On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > the xdocdet mojo, if available, will add the generated source > > automatically > > > > However, if you are using antrun plugin to generate source, it can do > that > > for you > > > > http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html > > > > -D > > > > > > On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > > > I need to add the sources generated thru xdoclet (its in a separate > > > folder).. is there a cleaner way of adding it, other than using this > > > build-helper? > > > > > > > > > > > > On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > > > > > http://mojo.codehaus.org/build-helper-maven-plugin/ > > > > > > > > On 1/11/06, Geoffrey <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > > > > > > What is the best practice to add a second source directory? > > > > > I am aware it is not recommended to have more then one, but it's > > > > > unavoidable at this time in the project: > > > > > > > > > > src/main/java > > > > > src/sandbox/java > > > > > > > > > > There are cyclic dependencies between both, so making a separate > > > project > > > > > for both is not an option it seems. > > > > > > > > > > -- > > > > > With kind regards, > > > > > Geoffrey De Smet > > > > > > > > > > > > > > > > > - > > > > > 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: [m2] Unavoidable multiple source directories: src/sandbox/java
I am using xdoclet from codehaus in the generate-sources phase... but durin the compile phase, i get errors that all those classes r missing ... On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > the xdocdet mojo, if available, will add the generated source > automatically > > However, if you are using antrun plugin to generate source, it can do that > for you > > http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html > > -D > > > On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > I need to add the sources generated thru xdoclet (its in a separate > > folder).. is there a cleaner way of adding it, other than using this > > build-helper? > > > > > > > > On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > > > > > http://mojo.codehaus.org/build-helper-maven-plugin/ > > > > > > On 1/11/06, Geoffrey <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > > > What is the best practice to add a second source directory? > > > > I am aware it is not recommended to have more then one, but it's > > > > unavoidable at this time in the project: > > > > > > > > src/main/java > > > > src/sandbox/java > > > > > > > > There are cyclic dependencies between both, so making a separate > > project > > > > for both is not an option it seems. > > > > > > > > -- > > > > With kind regards, > > > > Geoffrey De Smet > > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > >
Re: [m2] Unavoidable multiple source directories: src/sandbox/java
I need to add the sources generated thru xdoclet (its in a separate folder).. is there a cleaner way of adding it, other than using this build-helper? On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > http://mojo.codehaus.org/build-helper-maven-plugin/ > > On 1/11/06, Geoffrey <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > What is the best practice to add a second source directory? > > I am aware it is not recommended to have more then one, but it's > > unavoidable at this time in the project: > > > > src/main/java > > src/sandbox/java > > > > There are cyclic dependencies between both, so making a separate project > > for both is not an option it seems. > > > > -- > > With kind regards, > > Geoffrey De Smet > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >
Re: Trouble in generating source files
Ohh.. makes sense now.. thank u so much. On 1/10/06, Allison, Bob <[EMAIL PROTECTED]> wrote: > > For an example, let's say you have a Java source at > src/main/java/com/junk/JunkBean.java > > For it to compile correctly, it needs to have a "package com.junk;" in > it, right? > > When XDoclet walks the source starting at "src/main", it find a source > file that identifies itself as being in package "com.junk" but it finds > the source in package "java.com.junk". Since the two don't match, > XDoclet assumes that there is a serious problem with the source file and > ignores it. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 10, 2006 12:48 > To: Maven Users List > Subject: Re: Trouble in generating source files > > > weird, but i found the answer myself ... changed the line > > > to > > > and it worked. What I dont understand is, why doesnt the line > > > search inside the main folder and locate the source files? Does it > really > make a difference when I add the subfolder "java" when I use **/** ? > > > > On 1/10/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > Below is a snippet from my m2 project pom. I used this fine in m1 (in > the > > form of project.properties) and generated source using xdoclet. But > now, I > > dont get a single java file, though I get some required xml files. > > > > > > generate-sources > > > > xdoclet > > > > > > > > > ejbSpec="2.0" > > excludedtags="@version,@author" > > addedtags="@xdoclet-generated at ${TODAY}" > > destdir="target/gen-src"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > The output goes like this - > > > > > > [INFO] [xdoclet:xdoclet {execution: default}] > > [INFO] Initializing DocletTasks!!! > > [INFO] Executing tasks > > INFO:Some classes refer to other classes that were not found among > the > > sources or on the classpath. > > (Perhaps the referred class doesn't exist? Hasn't been > generated > > yet?) > > The referring classes do not import any fully qualified > classes > > matching these classes. > > However, since no packages are imported, xjavadoc has assumed > > that the referred classes > > belong to the same package as the referring class. The > classes > > are: > > > > > > (this goes on with some lines like) > > C:\src\main\java\abc\def\pojo\ABC.java --> RequestObject qualified to > > abc.def.pojo.RequestObject > > > > > > [INFO] Executed tasks > > [INFO] [resources:resources] > > [INFO] Using default encoding to copy filtered resources. > > > > > > Then it goes on to the compiler:compile task, breaking the build. > > > > Can some one help? > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Trouble in generating source files
weird, but i found the answer myself ... changed the line to and it worked. What I dont understand is, why doesnt the line search inside the main folder and locate the source files? Does it really make a difference when I add the subfolder "java" when I use **/** ? On 1/10/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Below is a snippet from my m2 project pom. I used this fine in m1 (in the > form of project.properties) and generated source using xdoclet. But now, I > dont get a single java file, though I get some required xml files. > > > generate-sources > > xdoclet > > > > ejbSpec="2.0" > excludedtags="@version,@author" > addedtags="@xdoclet-generated at ${TODAY}" > destdir="target/gen-src"> > > > > > > > > > > > > > > > > > > The output goes like this - > > > [INFO] [xdoclet:xdoclet {execution: default}] > [INFO] Initializing DocletTasks!!! > [INFO] Executing tasks > INFO:Some classes refer to other classes that were not found among the > sources or on the classpath. > (Perhaps the referred class doesn't exist? Hasn't been generated > yet?) > The referring classes do not import any fully qualified classes > matching these classes. > However, since no packages are imported, xjavadoc has assumed > that the referred classes > belong to the same package as the referring class. The classes > are: > > > (this goes on with some lines like) > C:\src\main\java\abc\def\pojo\ABC.java --> RequestObject qualified to > abc.def.pojo.RequestObject > > > [INFO] Executed tasks > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > > > Then it goes on to the compiler:compile task, breaking the build. > > Can some one help?
Trouble in generating source files
Below is a snippet from my m2 project pom. I used this fine in m1 (in the form of project.properties) and generated source using xdoclet. But now, I dont get a single java file, though I get some required xml files. generate-sources xdoclet The output goes like this - [INFO] [xdoclet:xdoclet {execution: default}] [INFO] Initializing DocletTasks!!! [INFO] Executing tasks INFO:Some classes refer to other classes that were not found among the sources or on the classpath. (Perhaps the referred class doesn't exist? Hasn't been generated yet?) The referring classes do not import any fully qualified classes matching these classes. However, since no packages are imported, xjavadoc has assumed that the referred classes belong to the same package as the referring class. The classes are: (this goes on with some lines like) C:\src\main\java\abc\def\pojo\ABC.java --> RequestObject qualified to abc.def.pojo.RequestObject [INFO] Executed tasks [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Then it goes on to the compiler:compile task, breaking the build. Can some one help?
Re: Repository 'central' will be blacklisted -- any clue?
Though this is solved, I have one question ... I had already downloaded whatever is required to my local repo ... Assuming nothing is corrupted, why is maven still trying a download bfore it checks the local? And sometimes even complains of errors ... I'm new to maven n I find this dependency thing totally unreliable ... I slog all day to get all dependencies in place n things work fine ... the next day I find weird errors even without touching the pom file ... If the artifacts downloaded fine once, and things started working, I dont understand the reason for it to break again ... Can someone tell me how it works? On 1/5/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Guess what .. it started working now .. though I have no idea when it > might stop ... thanks for ur replies .. > > On 1/5/06, Tim Davies < [EMAIL PROTECTED]> wrote: > > > > I just tested this on my machine and had no problems. For what little > > help that may be. > > > > Im afraid I dont have a detailed enough knowledge to suggest anything > > else. > > > > In the past though when I have come across the blacklisted message it > > has been sufficient to delete the corresponding metadata from the local > > repository and try again. > > > > Sorry. > > > > Sean Hennessy wrote: > > > > >Likely the [WARINING] [INFO] message is generic and we are seeing > > >different flavors of repository access failures. > > >The use of 'blacklisted' implies any further attempts will also fail. > > >Have we done something to warrant such persona non grata treatment? > > >It remains a mystery. > > > > > > > > >-Original Message- > > >From: Karthik V [mailto: [EMAIL PROTECTED] > > >Sent: Thursday, January 05, 2006 9:18 AM > > >To: Maven Users List > > >Subject: Re: Repository 'central' will be blacklisted -- any clue? > > > > > > > > >I can browse thru repo1 wth my browser .. my browser is set to "direct > > >connection to Internet" and not 'auto-detect proxy' ... I havnt > > >specified anything in settings.xml ... I deleted the whole repo, > > >reinstalled maven etc. but no avail ... > > > > > > > > >On 1/5/06, Tim Davies < [EMAIL PROTECTED]> wrote: > > > > > > > > >>It normally happens when maven fails to download an artifact. > > >> > > >>If you can browse ibiblio through a browser and your proxy settings > > >>are the same in maven then theres no reason why it shouldnt work. > > >> > > >>I would suggest you delete the folder > > >>"org\apache\maven\plugins\maven-install-plugin" from you local > > >>repository and try again. It has maybe become corrupted in some way. > > >> > > >> > > >>Mike Perham wrote: > > >> > > >> > > >> > > >>>Maybe the remote machine is down. Try a mirror or in a few hours. > > >>> > > >>>-Original Message- > > >>>From: Karthik V [mailto:[EMAIL PROTECTED] > > >>>Sent: Thursday, January 05, 2006 11:03 AM > > >>>To: Maven Users List > > >>>Subject: Re: Repository 'central' will be blacklisted -- any clue? > > >>> > > >>>yes i saw ur post at > > >>>http://www.nabble.com/-m2-FC4-INFO-:-%22Repository-'central'-will-be-<http://www.nabble.com/-m2-FC4-INFO-:-%22Repository-%27central%27-will-be-> > > >>>bla > > >>>cklisted%22-p1875130.html... > > >>>I'm running this on Win XP, and it was running fine till yesterday. > > >>>Nothing changed on my side. If maven just does http downloads of the > > >>>artifacts, why does it fail when I can still browse the Internet? Can > > >>>this happen if something is changed in the gateway or the proxy? > > >>> > > >>> > > >>> > > >>>On 1/5/06, Sean Hennessy <[EMAIL PROTECTED]> wrote: > > >>> > > >>> > > >>> > > >>> > > >>>>I ran into this behavior on another system when it was upgraded to > > >>>>Fedora Core 4 and SELinux security was enabled by default. > > >>>> > > >>>>-Original Message- > > >>>>From: Karthik V [mailto:[EMAIL PROTECTED] > > >
Re: Repository 'central' will be blacklisted -- any clue?
Guess what .. it started working now .. though I have no idea when it might stop ... thanks for ur replies .. On 1/5/06, Tim Davies <[EMAIL PROTECTED]> wrote: > > I just tested this on my machine and had no problems. For what little > help that may be. > > Im afraid I dont have a detailed enough knowledge to suggest anything > else. > > In the past though when I have come across the blacklisted message it > has been sufficient to delete the corresponding metadata from the local > repository and try again. > > Sorry. > > Sean Hennessy wrote: > > >Likely the [WARINING] [INFO] message is generic and we are seeing > >different flavors of repository access failures. > >The use of 'blacklisted' implies any further attempts will also fail. > >Have we done something to warrant such persona non grata treatment? > >It remains a mystery. > > > > > >-Original Message- > >From: Karthik V [mailto:[EMAIL PROTECTED] > >Sent: Thursday, January 05, 2006 9:18 AM > >To: Maven Users List > >Subject: Re: Repository 'central' will be blacklisted -- any clue? > > > > > >I can browse thru repo1 wth my browser .. my browser is set to "direct > >connection to Internet" and not 'auto-detect proxy' ... I havnt > >specified anything in settings.xml ... I deleted the whole repo, > >reinstalled maven etc. but no avail ... > > > > > >On 1/5/06, Tim Davies <[EMAIL PROTECTED]> wrote: > > > > > >>It normally happens when maven fails to download an artifact. > >> > >>If you can browse ibiblio through a browser and your proxy settings > >>are the same in maven then theres no reason why it shouldnt work. > >> > >>I would suggest you delete the folder > >>"org\apache\maven\plugins\maven-install-plugin" from you local > >>repository and try again. It has maybe become corrupted in some way. > >> > >> > >>Mike Perham wrote: > >> > >> > >> > >>>Maybe the remote machine is down. Try a mirror or in a few hours. > >>> > >>>-Original Message- > >>>From: Karthik V [mailto:[EMAIL PROTECTED] > >>>Sent: Thursday, January 05, 2006 11:03 AM > >>>To: Maven Users List > >>>Subject: Re: Repository 'central' will be blacklisted -- any clue? > >>> > >>>yes i saw ur post at > >>>http://www.nabble.com/-m2-FC4-INFO-:-%22Repository-'central'-will-be- > >>>bla > >>>cklisted%22-p1875130.html... > >>>I'm running this on Win XP, and it was running fine till yesterday. > >>>Nothing changed on my side. If maven just does http downloads of the > >>>artifacts, why does it fail when I can still browse the Internet? Can > >>>this happen if something is changed in the gateway or the proxy? > >>> > >>> > >>> > >>>On 1/5/06, Sean Hennessy <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>>>I ran into this behavior on another system when it was upgraded to > >>>>Fedora Core 4 and SELinux security was enabled by default. > >>>> > >>>>-Original Message- > >>>>From: Karthik V [mailto:[EMAIL PROTECTED] > >>>>Sent: Thursday, January 05, 2006 8:49 AM > >>>>To: Maven Users List > >>>>Subject: Repository 'central' will be blacklisted -- any clue? > >>>> > >>>> > >>>>Any clue about this error? > >>>> > >>>>[WARNING] repository metadata for: 'artifact > >>>>org.apache.maven.plugins:maven-inst > >>>>all-plugin' could not be retrieved from repository: central due to > >>>>an > >>>>error: Err or transferring file [INFO] Repository 'central' will be > >>>>blacklisted [INFO] > >>>> > >>>> > >>>-- > >>> > >>> > >>>>-- > >>>>- > >>>>--- > >>>>[ERROR] BUILD ERROR > >>>>[INFO] > >>>> > >>>> > >>>-- > >>> > >>> > >>>>-- > >>>>- > >>>>--- > >>>>[INFO] The plugin 'org.ap
Re: Repository 'central' will be blacklisted -- any clue?
I can browse thru repo1 wth my browser .. my browser is set to "direct connection to Internet" and not 'auto-detect proxy' ... I havnt specified anything in settings.xml ... I deleted the whole repo, reinstalled maven etc. but no avail ... On 1/5/06, Tim Davies <[EMAIL PROTECTED]> wrote: > > It normally happens when maven fails to download an artifact. > > If you can browse ibiblio through a browser and your proxy settings are > the same in maven then theres no reason why it shouldnt work. > > I would suggest you delete the folder > "org\apache\maven\plugins\maven-install-plugin" from you local > repository and try again. It has maybe become corrupted in some way. > > > Mike Perham wrote: > > >Maybe the remote machine is down. Try a mirror or in a few hours. > > > >-Original Message- > >From: Karthik V [mailto:[EMAIL PROTECTED] > >Sent: Thursday, January 05, 2006 11:03 AM > >To: Maven Users List > >Subject: Re: Repository 'central' will be blacklisted -- any clue? > > > >yes i saw ur post at > >http://www.nabble.com/-m2-FC4-INFO-:-%22Repository-'central'-will-be-bla > >cklisted%22-p1875130.html... > >I'm running this on Win XP, and it was running fine till yesterday. > >Nothing changed on my side. If maven just does http downloads of the > >artifacts, why does it fail when I can still browse the Internet? Can > >this happen if something is changed in the gateway or the proxy? > > > > > > > >On 1/5/06, Sean Hennessy <[EMAIL PROTECTED]> wrote: > > > > > >>I ran into this behavior on another system when it was upgraded to > >>Fedora Core 4 and SELinux security was enabled by default. > >> > >>-Original Message- > >>From: Karthik V [mailto:[EMAIL PROTECTED] > >>Sent: Thursday, January 05, 2006 8:49 AM > >>To: Maven Users List > >>Subject: Repository 'central' will be blacklisted -- any clue? > >> > >> > >>Any clue about this error? > >> > >>[WARNING] repository metadata for: 'artifact > >>org.apache.maven.plugins:maven-inst > >>all-plugin' could not be retrieved from repository: central due to an > >>error: Err or transferring file [INFO] Repository 'central' will be > >>blacklisted [INFO] > >>-- > >>-- > >>- > >>--- > >>[ERROR] BUILD ERROR > >>[INFO] > >>-- > >>-- > >>- > >>--- > >>[INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does > >> > >> > > > > > > > >>not exist or no valid version could be found [INFO] > >>-- > >>-- > >>- > >> > >> > >>All of a sudden everything stopped working, throwing this error. > >> > >>- > >>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] > > > > > > > > -- > Tim Davies > Analyst Developer > > KTS PLC: Service you can bank on > 8th Floor, Finsbury Tower, > 103-105 Bunhill Row, > London EC1Y 8LZ > tel: +44 (0)20 7256 2300 > fax: +44 (0)20 7256 2301 > > email: [EMAIL PROTECTED] > web: http://www.ktsplc.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Repository 'central' will be blacklisted -- any clue?
yes i saw ur post at http://www.nabble.com/-m2-FC4-INFO-:-%22Repository-'central'-will-be-blacklisted%22-p1875130.html... I'm running this on Win XP, and it was running fine till yesterday. Nothing changed on my side. If maven just does http downloads of the artifacts, why does it fail when I can still browse the Internet? Can this happen if something is changed in the gateway or the proxy? On 1/5/06, Sean Hennessy <[EMAIL PROTECTED]> wrote: > > I ran into this behavior on another system when it was upgraded to > Fedora Core 4 and SELinux security was enabled by default. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 05, 2006 8:49 AM > To: Maven Users List > Subject: Repository 'central' will be blacklisted -- any clue? > > > Any clue about this error? > > [WARNING] repository metadata for: 'artifact > org.apache.maven.plugins:maven-inst > all-plugin' could not be retrieved from repository: central due to an > error: Err or transferring file [INFO] Repository 'central' will be > blacklisted [INFO] > > - > --- > [ERROR] BUILD ERROR > [INFO] > > - > --- > [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does > not exist or no valid version could be found [INFO] > > - > > > All of a sudden everything stopped working, throwing this error. > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Repository 'central' will be blacklisted -- any clue?
Any clue about this error? [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-inst all-plugin' could not be retrieved from repository: central due to an error: Err or transferring file [INFO] Repository 'central' will be blacklisted [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] The plugin 'org.apache.maven.plugins:maven-install-plugin' does not exist or no valid version could be found [INFO] - All of a sudden everything stopped working, throwing this error.
Re: Error building POM (may not be this project's POM)
Oh .. thanks .. Could you tell me where to set it? On 1/5/06, Dixit, Sandeep (ProSource Solutions) < [EMAIL PROTECTED]> wrote: > > I remember this error. It was to do with my proxy - username/password > -settings. > > -Original Message----- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 05, 2006 10:50 AM > To: users@maven.apache.org > Subject: Re: Error building POM (may not be this project's POM) > > Has anyone seen this error n knows how to correct it ? ... please help. > > > On 1/4/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I installed some jars into the repository using install:install-file. > Now > > I have this problem - every time I run mvn, I get the below error, > each time > > with some random module (it picks one of the modules I installed > manually). > > Please help me resolve this, and also tell me why I keep getting a > different > > module error every time, when all I do is run "mvn install" again and > again > > with no other changes. > > > > > > [ERROR] BUILD ERROR > > [INFO] > > > > - > > --- > > [INFO] Error building POM (may not be this project's POM). > > > > > > Project ID: hibernate:hibernate > > > > Reason: Error getting POM for 'hibernate:hibernate' from the > repository: > > Error t > > ransferring file > > hibernate:hibernate:pom:3.1 > > > > from the specified remote repositories: > > central ( http://repo1.maven.org/maven2) > > > > > > > > [INFO] > > > > - > > --- > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > > > - > > > > > > This error goes away by itself during some runs, but it is totally > > unpredictable. Please help. > > > > Thanks > > Karthik. > > > > > > > --- > ***National City made the following annotations > > --- > This communication is a confidential and proprietary business > communication. It is intended solely for the use of the designated > recipient(s). If this communication is received in error, please contact > the sender and delete this communication. > > === > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Error building POM (may not be this project's POM)
Has anyone seen this error n knows how to correct it ? ... please help. On 1/4/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Hi, > > I installed some jars into the repository using install:install-file. Now > I have this problem - every time I run mvn, I get the below error, each time > with some random module (it picks one of the modules I installed manually). > Please help me resolve this, and also tell me why I keep getting a different > module error every time, when all I do is run "mvn install" again and again > with no other changes. > > > [ERROR] BUILD ERROR > [INFO] > - > --- > [INFO] Error building POM (may not be this project's POM). > > > Project ID: hibernate:hibernate > > Reason: Error getting POM for 'hibernate:hibernate' from the repository: > Error t > ransferring file > hibernate:hibernate:pom:3.1 > > from the specified remote repositories: > central ( http://repo1.maven.org/maven2) > > > > [INFO] > - > --- > [INFO] For more information, run Maven with the -e switch > [INFO] > - > > > This error goes away by itself during some runs, but it is totally > unpredictable. Please help. > > Thanks > Karthik. > >
Re: [m2] examples of xdoclet generating hibernate mappings please?
I too need help on using ejbdoclet and hibernate doclet in m2 ... I have a working project done with m 1.0.2, but have to translate the project.properties and maven.xml to m2. Can you please point me to some link that gives more info? I've been desperately searching for this but I didn't find any docs other than mailing list threads. Karthik. On 1/4/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I started using this in my common-jar module, but when I added it to > another > module (sequence-generator), the Sequence.hbm.xml gets put into the target > of the common-jar instead of the sequence-generator. The declaration as > given below is in each module seperately. > > I assume it is something to do with destdir="${project.build.outputDirectory}" but I am not sure what the > resolution would be. Can anyone help me so that xdoclet generates files > for > each module seperately? > > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BASELogic.com > > HP Consulting Services (Walnut Creek, CA) > > > > > >From: "Mike Perham" <[EMAIL PROTECTED]> > >Reply-To: "Maven Users List" > >To: "Maven Users List" > >Subject: RE: [m2] examples of xdoclet generating hibernate mappings > please? > >Date: Tue, 3 Jan 2006 13:24:22 -0600 > > > >Mick, HTH: > > > > > > > > > > org.codehaus.mojo > > xdoclet-maven-plugin > > > > > > generate-sources > > > > xdoclet > > > > > > > >>destdir="${project.build.outputDirectory}" > > > >excludedtags="@version,@author,@todo,@see,@desc" verbose="true"> > > > > > > > > > > > > > > > > > > > > > > > >-Original Message- > >From: Mick Knutson [mailto:[EMAIL PROTECTED] > >Sent: Tuesday, January 03, 2006 1:17 PM > >To: Maven Users List > >Subject: [m2] examples of xdoclet generating hibernate mappings please? > > > >I am new to generating hibernate mappings and want to get started with > >this in M2. Can anyone please help me with some examples? > > > > > >- > >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] > >
Error building POM (may not be this project's POM)
Hi, I installed some jars into the repository using install:install-file. Now I have this problem - every time I run mvn, I get the below error, each time with some random module (it picks one of the modules I installed manually). Please help me resolve this, and also tell me why I keep getting a different module error every time, when all I do is run "mvn install" again and again with no other changes. [ERROR] BUILD ERROR [INFO] - --- [INFO] Error building POM (may not be this project's POM). Project ID: hibernate:hibernate Reason: Error getting POM for 'hibernate:hibernate' from the repository: Error t ransferring file hibernate:hibernate:pom:3.1 from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] - --- [INFO] For more information, run Maven with the -e switch [INFO] - This error goes away by itself during some runs, but it is totally unpredictable. Please help. Thanks Karthik.
Re: Maven 2 repository question
Thats neat! thank you. Karthik. Tim Davies <[EMAIL PROTECTED]> wrote: You can use the install command to get a jar into your local repository. eg. for suns activation.jar which I happen to have at hand mvn install:install-file -DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2 -Dfile=activation.jar -Dpackaging=jar -DgeneratePom=true For remote repositories there will in future be a deploy:deploy-file equivalent but this is still in the snapshot at present. regards, TD Karthik V wrote: >In maven 2, do I have a way to add jar files to repositories manually? I need >a few jars for my project that dont seem to be present in the maven 2 remote >repository. Instead of hunting down a url for it, I'd prefer using my local >copy. The repository folder in maven 2 seems to be different from maven 1.x. >In 1.x, it used to work fine if I just copy my jars to the jars folder of each >artifact. But in m2, it seems to be requiring a pom file along with this jar, >I get an error like this - > >[INFO] Error building POM (may not be this project's POM). >Project ID: xdoclet:xdoclet-web-module >Reason: Error getting POM for 'xdoclet:xdoclet-web-module' from the repository: >Error transferring file > xdoclet:xdoclet-web-module:pom:1.2.2 from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > >Some of my required jars include xdoclet's 1.2.2 version modules, which aren't >present in m2's default repository. I dropped a xdoclet-web-module-1.2.2.jar >in .m2\repository\xdoclet\xdoclet-web-module\1.2.2 folder, and that caused the >above error. > >Thanks >Karthik. > > > > >- >Yahoo! Photos > Ring in the New Year with Photo Calendars. Add photos, events, holidays, > whatever. > > -- Tim Davies Analyst Developer KTS PLC: Service you can bank on 8th Floor, Finsbury Tower, 103-105 Bunhill Row, London EC1Y 8LZ tel: +44 (0)20 7256 2300 fax: +44 (0)20 7256 2301 email: [EMAIL PROTECTED] web: http://www.ktsplc.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! DSL Something to write home about. Just $16.99/mo. or less
Maven 2 repository question
In maven 2, do I have a way to add jar files to repositories manually? I need a few jars for my project that dont seem to be present in the maven 2 remote repository. Instead of hunting down a url for it, I'd prefer using my local copy. The repository folder in maven 2 seems to be different from maven 1.x. In 1.x, it used to work fine if I just copy my jars to the jars folder of each artifact. But in m2, it seems to be requiring a pom file along with this jar, I get an error like this - [INFO] Error building POM (may not be this project's POM). Project ID: xdoclet:xdoclet-web-module Reason: Error getting POM for 'xdoclet:xdoclet-web-module' from the repository: Error transferring file xdoclet:xdoclet-web-module:pom:1.2.2 from the specified remote repositories: central (http://repo1.maven.org/maven2) Some of my required jars include xdoclet's 1.2.2 version modules, which aren't present in m2's default repository. I dropped a xdoclet-web-module-1.2.2.jar in .m2\repository\xdoclet\xdoclet-web-module\1.2.2 folder, and that caused the above error. Thanks Karthik. - Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
Re: Need help in organizing a maven project
Thanks again. Your explanation is fine. I have a few questions specific to my case - 1) I use maven 1.0.2, since there doesnt seem to be a good netbeans mevenide plugin for maven 2. Many things explained in the link you gave dont seem to be present in maven 1.0.2. Do you think I can still go in the same way? 2) In maven 1.0.2, adding an created some problems for me. The child project just needed some files from the parent (NOT as classpath, but a copy of some of the class files generated by the parent, to be added to its own jar). Now when I added the to the child, it started executing the ejbdoclet tasks defined in the parent (the child is just a simple jar:jar task and nothing more). I'm not sure if this is the way parent-child is supposed to work. 3) Suppose a project compiles and generates a bunch of classes. At the end, maven jars it all up to create the artifact. Now, is there a way for me to exclude some of the compiled classes from being added to the artifact? You may want to ask me not to compile those unwanted classes at all, but thats not an option for me. In other words, is it true that ALL the classes in the target folder will always go into the final jar? Can it be controlled? Thanks Karthik. Alexandre Poitras <[EMAIL PROTECTED]> wrote: First I suggest you yo read this : http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20build%20more%20than%20one%20project%20at%20once? So the idea now is to create a parent project using the structure explained in the document: +- pom.xml +-my-commons | +- pom.xml +- my-ejb | +- pom.xml +- my-webapp | +- pom.xml +- my-app-ear | +- pom.xml Don't forget to declare the parents in the children pom.xml like it is explained in the guide. Now just add a dependency in both my-webapp and my-ejb pom.xml files pointing on the my-commons project. Then add two dependencies in the my-app-ear pom.xml file pointing on my-webapp and my-ejb projects. Finally, declare the my-app-ear packaging as "ear" then you'll need to do to get your ear is run "mvn packaging" in the parent project directory. Hope it is clear enough since english isn't my native language! Don't be afraid to ask more if you don't understand. On 1/3/06, Karthik V wrote: > Hi, > > Thanks a lot for the quick reply. I'm not sure if I explained properly. Below > is my requirement: > > myproj.ear > -- myproj-bean.jar > -- myproj.war >-- all jsps, css >-- WEB-INF/lib/myproj-web.jar >-- WEB-INF/lib/(other 3rd party jars) > -- meta-inf >-- application.xml > -- some 3rd party jar files > -- some config files > > In the above, you can see 2 jars, myproj-bean.jar and myproj-web.jar. I have > one set of source files which generate classes and xml files. From this > output, I have to pick some class files for myproj-web.jar, and put the > remaining (with some overlap) in myproj-bean.jar. > > Please tell me how I can create maven project for this (the parent-child > relationships, the folder structure etc.) > > Thanks > Karthik. > > > Alexandre Poitras wrote: First, from what I understand you want two jars for > your ejb, ie. > ejb-client.jar and ejb-impl.jar. > > If this is what you are looking for, this page might help : > http://maven.apache.org/plugins/maven-ejb-plugin/howto.html > *you should declare an "ejb" packaging in your ejb pom. > **To include a dependency to your ejb client into another project, you > need to use the type "ejb-client" in the type element of the > dependency declaration > > Hope this help! > > > > On 1/3/06, Karthik V wrote: > > Hi All, > > > > I'm new to maven and xdoclet and I have a confusion in organizing my > > project. I need to run ejbdoclet and hibernatedoclet on my source, then > > compile. After this, I need to create 2 jar files, each of them containing > > some files from the previous steps' output. > > > > By default, one jar is created as the artifact. This one contains ALL the > > class files, but this isnt what I want (I need only some of them to be > > present in the jar). The rest of the class files (with some overlap) should > > go into another jar. > > > > I'm not sure how to exclude .class files from the artifact coz they seem to > > be happening by default. Also, I tried creating a new project for the 2nd > > jar, extending the previous. Now, I need some way to copy the class files I > > need from the parent and jar them up. I used "jar:jar" as the default goal > > for this new project, extended the previous project, added the parent's > > classes as resources. But this new one seems to be running ejbdoc let, > > trying to create xml f
Re: Need help in organizing a maven project
Hi, Thanks a lot for the quick reply. I'm not sure if I explained properly. Below is my requirement: myproj.ear -- myproj-bean.jar -- myproj.war -- all jsps, css -- WEB-INF/lib/myproj-web.jar -- WEB-INF/lib/(other 3rd party jars) -- meta-inf -- application.xml -- some 3rd party jar files -- some config files In the above, you can see 2 jars, myproj-bean.jar and myproj-web.jar. I have one set of source files which generate classes and xml files. From this output, I have to pick some class files for myproj-web.jar, and put the remaining (with some overlap) in myproj-bean.jar. Please tell me how I can create maven project for this (the parent-child relationships, the folder structure etc.) Thanks Karthik. Alexandre Poitras <[EMAIL PROTECTED]> wrote: First, from what I understand you want two jars for your ejb, ie. ejb-client.jar and ejb-impl.jar. If this is what you are looking for, this page might help : http://maven.apache.org/plugins/maven-ejb-plugin/howto.html *you should declare an "ejb" packaging in your ejb pom. **To include a dependency to your ejb client into another project, you need to use the type "ejb-client" in the type element of the dependency declaration Hope this help! On 1/3/06, Karthik V wrote: > Hi All, > > I'm new to maven and xdoclet and I have a confusion in organizing my project. > I need to run ejbdoclet and hibernatedoclet on my source, then compile. After > this, I need to create 2 jar files, each of them containing some files from > the previous steps' output. > > By default, one jar is created as the artifact. This one contains ALL the > class files, but this isnt what I want (I need only some of them to be > present in the jar). The rest of the class files (with some overlap) should > go into another jar. > > I'm not sure how to exclude .class files from the artifact coz they seem to > be happening by default. Also, I tried creating a new project for the 2nd > jar, extending the previous. Now, I need some way to copy the class files I > need from the parent and jar them up. I used "jar:jar" as the default goal > for this new project, extended the previous project, added the parent's > classes as resources. But this new one seems to be running ejbdoc let, trying > to create xml files (all this is being done only in the previous proj), > throwing a lot of errors. > > Please help me by giving a proper way to accomplish this task. > > Thanks > Karthik. > > > > > - > Yahoo! Shopping > Find Great Deals on Holiday Gifts at Yahoo! Shopping > -- Alexandre Poitras Qu�bec, Canada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
Need help in organizing a maven project
Hi All, I'm new to maven and xdoclet and I have a confusion in organizing my project. I need to run ejbdoclet and hibernatedoclet on my source, then compile. After this, I need to create 2 jar files, each of them containing some files from the previous steps' output. By default, one jar is created as the artifact. This one contains ALL the class files, but this isnt what I want (I need only some of them to be present in the jar). The rest of the class files (with some overlap) should go into another jar. I'm not sure how to exclude .class files from the artifact coz they seem to be happening by default. Also, I tried creating a new project for the 2nd jar, extending the previous. Now, I need some way to copy the class files I need from the parent and jar them up. I used "jar:jar" as the default goal for this new project, extended the previous project, added the parent's classes as resources. But this new one seems to be running ejbdoc let, trying to create xml files (all this is being done only in the previous proj), throwing a lot of errors. Please help me by giving a proper way to accomplish this task. Thanks Karthik. - Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping
Re: null pointer exception in ejbdoclet
I'm going mad with this error. Not able to proceed at all. Can somebody help me out? I'll give more details if needed. Karthik V <[EMAIL PROTECTED]> wrote: Please help me understand this stack trace .. got this while trying to run ejbdoclet on a bunch of files... Deploy TEMPLATE URL: jar:file:C:\Documents and Settings\karthikv\.maven\repository\xdoclet\jars\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-deploy_wsdd.xdt Undeploy TEMPLATE URL: jar:file:C:\Documents and Settings\karthikv\.maven\repository\xdoclet\jars\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-undeploy_wsdd.xdt java.lang.NullPointerException at java.util.StringTokenizer.(StringTokenizer.java:182) at xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:60) at xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:35) at xdoclet.tagshandler.PackageTagsHandler.packageNameAsPathFor(PackageTagsHandler.java:114) at xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:345) at xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:182) at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:615) at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:597) at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:198) at xdoclet.modules.ejb.dd.EjbDotXmlSubTask.execute(EjbDotXmlSubTask.java:217) at xdoclet.XDocletMain.start(XDocletMain.java:48) at xdoclet.DocletTask.start(DocletTask.java:464) at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87) at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691) at com.werken.werkz.Goal.fire(Goal.java:616) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) BUILD FAILED File.. C:\Documents and Settings\karthikv\.maven\cache\maven-xdoclet-plugin-1.2.3\plugin.jelly Element... ejbdoclet Line.. 27 Column 20 Unexpected error Thanks Karthik. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
fileset doesnt seem to work
I'm new to maven. Trying to use maven 1.0.2 xdoclet:ejbdoclet on some ejb code to generate home interfaces and compile them. I'm using fileset in project.properties to compile only the files ending with Bean.java, and also exclude some of these Bean files. My problem is, maven doesnt seem to use my fileset. It just runs ejbdoclet on all files, and complains of errors. I dont care about the errors in the other files, but I know the Bean files are error free ... the same build runs properly with an ANT script. Below is the fileset part - maven.xdoclet.ejbdoclet.fileset.0=true maven.xdoclet.ejbdoclet.fileset.0.include=**/beans/**/*Bean.java maven.xdoclet.ejbdoclet.fileset.0.exclude=**/xyz/beans/**/*Bean.java The error starts like this - Generating EJB deployment descriptor (ejb-jar.xml). Error parsing File C:\beans\util\EJBUtils.java:Encountered "<" at line 37, column 22. Was expecting one of: ... "[" ... As you can see, the file EJBUtils.java is being touched when its not supposed to be. Thanks Karthik. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
null pointer exception in ejbdoclet
Please help me understand this stack trace .. got this while trying to run ejbdoclet on a bunch of files... Deploy TEMPLATE URL: jar:file:C:\Documents and Settings\karthikv\.maven\repository\xdoclet\jars\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-deploy_wsdd.xdt Undeploy TEMPLATE URL: jar:file:C:\Documents and Settings\karthikv\.maven\repository\xdoclet\jars\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-undeploy_wsdd.xdt java.lang.NullPointerException at java.util.StringTokenizer.(StringTokenizer.java:182) at xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:60) at xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:35) at xdoclet.tagshandler.PackageTagsHandler.packageNameAsPathFor(PackageTagsHandler.java:114) at xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:345) at xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:182) at xdoclet.TemplateSubTask.startProcessForAll(TemplateSubTask.java:615) at xdoclet.TemplateSubTask.startProcess(TemplateSubTask.java:597) at xdoclet.XmlSubTask.startProcess(XmlSubTask.java:198) at xdoclet.modules.ejb.dd.EjbDotXmlSubTask.execute(EjbDotXmlSubTask.java:217) at xdoclet.XDocletMain.start(XDocletMain.java:48) at xdoclet.DocletTask.start(DocletTask.java:464) at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110) at org.apache.tools.ant.Task.perform(Task.java:341) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193) at org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTag.java:127) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at com.werken.werkz.jelly.PreGoalTag$1.firePreGoal(PreGoalTag.java:87) at com.werken.werkz.Goal.firePreGoalCallbacks(Goal.java:691) at com.werken.werkz.Goal.fire(Goal.java:616) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) BUILD FAILED File.. C:\Documents and Settings\karthikv\.maven\cache\maven-xdoclet-plugin-1.2.3\plugin.jelly Element... ejbdoclet Line.. 27 Column 20 Unexpected error Thanks Karthik. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com