Stat-scm plugin 1.1.0
Hi, I want to generate my project's site. I'm using stat-scm plugin of net.sf version 1.1.0 to generate some SVN reports. After building my project (site:site) , stat-scm plugin generates some charts in ${myproject}/target/site/statscm folder and pages in {$myproject}/target/generated-site folder and in xml format (not in html). How can I configure stat-scm plugin to generate pages in html format not in xml and generate them in ${myproject}/target/site/statscm folder not in {$myproject}/target/generated-site folder. This is my reporting section in pom.xml .. org.apache.maven.plugins maven-javadoc-plugin 2.4 1.5 gr.spinellis.umlgraph.doclet.UmlGraphDoc gr.spinellis UmlGraph 4.4 -inferrel -inferdep -hide java.* -collpackages java.util.* -attributes -operations -enumerations -enumconstants -visibility org.apache.maven.plugins maven-jxr-plugin 2.1 org.apache.maven.plugins maven-surefire-report-plugin 2.4.3 org.codehaus.mojo taglist-maven-plugin 2.2 org.apache.maven.plugins maven-pmd-plugin 2.4 1.5 net.sf stat-scm 1.1.0 org.apache.maven.plugins maven-checkstyle-plugin 2.2 .. Thanks, Arsen -- View this message in context: http://www.nabble.com/Stat-scm-plugin-1.1.0-tp18354960p18354960.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: Cross project refactoring in Eclipse with maven integration
Michael McCallum-3 wrote: > > using m2eclipse you can install the snapshots and refresh deps... the > plugin will link the projects... you know because the dep shows a folder > instead of a jar > Actually you don't need to install snapshots to local repository as m2eclipse can resolve dependencies right from the Eclipse workspace as you described. You can find some more documentation about this feature at http://docs.codehaus.org/display/M2ECLIPSE/Dependency+Management regards, Eugene -- View this message in context: http://www.nabble.com/Cross-project-refactoring-in-Eclipse-with-maven-integration-tp18343423p18352862.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: classpath in jar manifest
On Wed, Jul 9, 2008 at 7:44 AM, Wayne Fay <[EMAIL PROTECTED]> wrote: > I suspect your problem is due to improper capitalization: >> >> resources/ >> > > I believe this should be . This is what I use: org.apache.maven.plugins maven-jar-plugin config/ fully.qualified.path.to.Main true lib/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cross project refactoring in Eclipse with maven integration
using m2eclipse you can install the snapshots and refresh deps... the plugin will link the projects... you know because the dep shows a folder instead of a jar On Wed, 09 Jul 2008 03:35:44 Smith, Stephen R wrote: > Now that I have maven handling my dependencies, how do I do cross > Eclipse project refactoring or references or declarations. When my > projects were linked, I could refactor a method in one project and > dependent projects would be modified as well. It seems that once the > project dependencies in the build path are converted into Maven > dependencies, workspace wide searching and refactoring is broken. > > Stephen Smith -- Michael McCallum Enterprise Engineer mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: classpath in jar manifest
I suspect your problem is due to improper capitalization: > > resources/ > I believe this should be . Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
assembly plugin includes duplicates
I have an assembly descriptor that looks like the following code. There are duplicate libraries in 'target/dependencies' and 'target/core-bl-template/unpack/lib'. This results in duplicate JARs being zipped up at xxx.zip/lib . Is there a way to prevent this? bin zip target/dependencies lib *.jar target/core-bl-template-unpack /
maven-jaxb-plugin 1.1
Hello, My maven project used to download all dependencies like a charm, but recently I hear complaints from people who start from scratch that the project fails to download the jaxb compiler: The pom for my plugin is downloaded but the jar itself seems to be missing. I get the following error: Trying repository java.net Downloading: http://download.java.net/maven/1//com.sun.tools.xjc.maven2/poms/maven-jaxb-plugin-1.1.pom 4K downloaded [DEBUG] Artifact resolved [DEBUG] Trying repository central Downloading: http://repo1.maven.org/maven2/com/sun/tools/xjc/maven2/maven-jaxb-plugin/1.1/maven-jaxb-plugin-1.1.jar [DEBUG] Unable to get resource 'com.sun.tools.xjc.maven2:maven-jaxb-plugin:maven-plugin:1.1' from repository central (http://repo1.maven.org/maven2) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=com.sun.tools.xjc.maven2 -DartifactId=maven-jaxb-plugin -Dversion=1.1 -Dpackaging=maven-plugin -Dfile=/path/to/file Here is my plugin definition com.sun.tools.xjc.maven2 maven-jaxb-plugin 1.1 generate-sources generate net.ndr.hits.jms.schema src/main/resources/xsd Thanks in advance for help. Jacques - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: a simple zip assembly
One problem I'm having is obtaining the initial template ZIP. I managed to deploy the template artifact, which is of type JAR. I don't care about the JAR, but it also deploys my ZIP. Apparently 'zip' isn't a valid package type. Now I want to unpack that to use in another project. I want to use it as an overlay the same way WARs work, but that doesn't seem like an option here so I'm using the dependency plugin. It only grabs the JAR from the template though, not the assembled ZIP. Any ideas? On Tue, Jul 8, 2008 at 2:57 PM, Kallin Nagelberg <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to build a simple distribution with the following layout: > > + > |---bin > |---libs > > There are some scripts in the bin folder that build a classpath using the > lib folder. It should be distributed as a ZIP. > > One caveat: Initially it is built as a template. That is, there is a core > artifact with all the basic libs/scripts required. Sub projects may wish to > add additional libraries/scripts. > > I've got some of this working using the assembly plugin, but I'm not sure > that's the right approach. > > Does anyone have suggestions as how this could be done smoothly? I noticed > for WARs it is easy to do this sort of templating due to the support of > 'overlays'. >
Re: Release Plugin:Perforce and ClientSpec
More Debug Log [INFO] Checking in modified POMs... [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce.liquid.com:1666 -u gpatwa -P ** submit -i [DEBUG] SCM path in pom: //geneva/redbridge/fulfiller [DEBUG] Executing: p4 -p perforce.liquid.com:1666 -u gpatwa -P ** where C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml [DEBUG] //geneva/redbridge/fulfiller/pom.xml //gpatwa/geneva/redbridge/fulfiller/pom.xml C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml [DEBUG] Actual POM location: //geneva/redbridge/fulfiller [DEBUG] Sending changelist: Change: new Description: [maven-release-plugin] prepare release fulfiller-0.1 Files: //geneva/redbridge/fulfiller/pom.xml //geneva/redbridge/fulfiller/application/pom.xml [DEBUG] Consuming: Change 106678 created with 2 open file(s). [DEBUG] Consuming: Submitting change 106678. [DEBUG] Consuming: Locking 2 files ... [DEBUG] Consuming: edit //geneva/redbridge/fulfiller/application/pom.xml#15 [DEBUG] Consuming: edit //geneva/redbridge/fulfiller/pom.xml#20 [DEBUG] Consuming: Change 106678 submitted. [DEBUG] Consuming: //geneva/redbridge/fulfiller/application/pom.xml#15 - refreshing [DEBUG] Consuming: //geneva/redbridge/fulfiller/pom.xml#20 - refreshing [INFO] Tagging release with the label fulfiller-0.1... [DEBUG] SCM path in pom: //geneva/redbridge/fulfiller [DEBUG] Executing: p4 -p perforce.liquid.com:1666 -u gpatwa -P ** where C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml [DEBUG] //geneva/redbridge/fulfiller/pom.xml //gpatwa/geneva/redbridge/fulfiller/pom.xml C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml [DEBUG] Actual POM location: //geneva/redbridge/fulfiller [DEBUG] Executing: p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce.liquid.com:1666 -u gpatwa -P ** label -i [DEBUG] LabelSpec: Label: fulfiller-0.1 View: //geneva/redbridge/fulfiller/... Owner: gpatwa Options: unlocked [DEBUG] Consuming: Label fulfiller-0.1 saved. [DEBUG] Executing: p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce.liquid.com:1666 -u gpatwa -P ** labelsync -l fulfiller-0.1 [DEBUG] Consuming: //geneva/redbridge/fulfiller/application/src/test/java/com/liquid/fulfiller/service/AMLiteServiceTest.java#3 - updated [DEBUG] Executing: p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce.liquid.com:1666 -u gpatwa -P ** label -i [DEBUG] LabelSpec: Label: fulfiller-0.1 View: //geneva/redbridge/fulfiller/... Owner: gpatwa Options: locked [DEBUG] Consuming: Label fulfiller-0.1 saved. [INFO] Transforming 'Redbridge Fulfiller Application'... [DEBUG] No SCM translator found - skipping rewrite [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce.liquid.com:1666 -u gpatwa -P ** edit pom.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Access is denied) [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Access is denied) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.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.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Acces
Re: classpath in jar manifest
Reporting your configuration here, since this list dumps all attachments. org.apache.maven.plugins maven-jar-plugin 2.2 ${project.build.finalName} false true com.afsilva.main.AppMainFrame true true resources/ What is the problem you are experiencing? afsilva wrote: Hi, My configuration is in the attached file. http://www.nabble.com/file/p18345472/pom.xml pom.xml Thanks for the response. Dennis Lundberg-2 wrote: What's your configuration? afsilva wrote: Hi this is an old message, I guess the problem is suposed to be solved. But the fact is that I'm observing the same strange behaviour with the 2.3 version of the maven archiver. Can anyone give me a hint about this? baerrach wrote: On 8/15/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: On 5/11/06, George Zhao <[EMAIL PROTECTED]> wrote: We saw the same issue here (two Class-Path entries). But if we set to false and put all the known classpath there, we can generate one Class-Path entry - not a pretty solution through. Anybody over there has other workaround for this issue(I believe it is a bug)? This appears to be fixed in the trunk of maven-jar-plugin. I'm not sure if the snapshot version has the fix in it. It wasn't until I installed a local build of the trunk that this problem went away. The fix is included maven-archiver-2.2-SNAPSHOT. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: explode EAR
This might help http://maven.apache.org/plugins/maven-ear-plugin/examples/unpacking-a-module.html Nicola Benaglia-3 wrote: > > Hi, > I like to obtain an exploded EAR directory instead of a packaged EAR. > How can I do that, please? > > Regards, > nic > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/explode-EAR-tp18343040p18347766.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: multiple WAR overlays
It seems like this should do the trick: http://maven.apache.org/plugins/maven-war-plugin/overlays.html On Tue, Jul 8, 2008 at 3:39 PM, Kallin Nagelberg <[EMAIL PROTECTED]> wrote: > I have an artifact which uses 2 wars as an overlay. > > I wonder if there's a way to choose which web.xml to use, or in general, > which one should take priority in the case of conflicts. >
multiple WAR overlays
I have an artifact which uses 2 wars as an overlay. I wonder if there's a way to choose which web.xml to use, or in general, which one should take priority in the case of conflicts.
Re: release plugin without SCM
The plugin at https://svn.dev.java.net/svn/hudson/branches/tom/plugins/staging/maven-stagingrelease-plugin/ has a set-version goal, which you could use to create your own release process. On Tue, Jul 8, 2008 at 5:57 PM, Kallin Nagelberg <[EMAIL PROTECTED]> wrote: > Is there a way to use the release plugin without invoking the SCM > activities? (I'm using SVN) > > The release plugin doesn't seem to be compatible with my project's branching > strategy for a number of reasons: > > 1) It seems to always want to release from the trunk. Sometimes we need to > release from branches. > 2.) Releasing a non-module nested component doesn't work. Say I have a > project in myproject/reports, and I just want to release reports. I'm > getting the error 'myproject/tags/reports-1.0' doesn't exist. > > I would be happy just using the deploy goal directly, but I can't because I > need to change the version of the project throughout multiple POMs. > > Any ideas? > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
a simple zip assembly
Hi, I'm trying to build a simple distribution with the following layout: + |---bin |---libs There are some scripts in the bin folder that build a classpath using the lib folder. It should be distributed as a ZIP. One caveat: Initially it is built as a template. That is, there is a core artifact with all the basic libs/scripts required. Sub projects may wish to add additional libraries/scripts. I've got some of this working using the assembly plugin, but I'm not sure that's the right approach. Does anyone have suggestions as how this could be done smoothly? I noticed for WARs it is easy to do this sort of templating due to the support of 'overlays'.
Re: Release Plugin:Perforce and ClientSpec
And even release:rollback fails [INFO] [release:rollback] [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce:1666 -u gpatwa -P ** edit pom.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error restoring from backup POM: Unable to open file C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml for writing. [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error restoring from backup POM: Unable to open file C:\gpatwa_perforce\geneva\redbridge\fulfi ller\pom.xml for writing. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.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.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error restoring from backup POM: Unable to open file C:\gpatwa_perforce\geneva\redbridge\fu lfiller\pom.xml for writing. at org.apache.maven.plugins.release.RollbackReleaseMojo.execute(RollbackReleaseMojo.java:53) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.shared.release.ReleaseExecutionException: Error restoring from backup POM: Unable to open file C:\gpatwa_perforce\geneva\r edbridge\fulfiller\pom.xml for writing. at org.apache.maven.shared.release.phase.RestoreBackupPomsPhase.restorePomBackup(RestoreBackupPomsPhase.java:135) at org.apache.maven.shared.release.phase.RestoreBackupPomsPhase.execute(RestoreBackupPomsPhase.java:69) at org.apache.maven.shared.release.DefaultReleaseManager.rollback(DefaultReleaseManager.java:248) at org.apache.maven.shared.release.DefaultReleaseManager.rollback(DefaultReleaseManager.java:225) at org.apache.maven.plugins.release.RollbackReleaseMojo.execute(RollbackReleaseMojo.java:49) ... 18 more Caused by: java.io.IOException: Unable to open file C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml for writing. at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:813) at org.apache.maven.shared.release.phase.RestoreBackupPomsPhase.restorePomBackup(RestoreBackupPomsPhase.java:131) Gopal Patwa wrote: > > I am using this relase plugin 2.0-beta-8-SNAPSHOT first time, When I did > dry run it fine but it fails in release:prepare Goal > > I tried this options from command line > > mvn -X release:prepare -Dusername=gpatwa -Dpassword=gpatwa > -Dmaven.scm.perforce.clientspec.name=gpatwa > > Interestingly event I specified client spec but from log it seem not using > it. > > [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p > perforce:1666 -u gpatwa -P > ** edit pom.xml > > Note: The C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml file exist > and its made read only by perforce when you check-in in files > > SCM tag in pom.xml: > > > scm:perforce:perforce:1666://geneva/redbridge/fulfiller > > scm:perforce:perforce:1666://geneva/redbridge/fulfiller > http://maven:8081//geneva/redbridge/fulfiller/ > > > Any help will be great! > > > [INFO] [release:prepare] > [INFO] Resuming release from phase 'rewrite-poms-for-development' > [INFO] Transforming 'Redbridge Fulfiller Application'... > [DEBUG] No SCM translator found
Release Plugin:Perforce and ClientSpec
I am using this relase plugin 2.0-beta-8-SNAPSHOT first time, When I did dry run it fine but it fails in release:prepare Goal I tried this options from command line mvn -X release:prepare -Dusername=gpatwa -Dpassword=gpatwa -Dmaven.scm.perforce.clientspec.name=gpatwa Interestingly event I specified client spec but from log it seem not using it. [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce:1666 -u gpatwa -P ** edit pom.xml Note: The C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml file exist and its made read only by perforce when you check-in in files Any help will be great! [INFO] [release:prepare] [INFO] Resuming release from phase 'rewrite-poms-for-development' [INFO] Transforming 'Redbridge Fulfiller Application'... [DEBUG] No SCM translator found - skipping rewrite [DEBUG] Executing p4 -d C:\gpatwa_perforce\geneva\redbridge\fulfiller -p perforce:1666 -u gpatwa -P ** edit pom.xml [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Access is denied) [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Access is de at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:224) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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(DelegatingMethodAccessorImpl.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.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Access is at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:162) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.shared.release.ReleaseExecutionException: Error writing POM: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml is denied) at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:689) at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.writePom(AbstractRewritePomsPhase.java:636) at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transformProject(AbstractRewritePomsPhase.java:199) at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.transform(AbstractRewritePomsPhase.java:116) at org.apache.maven.shared.release.phase.AbstractRewritePomsPhase.execute(AbstractRewritePomsPhase.java:99) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:194) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:131) at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:94) at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:158) ... 18 more Caused by: java.io.FileNotFoundException: C:\gpatwa_perforce\geneva\redbridge\fulfiller\pom.xml (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:179) -- View this message in context: http://www.nabble.com/Release-Plugin%3APerforce-and-ClientSpec-tp18346071p1
Re: classpath in jar manifest
Hi, My configuration is in the attached file. http://www.nabble.com/file/p18345472/pom.xml pom.xml Thanks for the response. Dennis Lundberg-2 wrote: > > What's your configuration? > > afsilva wrote: >> Hi >> >> this is an old message, I guess the problem is suposed to be solved. But >> the >> fact is that I'm observing the same strange behaviour with the 2.3 >> version >> of the maven archiver. >> >> Can anyone give me a hint about this? >> >> >> >> baerrach wrote: >>> On 8/15/06, Barrie Treloar <[EMAIL PROTECTED]> wrote: On 5/11/06, George Zhao <[EMAIL PROTECTED]> wrote: > We saw the same issue here (two Class-Path entries). > > But if we set to false and put all the known classpath there, > we can generate one Class-Path entry - not a pretty solution through. > > Anybody over there has other workaround for this issue(I believe it is a > bug)? This appears to be fixed in the trunk of maven-jar-plugin. I'm not sure if the snapshot version has the fix in it. It wasn't until I installed a local build of the trunk that this problem went away. >>> The fix is included maven-archiver-2.2-SNAPSHOT. >>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >> > > > -- > Dennis Lundberg > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/classpath-in-jar-manifest-tp4295266p18345472.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: release plugin without SCM
Maybe I should clarify: My project structure is like this: myproject +--module1 +--module2 +--nonmodule1 so the SVN path is something like http://svnserver/myproject/trunk. I happen to be working on a branch now, so i checked out from http://svnserver/myproject/branches/branch1. How would I go about releasing nonmodule1 off my branch? On Tue, Jul 8, 2008 at 11:57 AM, Kallin Nagelberg < [EMAIL PROTECTED]> wrote: > Is there a way to use the release plugin without invoking the SCM > activities? (I'm using SVN) > > The release plugin doesn't seem to be compatible with my project's > branching strategy for a number of reasons: > > 1) It seems to always want to release from the trunk. Sometimes we need to > release from branches. > 2.) Releasing a non-module nested component doesn't work. Say I have a > project in myproject/reports, and I just want to release reports. I'm > getting the error 'myproject/tags/reports-1.0' doesn't exist. > > I would be happy just using the deploy goal directly, but I can't because I > need to change the version of the project throughout multiple POMs. > > Any ideas? >
Re: Find artefact
Thank you very much matinh. I've finally got what I want. The problem was if an artifact is not located in the central repository then it takes more time as normally to search. I've thought that it is a closed loop and aborted the prozess. But in reality Maven has searched for the artifact. Now my problem is how can I do so that each plugin will be searched in the correct repository? Thanks beforehand, regards, buters matinh wrote: > > I don't know Artifactory, but see it's documentation how to add remote > repositories to it. This is a common task so it should be documented. > > If you are not using Artifactory, just add a entry to your > settings.xml [0] and Maven will find it if you specify the correct > artifactId/groupId/version. > > hth, > - martin > > [1] http://maven.apache.org/settings.html#Repositories > > > On 08 Jul 2008, buters wrote: > >> >> Sorry Matinh, >> >> it was a silly thing to do. Errors were because I'm using Artifactory >> with >> Tomcat and Tomcat was not started. Tomcat runs normally im background, >> but >> yesterday it didn't. >> >> Sorry and againg thank you. >> >> antlr.jar was a wrong example. But jbossall-client-4.2.2.GA.jar >> [0] >> http://repository.jboss.com/maven2/org/jboss/client/jbossall-client/4.2.2.GA/ >> doesn't exist in http://repo1.maven.org/maven2/ and MvnIndex cannot find >> it. >> >> If you know, how can I configure settings.xml or pom.xml, that this >> artifact >> can be automatically found without copying it from the jboss repository >> to >> my local one? >> >> Thanks beforehand, >> regards, buters >> >> >> >> matinh wrote: >> > >> > On 07 Jul 2008, buters wrote: >> > >> >> >> >> Thank you very much Martin, >> >> >> >> but this is not a solution. Some artifact with same artifactId can >> have a >> >> different grouId. >> > >> > That's true. But where's the problem? >> > >> >> The MvnIndexes idea is good, but e.g. >> >> >> >> antlr >> >> antlr >> >> 2.7.7 >> >> >> >> Maven doesn't want to accept it, though MvnIndex finds it. >> > >> > What do you mean by "not accept"? It's definitely there [0], that's why >> > mvnindex.org find it. What error message do you get? >> > >> > >> > - martin >> > >> > [0] http://repo1.maven.org/maven2/antlr/antlr/2.7.7/ >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Find-artefact-tp18306545p18334883.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] >> > > > > -- View this message in context: http://www.nabble.com/Find-artefact-tp18306545p18343484.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]
Cross project refactoring in Eclipse with maven integration
Now that I have maven handling my dependencies, how do I do cross Eclipse project refactoring or references or declarations. When my projects were linked, I could refactor a method in one project and dependent projects would be modified as well. It seems that once the project dependencies in the build path are converted into Maven dependencies, workspace wide searching and refactoring is broken. Stephen Smith
explode EAR
Hi, I like to obtain an exploded EAR directory instead of a packaged EAR. How can I do that, please? Regards, nic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
release plugin without SCM
Is there a way to use the release plugin without invoking the SCM activities? (I'm using SVN) The release plugin doesn't seem to be compatible with my project's branching strategy for a number of reasons: 1) It seems to always want to release from the trunk. Sometimes we need to release from branches. 2.) Releasing a non-module nested component doesn't work. Say I have a project in myproject/reports, and I just want to release reports. I'm getting the error 'myproject/tags/reports-1.0' doesn't exist. I would be happy just using the deploy goal directly, but I can't because I need to change the version of the project throughout multiple POMs. Any ideas?
Re: [m2] Jetty 6 Plugin does not recognize custom webapp source directory
Hi, I have the same issue. What if I have to make the jetty plugin aware of additional resources other than src/main/webapp Please let me know Adrian Herscu-2 wrote: > > Hi, > > What if I have an additional webapp source folder, like: > > > org.apache.maven.plugins > maven-war-plugin > > > >src-gen/main/webapp > > > > > > How can I tell Jetty to deploy this folder as well? > > TIA, > Adrian. > > Brett Porter wrote: >> Hi Matt, >> >> Check out the Jetty docs: >> http://jetty.mortbay.org/jetty6/maven-plugin/howto.html >> >> You can configure the web resources path. Unfortunately, we haven't >> enabled a mechanism for the war plugin to share its configuration. >> >> - Brett >> >> On 1/11/06, Matt Raible <[EMAIL PROTECTED]> wrote: >>> I decided to try Brett's Jetty 6 HowTo this morning: >>> >>> http://blogs.codehaus.org/people/brett/archives/001306_developing_with_jetty_where_have_you_been_all_my_life.html >>> >>> Unfortunately, it doesn't seem to work with my custom webapp source >>> directory. Here's my pom.xml: >>> >>> >>> maven-war-plugin >>> >>> web >>> >>> >>> >>> org.mortbay.jetty >>> maven-jetty6-plugin >>> >>> 10 >>> / >>> >>> >>> >>> [INFO] [jetty6:run] >>> [INFO] Configuring Jetty for project: Equinox >>> [INFO] >>> - >>> --- >>> [ERROR] BUILD ERROR >>> [INFO] >>> - >>> --- >>> [INFO] Webapp source directory C:\Source\equinox\src\main\webapp does >>> not exist >>> [INFO] >>> - >>> --- >>> [INFO] For more information, run Maven with the -e switch >>> [INFO] >>> - >>> --- >>> [INFO] Total time: 3 minutes 25 seconds >>> [INFO] Finished at: Tue Jan 10 07:40:45 MST 2006 >>> [INFO] Final Memory: 4M/8M >>> [INFO] >>> - >>> >>> Matt >>> >>> - >>> 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/-m2--Jetty-6-Plugin-does-not-recognize-custom-webapp-source-directory-tp2300888p18342181.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]
gmaven classloading issues
I'm encountering some really strange classloading issues with the gmaven plugin. I am executing it to generate some sources for a project of mine, and the script I wrote calls some classes in a dependency. I get all sorts of exceptions saying classnotfound. I debugged it, and found that the parent classloader had my dependencies, but not the current one. Does anyone know a way to fix this?
question about scm:tag
Hi, I am using scm:tag to create tag. I am running this command maven scm:tag -Dmaven.scm.tag=RELEASE_121 -Dmaven.scm.message=jiranumber -Dmaven.scm.username=xyz -Dmaven.scm.password=xyz This command is failing due to pre-commit hook. We have a pre-commit hook to add jira number as a comment while tagging. For some reason the jiranumber -Dmaven.scm.message=jiranumber is not appearing in the final command. Is this ignored? Command line: svn --username xyz --password xyz --non-interactive copy --file C:\DOCUME~1\D137242\LOCALS~1\Temp\maven-scm-1608315512.commit . http://.RELEASE_121 I am using following version. __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 I would appreciate if someone can throw some light on this. Thanks, Sachin Mahajan IB - EIS Instrument and Static Data ( GDP: 308 2611 * Group Email: IB - EIS Instrument and Static Data ( Direct Line: +91 22 3085 2611 * External Email: [EMAIL PROTECTED] § EIS Wiki Post: 11th Floor, Prizm Towers – B wing, Mind Space, Malad (West), Mumbai - 400064 - This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities.
RE: Lock down of plugin versions
>What you're saying sounds reasonable, I agree. Still waiting for >Enforcer 1.0 release to take advantage of requirePluginVersions, >though :-) Any updates, Brian? No, sorry. I am unable to replicate the issue I saw once at a customer site, so I might just move forward with another beta release. >Whenever version ranges were mentioned in >Mavenland it stated that a plain version was a recommendation, while a >plain version surrounded by brackets was a requirement ("locked down" >version). From my tiny experiment here, and people's responses, I take >it that just a plain version will achieve what I want for plugins. This is true for dependencies because of the transitivity. Plugins are not transitive in the same way, so there's no need for ranges...in fact I'm not sure what happens if you use a range for a plugin, never thought about it before. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Class resources in a maven archetype
> "PL" == Phillip Lord <[EMAIL PROTECTED]> writes: PL> I've been trying to create a maven archetype. The problem that I am PL> having is that I am using a class resource. So, for example, if I have a PL> artifact.xml which looks like this PL> PL> archetype-r-tool PL> src/main/java/RAverageProcessor.java PL> PL> src/test/java/RAverageProcessorTest.java PL> PL> src/main/resources/averageR.r PL> PL> PL> RAverageProcessor.java (and the test) gets moved to a directory which PL> depends on the groupId given when the archetype is used. On the other PL> hand averageR.r doesn't; it stays resolutely in the root directory. PL> Which breaks projects build on this archetype because RAverageProcessor PL> loads averageR.r as a class resource. PL> So it has to be in the same directory... PL> Can anyone tell me how I move this resource according to the group id? In case anyone else has this problem, I poked around and eventually came up with a solution. Instead of using archetype.xml (which I misnamed artifact.xml in the first email), you can use archetype-metadata.xml (which rather confusingly contains XML with outer tag archetype-descriptor). This allows you to turn packaging on or off as you want. Here's the equivalent file. Hope this helps someone. Phil src/main/java **/*.java src/test/java **/*.java src/main/resources **/*.r - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jaxws-maven-plugin failure on non Sun SDK
Hi to all, We still get errors with jaxws-maven-plugin when were using a non Sun JDK. DEBUG] jaxws:wsgen args: [-d, C:\workspace\slib-ws-core-service\target\classes, -cp, C:\workspace\slib-ws-core-service\target\classes;c:\maven-repository\com\sun\xml\ws\jaxws-rt\2.1.4\jaxws-rt-2.1.4.jar;c:\maven-repository\javax\xml\ws\jaxws-api\2.1\jaxws-api-2.1.jar;c:\maven-repository\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;c:\maven-repository\javax\xml\stream\stax-api\1.0\stax-api-1.0.jar;c:\maven-repository\javax\activation\activation\1.1\activation-1.1.jar;c:\maven-repository\javax\xml\soap\saaj-api\1.3\saaj-api-1.3.jar;c:\maven-repository\javax\annotation\jsr250-api\1.0\jsr250-api-1.0.jar;c:\maven-repository\javax\jws\jsr181-api\1.0-MR1\jsr181-api-1.0-MR1.jar;c:\maven-repository\com\sun\xml\bind\jaxb-impl\2.1.7\jaxb-impl-2.1.7.jar;c:\maven-repository\com\sun\xml\messaging\saaj\saaj-impl\1.3.1\saaj-impl-1.3.1.jar;c:\maven-repository\com\sun\xml\stream\buffer\streambuffer\0.7\streambuffer-0.7.jar;c:\maven-repository\org\jvnet\staxex\stax-ex\1.2\stax-ex-1.2.jar;c:\maven-repository\com\sun\xml\stream\sjsxp\1.0.1\sjsxp-1.0.1.jar;c:\maven-repository\com\sun\org\apache\xml\internal\resolver\20050927\resolver-20050927.jar;c:\maven-repository\org\jvnet\mimepull\1.2\mimepull-1.2.jar;c:\maven-repository\fr\slib\sx\canopee\slib-sx-canopee\2.0.0\slib-sx-canopee-2.0.0.pom;c:\maven-repository\fr\slib\sx\canopee\slib-jutils\2.0.0-9\slib-jutils-2.0.0-9.jar;c:\maven-repository\quartz\quartz\1.5.2\quartz-1.5.2.jar;c:\maven-repository\fr\slib\sx\canopee\slib-erable-framework\2.0.0-9\slib-erable-framework-2.0.0-9.jar;c:\maven-repository\com\sun\xml\ws\jaxws-tools\2.1.3\jaxws-tools-2.1.3.jar;c:\maven-repository\com\sun\xml\ws\jaxws-rt\2.1.3\jaxws-rt-2.1.3.jar;c:\maven-repository\javax\xml\ws\jaxws-api\2.1\jaxws-api-2.1.jar;c:\maven-repository\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;c:\maven-repository\javax\xml\stream\stax-api\1.0\stax-api-1.0.jar;c:\maven-repository\javax\activation\activation\1.1\activation-1.1.jar;c:\maven-repository\javax\xml\soap\saaj-api\1.3\saaj-api-1.3.jar;c:\maven-repository\javax\annotation\jsr250-api\1.0\jsr250-api-1.0.jar;c:\maven-repository\javax\jws\jsr181-api\1.0-MR1\jsr181-api-1.0-MR1.jar;c:\maven-repository\com\sun\xml\bind\jaxb-impl\2.1.6\jaxb-impl-2.1.6.jar;c:\maven-repository\com\sun\xml\messaging\saaj\saaj-impl\1.3\saaj-impl-1.3.jar;c:\maven-repository\com\sun\xml\stream\buffer\streambuffer\0.7\streambuffer-0.7.jar;c:\maven-repository\org\jvnet\staxex\stax-ex\1.2\stax-ex-1.2.jar;c:\maven-repository\com\sun\xml\stream\sjsxp\1.0\sjsxp-1.0.jar;c:\maven-repository\com\sun\org\apache\xml\internal\resolver\20050927\resolver-20050927.jar;c:\maven-repository\org\jvnet\mimepull\1.1\mimepull-1.1.jar;c:\maven-repository\com\sun\xml\bind\jaxb-xjc\2.1.6\jaxb-xjc-2.1.6.jar;c:\maven-repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\maven\lib\maven-2.0.9-uber.jar;C:\maven\lib\maven-2.0.9-uber.jar, -wsdl, -r, C:\workspace\slib-ws-core-service\target\classes\fr\slib\xylos\ws\resources\wsdl, fr.slib.xylos.ws.service.CoreService] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to execute wsgen Embedded error: com.sun.tools.apt.Main [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute wsgen at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) 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.codehau
assembly:assembly does not generate Main-class in MANIFEST.MF
Hello Maven gurus and users, I have a pom.xml to generate an executable jar-with-dependencies. The pom.xml creates everything expected except the MANIFEST.MF with Main-class: defined. The executable jar will work but I have to unjar the jar to a temporary directory, edit the MANIFEST.MF for the Main-class: definition and then re-jar. The element content follows along with the MANIFEST.MF it generates. Any and all ideas and suggestions welcomed. TIA and please advise, David. ** Expected MANIFEST.MF ** Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: 1.5.0_15-b04 (Sun Microsystems Inc.) Main-class: com.fds.ar.apps.util.fileupload.XSFileUploadApp.XSFileUploadApp * Generated MANIFEST.MF * Manifest-Version: 1.0 Archiver-Version: Plexus Archiver Created-By: 1.5.0_15-b04 (Sun Microsystems Inc.) pom.xml maven-assembly-plugin jar-with-dependencies com.fds.ar.apps.util.fileupload.XSFileUploadApp.XSFileUploadApp com.fds.ar.apps.util.fileupload.XSFileUploadApp true Yet some, not wise, go to the other side of the globe, to barbarous and unhealthy regions, and devote ten or twenty years, in that they may live,-that is, keep comfortably warm,- and die in New England at last. Henry David Thoreau - Walden - 1845 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ci notifiers
On Tue, Jul 8, 2008 at 1:58 AM, John Coleman <[EMAIL PROTECTED]> wrote: > Is it possible only to get notifications of release builds and filter > out notifications of snapshot builds? > > I guess this might even be a continuum questions. Subscription info for the Continuum mailing lists can be found here: http://continuum.apache.org/mail-lists.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ignore missing web.xml war plugin
Unfortunately, I don't think that it's possible at the moment. But we are looking for the same feature (war overlay also). For the moment we have to create a basic web.xml. I haven't look if an issue is loading or not for this feature. Rémy
RE: Building for different environments - how do _you_ do it?
Hi EJ, Have you managed with the item you listed? Sorry for the delay but here is the answer on your question. Environment configuration file is in xml format. I use modello for getting for once readers and writes and xml schema for xml file I use. For having inheritance mechanism I simply use wrapper class which reads everything required for particular deployment and gets properties from different nodes. Properties can contian as values and as variables which points to another property. After this properties are parsed for variables and they changed on the values. If you are interested then here is the structure of the environment file I use here in the company. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 4:44 PM To: Maven Users List Subject: RE: Building for different environments - how do _you_ do it? How do you do the inheritance though, that's the part I'm missing. -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 9:42 AM To: Maven Users List Subject: RE: Building for different environments - how do _you_ do it? I have configuration inheritance mechanism allowing to specify the setting as environment one and use it across different applications using variable pointing to the specified before setting, so when you need to change database url you need to change only in one place and during customization phase the variable will be parsed with the value from environment setting. Best regards, Juri. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 4:25 PM To: Maven Users List Subject: RE: Building for different environments - how do _you_ do it? Right, we're doing the same exact thing. Initially, we'd build a zip containing the vanilla ear/war combo, then generate a zip containing all the processed resources PER machine (as the appserver config has to be different here per app server). So that was very time consuming, so what I did was write a m2 plugin that looks at a set of profiles and generated an xml properties file (value) and that was used to parse a set of templates. This too takes quite a while. CC starts maven, runs some command, copies over the resulting xml file, stops the process - all can take 5 - 7 min per machine. Factor 70 or 80 machines and you get the picture. The final result was to pre-generate the property files. The part of this equation that I'm struggling with (as it seems everyone is doing some variation of the above bits) is when standalone module A and standalone module B need to both connect to the same database. We have maybe a dozen modules like this and it's nightmarish to think of updating 12 different locations with the same DB connection string. How do you share a variable like this without resorting to making the build server's settings.xml file widely available? -Original Message- From: Artamonov, Juri [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 8:54 AM To: Maven Users List Subject: RE: Building for different environments - how do _you_ do it? Here in the company I'm working for I created the model allowing to us to be flexible across environments settings. If in short then: 1. We produce every time only single general artifact and not environment specific, let's say war file. 2. Then we need to deploy it on different environments and for this I created environment configuration file which is descriptor of the environment. 3. Environment descriptor contains information about general settings which belong to this environment, about servers and their settings that are on this environment and about applications and their settings that are on these servers. 4. In the same time every produced artifact contains its own descriptor and contains for example default values for settings if any. 5. Another item in this model is the tool I named installer which takes produced artifact and environment descriptor as a input and produce customization where as a result you have artifacts specific for the server on certain environment. If it's required it also can be deployed using the same application. So, we have general artifact as build result with its own component descriptor, self-explained environment descriptor for each environment and application which perform actions with the artifacts on specified environment using provided environment descriptor. Best regards, Juri. -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2008 9:15 PM To: users@maven.apache.org Subject: Building for different en
Re: Find artefact
I don't know Artifactory, but see it's documentation how to add remote repositories to it. This is a common task so it should be documented. If you are not using Artifactory, just add a entry to your settings.xml [0] and Maven will find it if you specify the correct artifactId/groupId/version. hth, - martin [1] http://maven.apache.org/settings.html#Repositories On 08 Jul 2008, buters wrote: > > Sorry Matinh, > > it was a silly thing to do. Errors were because I'm using Artifactory with > Tomcat and Tomcat was not started. Tomcat runs normally im background, but > yesterday it didn't. > > Sorry and againg thank you. > > antlr.jar was a wrong example. But jbossall-client-4.2.2.GA.jar > [0] > http://repository.jboss.com/maven2/org/jboss/client/jbossall-client/4.2.2.GA/ > doesn't exist in http://repo1.maven.org/maven2/ and MvnIndex cannot find it. > > If you know, how can I configure settings.xml or pom.xml, that this artifact > can be automatically found without copying it from the jboss repository to > my local one? > > Thanks beforehand, > regards, buters > > > > matinh wrote: > > > > On 07 Jul 2008, buters wrote: > > > >> > >> Thank you very much Martin, > >> > >> but this is not a solution. Some artifact with same artifactId can have a > >> different grouId. > > > > That's true. But where's the problem? > > > >> The MvnIndexes idea is good, but e.g. > >> > >>antlr > >>antlr > >>2.7.7 > >> > >> Maven doesn't want to accept it, though MvnIndex finds it. > > > > What do you mean by "not accept"? It's definitely there [0], that's why > > mvnindex.org find it. What error message do you get? > > > > > > - martin > > > > [0] http://repo1.maven.org/maven2/antlr/antlr/2.7.7/ > > > > > > > > -- > View this message in context: > http://www.nabble.com/Find-artefact-tp18306545p18334883.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] > signature.asc Description: PGP signature
Re: Find artefact
Sorry Matinh, it was a silly thing to do. Errors were because I'm using Artifactory with Tomcat and Tomcat was not started. Tomcat runs normally im background, but yesterday it didn't. Sorry and againg thank you. antlr.jar was a wrong example. But jbossall-client-4.2.2.GA.jar [0] http://repository.jboss.com/maven2/org/jboss/client/jbossall-client/4.2.2.GA/ doesn't exist in http://repo1.maven.org/maven2/ and MvnIndex cannot find it. If you know, how can I configure settings.xml or pom.xml, that this artifact can be automatically found without copying it from the jboss repository to my local one? Thanks beforehand, regards, buters matinh wrote: > > On 07 Jul 2008, buters wrote: > >> >> Thank you very much Martin, >> >> but this is not a solution. Some artifact with same artifactId can have a >> different grouId. > > That's true. But where's the problem? > >> The MvnIndexes idea is good, but e.g. >> >> antlr >> antlr >> 2.7.7 >> >> Maven doesn't want to accept it, though MvnIndex finds it. > > What do you mean by "not accept"? It's definitely there [0], that's why > mvnindex.org find it. What error message do you get? > > > - martin > > [0] http://repo1.maven.org/maven2/antlr/antlr/2.7.7/ > > > -- View this message in context: http://www.nabble.com/Find-artefact-tp18306545p18334883.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]
ci notifiers
Hi, Is it possible only to get notifications of release builds and filter out notifications of snapshot builds? I guess this might even be a continuum questions. TIA John Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Site Plugin 2.0-beta-7 Released
> > I put it in JIRA so it won't be forgotten: > http://jira.codehaus.org/browse/MPLUGIN-124 > Handsome ! > So, if I understand, the site goal of the maven-site-plugin is a build >> mojo. >> My bad, I though that it was a reporting mojo. >> > > > Yes, it is a build plugin. But it's easy to think of it as reporting plugin > by mistake, because it assembles the reports from the reporting plugins. Exactly, it was my error. Thanks, Rémy