[jira] Commented: (MNG-2941) Sometime SNAPSHOTs can not be downloaded in an an online build
[ http://jira.codehaus.org/browse/MNG-2941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92340 ] Anita Kulshreshtha commented on MNG-2941: - It will be nice if maven could distinguish between a non-existent SNAPSHOT and an 'updated' SNAPSHOT. In a project like geronimo being able to download a single new SNAPSHOT without updating all the other existing SNAPSHOTs is very useful. > Sometime SNAPSHOTs can not be downloaded in an an online build > -- > > Key: MNG-2941 > URL: http://jira.codehaus.org/browse/MNG-2941 > Project: Maven 2 > Issue Type: Bug >Affects Versions: 2.0.5 > Environment: All >Reporter: Anita Kulshreshtha > > When an offline build fails because a SNPSHOT was not available locally, > the SNAPSHOT can not be downloaded during a subsequent online build. During > the offline build a file maven-metadata-apache-snpshots.xml (with the > following contents in this example) is created in .m2 repo: > > org.apache.geronimo.genesis > genesis > 1.2-SNAPSHOT > >All subsequent online builds fail to download this artifact from the > repository with error message given below. After deleting the metadata file > corresponding to the repository in which this artifact is available > (maven-metadata-apache-snpshots.xml file in this example) , the artifact can > be downloaded successfully. > This trace can be produced by any SNAPSHOT in any project, the following > steps are for geronimo: > 1. Delete the above SNAPSHOT from the local repo. > 2. Build geronimo offlne, the build will fail. > 3. Build online, the following message will be generated. > 4. Delete the above metadata file, and build online, the SNAPSHOT will get > downloaded successfully. > [INFO] Scanning for projects... > Downloading: > http://people.apache.org/repo/m2-snapshot-repository/org/apache/ger > onimo/genesis/genesis/1.2-SNAPSHOT/genesis-1.2-SNAPSHOT.pom > [WARNING] Unable to get resource > 'org.apache.geronimo.genesis:genesis:pom:1.2-SN > APSHOT' from repository apache-snapshots > (http://people.apache.org/repo/m2-snaps > hot-repository) > Downloading: > http://snapshots.repository.codehaus.org/org/apache/geronimo/genesi > s/genesis/1.2-SNAPSHOT/genesis-1.2-SNAPSHOT.pom > [WARNING] Unable to get resource > 'org.apache.geronimo.genesis:genesis:pom:1.2-SN > APSHOT' from repository codehaus-snapshots > (http://snapshots.repository.codehaus > .org) > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] Failed to resolve artifact. > GroupId: org.apache.geronimo.genesis > ArtifactId: genesis > Version: 1.2-SNAPSHOT > Reason: Unable to download the artifact from any repository > org.apache.geronimo.genesis:genesis:pom:1.2-SNAPSHOT > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository), > codehaus-snapshots (http://snapshots.repository.codehaus.org), > apache-incubator (http://people.apache.org/repo/m2-incubating-repository/), > tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository) > [INFO] > > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Cannot find parent: > org.apache > .geronimo.genesis:genesis for project: > org.apache.geronimo.genesis.config:config > :pom:null > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find > parent > : org.apache.geronimo.genesis:genesis for project: > org.apache.geronimo.genesis.c > onfig:config:pom:null > at > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D > efaultMavenProjectBuilder.java:1198) > at > org.
[jira] Created: (MNG-2941) Sometime SNAPSHOTs can not be downloaded in an an online build
Sometime SNAPSHOTs can not be downloaded in an an online build -- Key: MNG-2941 URL: http://jira.codehaus.org/browse/MNG-2941 Project: Maven 2 Issue Type: Bug Affects Versions: 2.0.5 Environment: All Reporter: Anita Kulshreshtha When an offline build fails because a SNPSHOT was not available locally, the SNAPSHOT can not be downloaded during a subsequent online build. During the offline build a file maven-metadata-apache-snpshots.xml (with the following contents in this example) is created in .m2 repo: org.apache.geronimo.genesis genesis 1.2-SNAPSHOT All subsequent online builds fail to download this artifact from the repository with error message given below. After deleting the metadata file corresponding to the repository in which this artifact is available (maven-metadata-apache-snpshots.xml file in this example) , the artifact can be downloaded successfully. This trace can be produced by any SNAPSHOT in any project, the following steps are for geronimo: 1. Delete the above SNAPSHOT from the local repo. 2. Build geronimo offlne, the build will fail. 3. Build online, the following message will be generated. 4. Delete the above metadata file, and build online, the SNAPSHOT will get downloaded successfully. [INFO] Scanning for projects... Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/ger onimo/genesis/genesis/1.2-SNAPSHOT/genesis-1.2-SNAPSHOT.pom [WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2-SN APSHOT' from repository apache-snapshots (http://people.apache.org/repo/m2-snaps hot-repository) Downloading: http://snapshots.repository.codehaus.org/org/apache/geronimo/genesi s/genesis/1.2-SNAPSHOT/genesis-1.2-SNAPSHOT.pom [WARNING] Unable to get resource 'org.apache.geronimo.genesis:genesis:pom:1.2-SN APSHOT' from repository codehaus-snapshots (http://snapshots.repository.codehaus .org) [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.geronimo.genesis ArtifactId: genesis Version: 1.2-SNAPSHOT Reason: Unable to download the artifact from any repository org.apache.geronimo.genesis:genesis:pom:1.2-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository), codehaus-snapshots (http://snapshots.repository.codehaus.org), apache-incubator (http://people.apache.org/repo/m2-incubating-repository/), tomcat-m2-repo (http://tomcat.apache.org/dev/dist/m2-repository) [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache .geronimo.genesis:genesis for project: org.apache.geronimo.genesis.config:config :pom:null at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:373) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:286) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent : org.apache.geronimo.genesis:genesis for project: org.apache.geronimo.genesis.c onfig:config:pom:null at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D efaultMavenProjectBuilder.java:1198) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D efaultMavenProjectBuilder.java:1214) at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D efaultMavenProjectBuilder.java:1214) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def aultMavenProjectBuilder.java:697) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi leInternal(DefaultMavenProjectBuilder.java:431) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave nProjectBuilder.java:195) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:523) at org.apache.maven.Def
[jira] Commented: (MRAR-10) Excluding pom.xml and pom.properties files from the generated rar
[ http://jira.codehaus.org/browse/MRAR-10?page=comments#action_67818 ] Anita Kulshreshtha commented on MRAR-10: Thanks Brett! > Excluding pom.xml and pom.properties files from the generated rar > - > > Key: MRAR-10 > URL: http://jira.codehaus.org/browse/MRAR-10 > Project: Maven 2.x Rar Plugin > Type: Wish > Environment: All > Reporter: Anita Kulshreshtha > Assignee: Brett Porter > > > It would be nice to be able to exclude pom.xml and pom.properties files from > the generated rar. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MWAR-49) Excluding pom.xml and pom.properties files from the war
[ http://jira.codehaus.org/browse/MWAR-49?page=comments#action_67797 ] Anita Kulshreshtha commented on MWAR-49: THANKS! Brett. I was looking for the configuration information here : http://maven.apache.org/plugins/maven-war-plugin/howto.html > Excluding pom.xml and pom.properties files from the war > --- > > Key: MWAR-49 > URL: http://jira.codehaus.org/browse/MWAR-49 > Project: Maven 2.x War Plugin > Type: Wish > Environment: All > Reporter: Anita Kulshreshtha > Assignee: Brett Porter > > > It would be nice to be able to exclude pom.xml and pom.properties files from > the generated war. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MNG-2395) Naming the attached artifact
Naming the attached artifact Key: MNG-2395 URL: http://jira.codehaus.org/browse/MNG-2395 Project: Maven 2 Type: Wish Environment: All Reporter: Anita Kulshreshtha Currently an attached artifact is named as ${artifactId}-${version}-classifier.type by projectHelper.attachArtifact(project, type, classifier, aFile); It would be nice to be able to name the artifact as ${artifactId}-classifier-${version}.type just like everything else in M2 repository. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MPWAR-59) Excluding pom.xml and pom.properties files from the war
Excluding pom.xml and pom.properties files from the war --- Key: MPWAR-59 URL: http://jira.codehaus.org/browse/MPWAR-59 Project: maven-war-plugin Type: Wish Environment: All Reporter: Anita Kulshreshtha It would be nice to be able to exclude pom.xml and pom.properties files from the generated war. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MRAR-10) Excluding pom.xml and pom.properties files from the generated rar
Excluding pom.xml and pom.properties files from the generated rar - Key: MRAR-10 URL: http://jira.codehaus.org/browse/MRAR-10 Project: Maven 2.x Rar Plugin Type: Wish Environment: All Reporter: Anita Kulshreshtha It would be nice to be able to exclude pom.xml and pom.properties files from the generated rar. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MSUREFIRE-78) forkMode=once or pertest does not work on windows
[ http://jira.codehaus.org/browse/MSUREFIRE-78?page=comments#action_61174 ] Anita Kulshreshtha commented on MSUREFIRE-78: - I have read through the comments on surefire-30. It is clear to me that I need to use surefire-booter-2.0.jar. As of today maven-surefire-plugin-2.1.3-SNAPSHOT downloads surefire-booter-1.5.3-SNAPSHOT. see http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-surefire-plugin/pom.xml?view=markup I do not reference the surefire-booter directly. Am I supposed to create my own version of surefire-plugin which download the correct jar. > forkMode=once or pertest does not work on windows > - > > Key: MSUREFIRE-78 > URL: http://jira.codehaus.org/browse/MSUREFIRE-78 > Project: Maven 2.x Surefire Plugin > Type: Bug > Environment: Win Xp > Reporter: Anita Kulshreshtha > Assignee: Brett Porter > > > I am building a simple HelloWorldTest.java. The test builds fine with 'mvn > test'. When I use 'mvn -DforkMode=once test', > I get BUILD ERROR. The surefire-reports directory is not created. One of the > 3 files left behind in the target directory is > surefire-classloader.properties. Its contents are : > #classpath entries > #Wed Mar 15 08:09:47 EST 2006 > childDelegation=true > classpath=D\:\\x\\geronimo\\build\\geronimo-m2\\modules\\kernel\\target\\test-classes\:D\:\\x\\geronimo\\build\\geronimo-m2\\modules\\kernel\\target\\classes\:C\:\\Documents > and > Settings\\User\\.m2\\repository\\junit\\junit\\3.8.1\\junit-3.8.1.jar\:C\:\\Documents > and > Settings\\User\\.m2\\repository\\org\\apache\\maven\\maven-plugin-api\\2.0\\maven-plugin-api-2.0.jar\:C\:\\Documents > and > Settings\\User\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire\\1.5.3-SNAPSHOT\\surefire-1.5.3-SNAPSHOT.jar >It uses ':' as a path separator. This issue was discusses earlier in > Msurefire-76 and closed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MSUREFIRE-78) forkMode=once or pertest does not work on windows
forkMode=once or pertest does not work on windows - Key: MSUREFIRE-78 URL: http://jira.codehaus.org/browse/MSUREFIRE-78 Project: Maven 2.x Surefire Plugin Type: Bug Environment: Win Xp Reporter: Anita Kulshreshtha I am building a simple HelloWorldTest.java. The test builds fine with 'mvn test'. When I use 'mvn -DforkMode=once test', I get BUILD ERROR. The surefire-reports directory is not created. One of the 3 files left behind in the target directory is surefire-classloader.properties. Its contents are : #classpath entries #Wed Mar 15 08:09:47 EST 2006 childDelegation=true classpath=D\:\\x\\geronimo\\build\\geronimo-m2\\modules\\kernel\\target\\test-classes\:D\:\\x\\geronimo\\build\\geronimo-m2\\modules\\kernel\\target\\classes\:C\:\\Documents and Settings\\User\\.m2\\repository\\junit\\junit\\3.8.1\\junit-3.8.1.jar\:C\:\\Documents and Settings\\User\\.m2\\repository\\org\\apache\\maven\\maven-plugin-api\\2.0\\maven-plugin-api-2.0.jar\:C\:\\Documents and Settings\\User\\.m2\\repository\\org\\apache\\maven\\surefire\\surefire\\1.5.3-SNAPSHOT\\surefire-1.5.3-SNAPSHOT.jar It uses ':' as a path separator. This issue was discusses earlier in Msurefire-76 and closed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira