Assembly plugin packaging the EAR md5 check sum
Can anyone please tell me how I can use the assembly plugin to package the MD5 checksum for my ear file. I currently use the assembly to package up the ear and external properties files but can not work out how to generate the MD5 and package this as well. Any help would be much appreciated. Cheers Paul -- View this message in context: http://www.nabble.com/Assembly-plugin-packaging-the-EAR-md5-check-sum-tp25803248p25803248.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Release 2.0.10 will we ever see it?
Cheers thanks for the info. brettporter wrote: > > > On 03/02/2009, at 8:13 PM, PaulG wrote: > >> >> Will Maven 2.0.10 ever be released? > > Brian has rolled another RC that should be published shortly. It's > about ready to go. > >> >> >> If not when can we expect Maven 2.1? I can not push out Milestone >> releases >> to our dev team. > > A new milestone will be out within the week circumstances permitting, > and the issues in JIRA are locked down barring any regressions - it > should follow very soon. > > Cheers, > Brett > > -- > Brett Porter > br...@apache.org > http://blogs.exist.com/bporter/ > > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://www.nabble.com/Release-2.0.10-will-we-ever-see-it--tp21806234p21809428.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Ear Plugin exclude parent pom dependencies
I have a ear project that extends from a parent project this parent project has some dependencies defined in it when I build the ear file I get my war file include as configured but it puts the dependencies from the parent pom in the app-inf/lib directory. How do I stop the jar files being included in the app-inf/lib directory? Cheers Paul -- View this message in context: http://www.nabble.com/Ear-Plugin-exclude-parent-pom-dependencies-tp18592122p18592122.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: application url context change is it possible
Cheers Brett That worked a treat Brett Porter wrote: > > It should be apps/archiva/conf/application.xml, change > > On 16/04/2008, Paul G <[EMAIL PROTECTED]> wrote: >> >> Running in stand alone mode is it possible to change the context root of >> the >> Archiva application. Currently it is set to archiva I would like to set >> it >> to repomanager. Any hint's on which config file controls this? >> >> -- >> View this message in context: >> http://www.nabble.com/application-url-context-change-is-it-possible-tp16719758p16719758.html >> Sent from the archiva-users mailing list archive at Nabble.com. >> >> > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > > -- View this message in context: http://www.nabble.com/application-url-context-change-is-it-possible-tp16719758p16720679.html Sent from the archiva-users mailing list archive at Nabble.com.
application url context change is it possible
Running in stand alone mode is it possible to change the context root of the Archiva application. Currently it is set to archiva I would like to set it to repomanager. Any hint's on which config file controls this? -- View this message in context: http://www.nabble.com/application-url-context-change-is-it-possible-tp16719758p16719758.html Sent from the archiva-users mailing list archive at Nabble.com.
Re: Multi-module site, why must I do "mvn clean install site"?
Robert, That looks exactly like the bug to me. CHeers Robert Reiner wrote: > > Hi Paul G, > > I faced a similar problem today. We have a multi-project-build and the > site plugin does not fetch the artifacts from the reactor, but tries to > download them from the local repo. Therefore the artifacts need to be > installed. I think this might be your problem, too. > > There is a bug filed to Jira: http://jira.codehaus.org/browse/MSITE-171 > > Hope this helps. > > Regards, > Robert > > > Paul G wrote: >> >> Why do I have to run install to get a multi-module project to work >> correctly? >> >> Is this a bug? >> > > -- View this message in context: http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16491790.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multi-module site, why must I do "mvn clean install site"?
Why do I have to run install to get a multi-module project to work correctly? Is this a bug? -- View this message in context: http://www.nabble.com/Multi-module-site%2C-why-must-I-do-%22mvn-clean-install-site%22--tp16488944s177p16488944.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PMD 2.3 plugin error
There is not another version that uses PMD 4.2 as yet that's my point. I have now tested our build with PMD plugin version 2.2 and 2.3. Version 2.2 works fine and version 2.3 does not the only difference I see between the versions is the PMD dependency, as listed below. The strange thing is the version for 2.3 seems to be a non standard PMD jar and has rules missing hence the error messages I received during the builds. I think this is worth a JIRA report. V2.2 pmd pmd 3.9 V2.3 pmd pmd-jdk14 4.1.1 Brian E Fox wrote: > > Is there another version of the plugin that uses PMD 4.2? In Maven > versions prior to 2.0.9 you can't override the plugin dependencies so > I'm not sure how it was working before. > > -----Original Message- > From: Paul G [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2008 9:02 AM > To: users@maven.apache.org > Subject: PMD 2.3 plugin error > > > I am running PMD reporting plugin and I get the below error > java.lang.ClassNotFoundException: > net.sourceforge.pmd.rules.SingularField > > Now this used to work some time back, plus when i lookin in the plugin > pom > the only dependency that mentions pmd is > > pmd > pmd-jdk14 > 4.1.1 > > When I look in this jar the class in question is indeed not there!! I > have > set the target jdk to 1.5 so why is it using PMD 4.1.1 jdk14? why is the > plugin not using PMD 4.2? > > I'm totally confused as this ruke once worked and no it does not yet it > is a > valid rule on the PMD web site? > -- > View this message in context: > http://www.nabble.com/PMD-2.3-plugin-error-tp16446926s177p16446926.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/PMD-2.3-plugin-error-tp16446926s177p16466117.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PMD 2.3 plugin error
I am running PMD reporting plugin and I get the below error java.lang.ClassNotFoundException: net.sourceforge.pmd.rules.SingularField Now this used to work some time back, plus when i lookin in the plugin pom the only dependency that mentions pmd is pmd pmd-jdk14 4.1.1 When I look in this jar the class in question is indeed not there!! I have set the target jdk to 1.5 so why is it using PMD 4.1.1 jdk14? why is the plugin not using PMD 4.2? I'm totally confused as this ruke once worked and no it does not yet it is a valid rule on the PMD web site? -- View this message in context: http://www.nabble.com/PMD-2.3-plugin-error-tp16446926s177p16446926.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Deploy artifact to archiva for the first time - error
Brett, I have tried adding a user with repository observer and manager roles and have also tried giving the guest user the repository manager role as well. But still it does not work. I have even tried putting a wrong password/wrong user name in my settings.xml to see what sort of error I get back, but I still got the same error. I even tried to deploy the snapshot to the realse only repo and I still got the same error. Now I'm really confused, must admit I got artifactory working quicker that this! Below is my user set up in settings.xml archiva.team.snapshot deployer password1234 Brett Porter wrote: > > I think this is a result of not having permissions to write that file > on the server > > On 28/03/2008, Paul G <[EMAIL PROTECTED]> wrote: >> >> I have just set Archiva as per the docs my build works fine all the >> artifacts >> are downloaded within Archiva. But when I come to deploy to a newly >> created >> repository managed by Archiva using web dav I get the following error >> [INFO] Error deploying artifact: Resource to deploy not found: File: >> >> http://localhost:8800/archiva/repository/team_snapshot/psg/scratch/beanUtils/BeanUtilsEx/0.0.1-SNAPSHOT/BeanUtilsEx-0.0.1-20080327.223426-1.jar >> does not exist >> >> This is my pom file >> >> >> archiva.team.release >> Internal Release Repository >> >> >> dav:http://localhost:8800/archiva/repository/team_release/ >> >> >> >> archiva.team.snapshot >> Internal Snapshot Repository >> >> >> dav:http://localhost:8800/archiva/repository/team_snapshot/ >> >> >> >> >> Why is webdav complaining the artifact is not found, surely it is not >> there >> as it is the first time I have deployed? >> Help I'm confused. Below is the full stack trace when running in debug. >> [INFO] Error deploying artifact: Resource to deploy not found: File: >> http://loca >> >> lhost:8800/archiva/repository/team_snapshot/psg/scratch/beanUtils/BeanUtilsEx/0. >> 0.1-SNAPSHOT/BeanUtilsEx-0.0.1-20080327.224101-1.jar does not exist >> >> [INFO] >> >> [INFO] Trace >> org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying >> artifact >> : Resource to deploy not found: File: >> http://localhost:8800/archiva/repository/t >> >> eam_snapshot/psg/scratch/beanUtils/BeanUtilsEx/0.0.1-SNAPSHOT/BeanUtilsEx-0.0.1- >> 20080327.224101-1.jar does not exist >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa >> ultLifecycleExecutor.java:564) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi >> fecycle(DefaultLifecycleExecutor.java:480) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau >> ltLifecycleExecutor.java:459) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan >> dleFailures(DefaultLifecycleExecutor.java:311) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen >> ts(DefaultLifecycleExecutor.java:278) >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi >> fecycleExecutor.java:143) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >> java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >> sorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> at org.codehaus.classworlds.Launcher.ma
Accessing current date/time during build
How is it possible to get the value of the current date and time within maven so i can use it in the jar name of a build? Cheers Paul -- View this message in context: http://www.nabble.com/Accessing-current-date-time-during-build-tf4132633s177.html#a11753414 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Packaging a release of a jar with dependencies
Thanks for that Andrew, looks like what I was thinking I would have to do, thanks once again for saving me a couple of hours of trying to work it. Cheers Paul Andrew Boyer wrote: > > Paul, > > I used the dependency and assembly plugins. Something like: > > > maven-assembly-plugin > > > src/main/assembly/dist.xml > > > > > maven-dependency-plugin > > > copy-dependencies > package > > copy-dependencies > > > ${basedir}/target/dist/lib > runtime > true > > > > > > With the following assembly descriptor: > > > dist > > zip > tar.gz > > false > > > target/dist > / > > *tests.jar > > > > > > Hope that helps. > > Andrew >> -Original Message- >> From: Paul G [mailto:[EMAIL PROTECTED] >> Sent: Monday, July 23, 2007 4:15 PM >> To: users@maven.apache.org >> Subject: Packaging a release of a jar with dependencies >> >> >> I would like to know the best way to create a release artifact such as > a >> zip >> which contains my jar file along with all it's dependency jars in a > bin >> directory of the zip. I have used the assembly plugin to create wars > with >> external configs files and docs. But have not found any easy examples > of >> how >> to package a jar. I know you can copy all the dependencies to a >> destination >> folder with the dependency plug in, does that mean I am looking at > using >> the >> dependency and assembly plug in together attached to the packaing > phase to >> achieve what I want? >> -- >> View this message in context: > http://www.nabble.com/Packaging-a-release- >> of-a-jar-with-dependencies-tf4132165s177.html#a11751868 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> 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] > > > -- View this message in context: http://www.nabble.com/Packaging-a-release-of-a-jar-with-dependencies-tf4132165s177.html#a11753298 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Packaging a release of a jar with dependencies
I would like to know the best way to create a release artifact such as a zip which contains my jar file along with all it's dependency jars in a bin directory of the zip. I have used the assembly plugin to create wars with external configs files and docs. But have not found any easy examples of how to package a jar. I know you can copy all the dependencies to a destination folder with the dependency plug in, does that mean I am looking at using the dependency and assembly plug in together attached to the packaing phase to achieve what I want? -- View this message in context: http://www.nabble.com/Packaging-a-release-of-a-jar-with-dependencies-tf4132165s177.html#a11751868 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Appending date and time to packaged artifact name?
How can I easily add the date and time to a package artifact name, I use the to change the packaged name but is the and easy way to get a handle onto the date and time? -- View this message in context: http://www.nabble.com/Appending-date-and-time-to-packaged-artifact-name--tf4072380s177.html#a11573562 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]