Re: release plugin and singing (missing MD5 and SHA1)
Actually that command seems to make the hash files in my local repo, however mvn release:preform -Papache-release does not in the nexus repo; when I go to close the release in nexus is says Staging ruleset evaluation on repository 'org.apache.juddi-129 (u:kstam, a:24.34.53.124)' has failed. Staging Checksum Validation -*Missing SHA1:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-source-release.tar.gz.sha1'. -*Missing MD5:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-source-release.tar.gz.md5.' -*Missing SHA1:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4.jar.sha1'. -*Missing MD5:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4.jar.md5.' -*Missing SHA1:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-source-release.zip.sha1'. -*Missing MD5:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-source-release.zip.md5.' -*Missing SHA1:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-sources.jar.sha1'. -*Missing MD5:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-sources.jar.md5.' -*Missing SHA1:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-javadoc.jar.sha1'. -*Missing MD5:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4-javadoc.jar.md5.' -*Missing SHA1:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4.pom.sha1'. -*Missing MD5:* '/org/apache/juddi/scout/scout/1.2.4/scout-1.2.4.pom.md5.' On 1/24/12 9:00 PM, Kurt T Stam wrote: Hi guys, I'm trying to release Apache Scout and it is creating signed (.asc) files, but not the MD5 and SHA1 hash files. Last time it did, I must be doing something different. I'm running mvn clean install -Papache-release Any hint would be very welcome! Cheers, --Kurt
release plugin and singing (missing MD5 and SHA1)
Hi guys, I'm trying to release Apache Scout and it is creating signed (.asc) files, but not the MD5 and SHA1 hash files. Last time it did, I must be doing something different. I'm running mvn clean install -Papache-release Any hint would be very welcome! Cheers, --Kurt - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: [ANN] Maven EAR Plugin 2.7 Released
I think some congratulations are in order for this. The skinny war support is fabulous! I've just migrated our large multi war application to it and it's done a better job than our previously hand crafted skinny wars. Thanks a lot. Steve C On 17/01/2012, at 9:20 AM, Dennis Lundberg wrote: > The Maven team is pleased to announce the release of the Maven EAR > Plugin, version 2.7 > > > The most noteworthy in this release is the support for skinny WAR files. > It is one of the most voted on issues in our JIRA with 50 votes. We > would love to hear your feedback on this new feature. > > > The plugin generates a J2EE Enterprise Archive (EAR) file. > > http://maven.apache.org/plugins/maven-ear-plugin/ > > You should specify the version in your project's plugin configuration: > > > org.apache.maven.plugins > maven-ear-plugin > 2.7 > > > > Release Notes - Maven EAR Plugin - Version 2.7 > > Improvement > * [MEAR-60] Improve support for skinny WAR files > > New Feature > * [MEAR-87] Allow exclusion of artifacts when building the ear file. > > Task > * [MEAR-140] HTML Anchors on page "EAR Modules" defect > * [MEAR-48] Remove the deprecated resourcesDir parameter > > > Enjoy, > > -The Maven team > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: M2-Job: mvn clean install site chicken egg problem for multi-module project
Try pipe. I think a long time ago i added support for pipe - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On Jan 24, 2012 8:40 p.m., "Mirko Friedenhagen" wrote: > Hello everybody, > > for a fresh multi-module maven project, invoking "clean install site" > will not suceed, as "site" in the parent will fail due to missing > javadoc parts from the modules, see: > http://huschteguzzel.de/hudson/job/testlink-junit/14/console (the > project may be found at https://github.com/1and1/testlink-junit/) > --- snip --- > mavenExecutionResult exceptions not empty > message : Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on > project tljunit-parent: failed to get report for > org.apache.maven.plugins:maven-javadoc-plugin > cause : failed to get report for > org.apache.maven.plugins:maven-javadoc-plugin > Stack trace : > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site > (default-site) on project tljunit-parent: failed to get report for > org.apache.maven.plugins:maven-javadoc-plugin >at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) >at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) > --- snap --- > > I have to: > - execute "clean install" once and change it back to "clean install site" > or > - execute "clean install" in the M2 configuration and add a Maven > "Post Step" "site" (this however will of course not show up in the > "Executed Mojo" section. > > With a freestyle project this is not a biggy as I could just configure > two Maven steps. > > This is of course consistent with the execution on command line, when > the project was never installed before: > "mvn clean install site" will fail and I have to fall back to > something like: "mvn clean install ; mvn site" > > I think with CruiseControl invoking multiple, serial executions of > Maven were available by separating the phases by a pipe (|) symbol. > > Does anyone know a solution for this chicken egg problem in Jenkins > (or on the command line)? > > Regards Mirko > -- > http://illegalstateexception.blogspot.com/ > https://github.com/mfriedenhagen/ > https://bitbucket.org/mfriedenhagen/ > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: custom unique version
Am 24.01.2012 10:58, schrieb Cem Koc: > For those who wants another use case for custom unique version is: > > At our legacy application based on JPA has persistence.xml. Our domain jars > were divided into the two module and they are included at our > persistence.xml at like this: > > > SearchV2DS > domain-A-${A-version}.jar > domain-B-${B-version}.jar > > > Our persistence.xml file is filtered at build time by maven. However because > of the unique version of each SNAPSHOT, it can not be filtered correctly. > > Our persistence provider Eclipse can not locate domain-A-***.jar since the > name of it changing daily. > > Please do not suggest me to use release version of domain A dependency. This > domain dependency is changing very rapidly and its daily usage is very > critical. > > I strongly need "custom unique version" of the snapshot and filter my > persistense.xml. > > Still looking for a solution. You could roughly follow these steps: - make your persistence.xml a non-filtered resource, put in fixed JAR file names. - define the JAR files in your POM as SNAPSHOT dependency and configure your settings.xml accordingly, so that they get updated in the interval you want (or use -U on the mvn command line to force updates) - use maven-dependency-plugin to download domain-A.jar and domain-B.jar. Tell this plugin to strip version numbers (you'll then get the JAR file names with versions stripped out). - make sure the dependency plugin copies them into the directory where your application would expect them Snapshots are meant to change. Leave the details how snapshots are managed to maven. Just tell it to use the snapshot. Don't mess with internal "unique versions". Best regards Ansgar > > > Thanks > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/custom-unique-version-tp5159884p5281260.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 > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
M2-Job: mvn clean install site chicken egg problem for multi-module project
Hello everybody, for a fresh multi-module maven project, invoking "clean install site" will not suceed, as "site" in the parent will fail due to missing javadoc parts from the modules, see: http://huschteguzzel.de/hudson/job/testlink-junit/14/console (the project may be found at https://github.com/1and1/testlink-junit/) --- snip --- mavenExecutionResult exceptions not empty message : Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project tljunit-parent: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin cause : failed to get report for org.apache.maven.plugins:maven-javadoc-plugin Stack trace : org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project tljunit-parent: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) --- snap --- I have to: - execute "clean install" once and change it back to "clean install site" or - execute "clean install" in the M2 configuration and add a Maven "Post Step" "site" (this however will of course not show up in the "Executed Mojo" section. With a freestyle project this is not a biggy as I could just configure two Maven steps. This is of course consistent with the execution on command line, when the project was never installed before: "mvn clean install site" will fail and I have to fall back to something like: "mvn clean install ; mvn site" I think with CruiseControl invoking multiple, serial executions of Maven were available by separating the phases by a pipe (|) symbol. Does anyone know a solution for this chicken egg problem in Jenkins (or on the command line)? Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Make Source directory the Destination directory
> I need to create a pom file that makes the destination of a minified file be > where the source file is. This is a bad plan. Please read the plugin documentation and just use it as it is designed to be used "out of the box" with standard configuration options. If you insist on going this route, do not look for support on this mailing list. Contact the author directly. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Make Source directory the Destination directory
I am not sure that I understand correctly what you are trying to do (mainly because I have never used that plugin), but have you looked at the goal documentation?: http://maven-samaxes-plugin.googlecode.com/svn/sites/maven-minify-plugin/minify-mojo.html, there is a cssTargetDir and jsTargetDir configuration option. Now maybe you could explain the purpose of generating those minified files directly into your source directory? There may be a cleaner/simpler way to do what you actually attempt to perform. Cheers, Guillaume Le 24/01/2012 18:27, ibbignerd a écrit : I am new to using maven, but understand a little. I need to create a pom file that makes the destination of a minified file be where the source file is. here is a snippet of my code com.samaxes.maven maven-minify-plugin 1.3.5 default-minify process-resources css src/main/**/*.css style.css js tablefilter.js script.js minify I also need it to search for all js and css files in the subfolders. Please let me know if you guys need any more info. Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Make-Source-directory-the-Destination-directory-tp5323988p5323988.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 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Make Source directory the Destination directory
I am new to using maven, but understand a little. I need to create a pom file that makes the destination of a minified file be where the source file is. here is a snippet of my code com.samaxes.maven maven-minify-plugin 1.3.5 default-minify process-resources css src/main/**/*.css style.css js tablefilter.js script.js minify I also need it to search for all js and css files in the subfolders. Please let me know if you guys need any more info. Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Make-Source-directory-the-Destination-directory-tp5323988p5323988.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: disable @@ filtering in the Maven Resources Plugin/Maven Filtering
Thank you =) The goal doc is the only place where I forgot to look while searching through the resources plugin docs and maven filtering docs. -Исходное сообщение- From: Olivier Lamy Sent: Tuesday, January 24, 2012 4:44 PM To: Maven Users List Subject: Re: disable @@ filtering in the Maven Resources Plugin/Maven Filtering Hello, See http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html There are two fields to help you: * delimiters * useDefaultDelimiters HTH -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy 2012/1/24 Oleg Estekhin : Hi I have a set of resource files that contain some name=key properties, and a lot of names have the format of "object@attribute". Now I have to filter them during the build, but '@' characters mess with the filtering, for example a line like "object@attribute = ${project.version}" will not be filtered at all. Is it possible to disable filtering based on the @@ and use only the ${} variant? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: disable @@ filtering in the Maven Resources Plugin/Maven Filtering
Hello, See http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html There are two fields to help you: * delimiters * useDefaultDelimiters HTH -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy 2012/1/24 Oleg Estekhin : > Hi > > I have a set of resource files that contain some name=key properties, and a > lot of names have the format of "object@attribute". > > Now I have to filter them during the build, but '@' characters mess with the > filtering, for example a line like "object@attribute = ${project.version}" > will not be filtered at all. > > Is it possible to disable filtering based on the @@ and use only the ${} > variant? > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
disable @@ filtering in the Maven Resources Plugin/Maven Filtering
Hi I have a set of resource files that contain some name=key properties, and a lot of names have the format of "object@attribute". Now I have to filter them during the build, but '@' characters mess with the filtering, for example a line like "object@attribute = ${project.version}" will not be filtered at all. Is it possible to disable filtering based on the @@ and use only the ${} variant? - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Plugin execution not covered by lifecycle configuration
I would guess that flexmojo documents the procedure of listing one of their modules as an and you haven't done so. On Tue, Jan 24, 2012 at 3:14 AM, Thorsten Heit wrote: > Hi, > >> I stuck with the Plugin execution not covered by lifecycle >> configuration while using flexmojos-maven-plugin and getting below > warning >> when doing maven build >> >> [WARNING] Some problems were encountered while building the effective > model >> for com.cccis.appraiser-management:appraiser-management:swf:2.1 >> [WARNING] 'dependencies.dependency.scope' for >> com.adobe.flex.framework:spark:swc must be one of [provided, compile, >> runtime, test, system] but is 'theme'. @ line 80, column 11 >> [WARNING] 'dependencies.dependency.scope' for >> com.adobe.flex.framework:halo:swc:theme must be one of [provided, > compile, >> runtime, test, system] but is 'theme'. @ line 88, column 11 > > What don't you understand when you read that warning message? > > > Regards > > Thorsten - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: custom unique version
For those who wants another use case for custom unique version is: At our legacy application based on JPA has persistence.xml. Our domain jars were divided into the two module and they are included at our persistence.xml at like this: SearchV2DS domain-A-${A-version}.jar domain-B-${B-version}.jar Our persistence.xml file is filtered at build time by maven. However because of the unique version of each SNAPSHOT, it can not be filtered correctly. Our persistence provider Eclipse can not locate domain-A-***.jar since the name of it changing daily. Please do not suggest me to use release version of domain A dependency. This domain dependency is changing very rapidly and its daily usage is very critical. I strongly need "custom unique version" of the snapshot and filter my persistense.xml. Still looking for a solution. Thanks -- View this message in context: http://maven.40175.n5.nabble.com/custom-unique-version-tp5159884p5281260.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: Plugin execution not covered by lifecycle configuration
Hi, >I stuck with the Plugin execution not covered by lifecycle > configuration while using flexmojos-maven-plugin and getting below warning > when doing maven build > > [WARNING] Some problems were encountered while building the effective model > for com.cccis.appraiser-management:appraiser-management:swf:2.1 > [WARNING] 'dependencies.dependency.scope' for > com.adobe.flex.framework:spark:swc must be one of [provided, compile, > runtime, test, system] but is 'theme'. @ line 80, column 11 > [WARNING] 'dependencies.dependency.scope' for > com.adobe.flex.framework:halo:swc:theme must be one of [provided, compile, > runtime, test, system] but is 'theme'. @ line 88, column 11 What don't you understand when you read that warning message? Regards Thorsten
Re: Installation glitch!
Hi, I tried everything you suggested before I realized that I downloaded the source archive, not binary. So, it could hardly work. The binary distribution worked right-away. Thank you. -- View this message in context: http://maven.40175.n5.nabble.com/Installation-glitch-tp5130974p5281105.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