RE: [m2] BUILD ERROR maven-changelog-plugin does not exist - Read your email
Jens, This is the third time I have responded to your exact same email. Does it not work? If not, give us more information. - Tom -Original Message- From: Lageson,Thomas M Sent: Wednesday, January 24, 2007 3:31 PM To: Maven Users List Subject: RE: [m2] BUILD ERROR maven-changelog-plugin does not exist Below is my response from last Friday to your original question. - Tom -Original Message- From: Lageson,Thomas M Sent: Friday, January 19, 2007 8:41 AM To: Maven Users List Subject: RE: [m2] BUILD ERROR maven-changelog-plugin does not exist Put this in the pom.xml. ... apache.snapshots http://people.apache.org/maven-snapshot-repository/ In the reporting section of your pom.xml: ... ... org.apache.maven.plugins maven-changelog-plugin 2.0-SNAPSHOT That worked for me. Apparently the changelog plugin has not been released which is why it is not in the main maven repository. - Tom -Original Message- From: Riboe, Jens [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 8:30 AM To: Maven Users List Subject: [m2] BUILD ERROR maven-changelog-plugin does not exist I got this error, what is wrong? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found [INFO] I have this configuration org.apache.maven.plugins maven-changelog-plugin range 90 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/19/07, 09:41:11. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/24/07, 16:30:46. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/26/07
RE: [m2] BUILD ERROR maven-changelog-plugin does not exist
Below is my response from last Friday to your original question. - Tom -Original Message- From: Lageson,Thomas M Sent: Friday, January 19, 2007 8:41 AM To: Maven Users List Subject: RE: [m2] BUILD ERROR maven-changelog-plugin does not exist Put this in the pom.xml. ... apache.snapshots http://people.apache.org/maven-snapshot-repository/ In the reporting section of your pom.xml: ... ... org.apache.maven.plugins maven-changelog-plugin 2.0-SNAPSHOT That worked for me. Apparently the changelog plugin has not been released which is why it is not in the main maven repository. - Tom -Original Message- From: Riboe, Jens [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 8:30 AM To: Maven Users List Subject: [m2] BUILD ERROR maven-changelog-plugin does not exist I got this error, what is wrong? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found [INFO] I have this configuration org.apache.maven.plugins maven-changelog-plugin range 90 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/19/07, 09:41:11. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/24/07, 16:30:46. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2, Junit 4.1 - Test names
I have Maven 2 working with Junit 4.1 using the surefire 2.3-SNAPSHOT. The only thing that isn't working as expected is that the test classes need to have a name that ends in Test (e.g. MyAppTest.java). Having names like MyAppTest1.java or MyApp.java means that Maven can't seem to recognize that as a test class. Junit 4.1 doesn't have this requirement or expectation for the test name. Are other people seeing this behavior? - Tom == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/22/07, 14:14:45. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] BUILD ERROR maven-changelog-plugin does not exist
Put this in the pom.xml. ... apache.snapshots http://people.apache.org/maven-snapshot-repository/ In the reporting section of your pom.xml: ... ... org.apache.maven.plugins maven-changelog-plugin 2.0-SNAPSHOT That worked for me. Apparently the changelog plugin has not been released which is why it is not in the main maven repository. - Tom -Original Message- From: Riboe, Jens [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 8:30 AM To: Maven Users List Subject: [m2] BUILD ERROR maven-changelog-plugin does not exist I got this error, what is wrong? [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-changelog-plugin' does not exist or no valid version could be found [INFO] I have this configuration org.apache.maven.plugins maven-changelog-plugin range 90 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/19/07, 09:41:11. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: M2 & Junit4.1: Problems using the 2.3 Snapshot of maven-surefire-plugin
lasspath: c:\mavenrepository\org\codehau s\plexus\plexus-utils\1.1\plexus-utils-1.1.jar [DEBUG] Adding to surefire booter test classpath: c:\mavenrepository\org\apache\ maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar [DEBUG] dummy:dummy:jar:1.0 (selected for null) [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire-providers::2.0 for project: null:surefire-junit:jar:2.0 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.0 for proje ct: null:surefire-providers:pom:null from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org .apache.maven.surefire:surefire:pom:2.0 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.mave n:maven-parent:pom:1 from the repository. [DEBUG] org.apache.maven.surefire:surefire-junit:jar:2.0 (selected for null) [DEBUG] org.apache.maven.surefire:surefire-api:jar:2.0:compile (selected for compile) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:compile (selected for com pile) [DEBUG] junit:junit:jar:3.8.1:compile (selected for compile) [DEBUG] Adding to surefire test classpath: c:\mavenrepository\junit\junit\3.8.1\ junit-3.8.1.jar [DEBUG] Adding to surefire test classpath: c:\mavenrepository\org\apache\maven\s urefire\surefire-junit\2.0\surefire-junit-2.0.jar [DEBUG] Adding to surefire test classpath: c:\mavenrepository\org\apache\maven\s urefire\surefire-api\2.0\surefire-api-2.0.jar [DEBUG] Adding to surefire test classpath: c:\mavenrepository\org\codehaus\plexu s\plexus-utils\1.1\plexus-utils-1.1.jar [DEBUG] Test Classpath : [DEBUG] C:\IBMRAD70\myworkspace\TestJavaJunit4\target\classes [DEBUG] C:\IBMRAD70\myworkspace\TestJavaJunit4\target\test-classes [DEBUG] c:\mavenrepository\junit\junit\4.1\junit-4.1.jar [DEBUG] Setting system property [localRepository]=[c:/mavenrepository] [DEBUG] Setting system property [basedir]=[C:\IBMRAD70\myworkspace\TestJavaJunit 4] [INFO] Surefire report directory: C:\IBMRAD70\myworkspace\TestJavaJunit4\target\ surefire-reports Forking command line: java -enableassertions -classpath c:\mavenrepository\org\a pache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;c:\mavenrepos itory\or g\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;c:\mavenreposito ry\org\a pache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar org.apache.mave n.surefire.booter.SurefireBooter C:\DOCUME~1\tlageson\LOCALS~1\Temp\surefire2862 2tmp C:\DOCUME~1\tlageson\LOCALS~1\Temp\surefire28623tmp --- T E S T S --- Running com.lageson.sample.MyAppTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Wed Jan 10 11:49:24 CST 2007 [INFO] Final Memory: 3M/6M [INFO] C:\IBMRAD70\myworkspace\TestJavaJunit4> -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 10:09 AM To: Maven Users List Subject: Re: M2 & Junit4.1: Problems using the 2.3 Snapshot of maven-surefire-plugin Can you run with -X to see if the junit4 provider is being used ? Tom On 1/10/07, Lageson,Thomas M <[EMAIL PROTECTED]> wrote: > I have noticed a couple of things in my testing of the 2.3 Snapshot of > the maven-surefire-plugin when going against JUnit 4.1 with Maven2. > > > > 1)It does not recognize the setup (@Before annotation). > > 2) It did not recognize test method names (@Test annotation) > that didn't have a method name beginning with test (according to the > Junit docs, the method names no longer have to be named > test. > > 3) It only runs one test file. I have tried forking. No > matter what I try, simply running "mvn clean test" will only run one > test file. Running "mvn clean test > -Dtest=MyAppTest,MyAppTest1,MyAppTest2" will run all three tests. I > expected that "mvn clean test" would run all the tests in the project. > > > > Any ideas, obvious things I am overlooking? > > > > Thanks. > > > > My pom.xml is: > > http://maven.apache.org/POM/4.0.0"; > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/maven-v4_0_0.xsd";> > > 4.0.0 > > com.lageson.sample > > TestJavaJunit4 > > jar > > 1.0-SNAPSHOT
M2 & Junit4.1: Problems using the 2.3 Snapshot of maven-surefire-plugin
I have noticed a couple of things in my testing of the 2.3 Snapshot of the maven-surefire-plugin when going against JUnit 4.1 with Maven2. 1)It does not recognize the setup (@Before annotation). 2) It did not recognize test method names (@Test annotation) that didn't have a method name beginning with test (according to the Junit docs, the method names no longer have to be named test. 3) It only runs one test file. I have tried forking. No matter what I try, simply running "mvn clean test" will only run one test file. Running "mvn clean test -Dtest=MyAppTest,MyAppTest1,MyAppTest2" will run all three tests. I expected that "mvn clean test" would run all the tests in the project. Any ideas, obvious things I am overlooking? Thanks. My pom.xml is: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 com.lageson.sample TestJavaJunit4 jar 1.0-SNAPSHOT TestJavaJunit4 http://maven.apache.org junit junit 4.1 test org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 org.apache.maven.plugins maven-surefire-plugin 1.5 1.5 -enableassertions My output is: C:\IBMRAD70\myworkspace\TestJavaJunit4>mvn clean test [INFO] Scanning for projects... [INFO] - --- [INFO] Building TestJavaJunit4 [INFO]task-segment: [clean, test] [INFO] - --- [INFO] [clean:clean] [INFO] Deleting directory C:\IBMRAD70\myworkspace\TestJavaJunit4\target [INFO] Deleting directory C:\IBMRAD70\myworkspace\TestJavaJunit4\target\classes [INFO] Deleting directory C:\IBMRAD70\myworkspace\TestJavaJunit4\target\test-cla sses [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 1 source file to C:\IBMRAD70\myworkspace\TestJavaJunit4\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 3 source files to C:\IBMRAD70\myworkspace\TestJavaJunit4\target\test-c lasses [INFO] [surefire:test] [INFO] Surefire report directory: C:\IBMRAD70\myworkspace\TestJavaJunit4\target\ surefire-reports --- T E S T S --- Running com.lageson.sample.MyAppTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec Results : Tests run: 3, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Wed Jan 10 09:50:46 CST 2007 [INFO] Final Memory: 4M/7M [INFO] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/10/07, 10:56:23.
ubjerjar and security certs - help needed?
I am using the uberjar plugin to generate my runnable jar. However, my code makes calls to the code in sunjce_provider.jar, US_export_policy.jar and local_policy.jar. I am getting the following error (abbreviated): ...ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.security.PrivilegedActionException <>... I have tried putting the cacerts, javapolicy and javasecurity files such that they are included in the final ubjerjar, but I can't seem to get around the error. How can I get my uberjar to find the certs when I run it? Your help is appreciated. Thank you. - Tom == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/31/2005, 06:01:00 PM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why install-snapshot and not just install?
Why did the designers of Maven setup a different goal for installing a snapshot (install-snapshot)? Couldn't they have read the version to see if it was equal to "snapshot" and simply done the additional logic needed for snapshots? Any workarounds out there that essentially do that? Or am I missing something more fundamental about how it works? Thanks for your help. - Tom == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 01/28/2005, 05:11:57 PM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven with ClearCase - Anyone using this combo?
I am using Maven 1.0 with ClearCase LT. Basically I have a maven.xml in the root project that has the following code in it: This goes and gets the LATEST from the main branch according to the config spec file. How do I AUTOMATICALLY get a previous version (or label) other than LATEST using Maven (i.e. without modifying the config_spec file by hand prior to running Maven)? Is there a better integration with ClearCase than using a preGoal? How are people doing integration with ClearCase? Thanks for your help. - Tom == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 12/08/2004, 05:25:50 PM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven generated EAR :java.lang.NoClassDefFoundError: com/ibm/ejs/container/EJSWrapperBase
The com/ibm/ejs/* classes are the ibm generated classes that you get when you generate the ejb classes from within WSAD. Unless you actually store those generated files within your scm they won't be available. Maven doesn't know how to generate them. I ended up storing the generated ejb files in our scm. You could also look at the WebSphere plugin to see if that will work for you. When comparing the two ears, check closely to make sure the actual com/ibm/ejs/* classes are actually included in the Maven generated ear. - Tom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 4:35 AM To: [EMAIL PROTECTED] Subject: Maven generated EAR :java.lang.NoClassDefFoundError: com/ibm/ejs/container/EJSWrapperBase I'm getting one of those , when I try to install the Maven generated ear on my appserver.If I generate the ear using WSAD i do not get the same error and the application runs smoothly. I've compared the Class-Path: entry in my ejb projects MANIFEST.MF files for the maven generated ear and the WSAD one , and they all look the same. Any ideas? Jeff Registered Linux user number 366042 This e-mail is intended exclusively for the addressee. If you are not the addressee you must not read, copy, use or disclose the e-mail nor the content; please notify us immediately (by clicking "Reply") and delete this e-mail. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 10/15/2004, 09:35:54 AM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
javac compile errors output
My company has an in-house developed build and deploy process based around Maven. Our web site uses a windows script file (.wsf) to call the Maven process. The relevant lines are executeMaven="maven.bat -d " & mavenPath & " " & goal oShell.Exec(executeMaven) We have encountered a case of when there are java compile errors, rather than putting the output of the javac to the log file as expected, the wsf process hangs. The last line is always the line Java:compile: [javac] Compiling 35 source files to How can I get the compile errors output to be picked up in the oShell.Exec process so it gets routed to the log file? Is there a property that I need to set somewhere (maven.bat, java-plugin, etc.)? Thanks for your help. - Tom == This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system. == The St. Paul Travelers e-mail system made this annotation on 09/16/2004, 01:23:59 PM. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]