Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
Hi, On Wed, May 12, 2010 at 11:15 PM, Ludovic Claude ludovic.cla...@laposte.net wrote: Can you put your work-in-progress online somewhere? I can help you more with the code. I think that a solution to your problem is to use the substitution rules: add a file called debian/maven.rules, and put this line in it: * maven-surefire-plugin maven-plugin s/.*/2.4.3/ is the bug still unresolved? Is the title really correct? Cheers, Torsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
On Fri, Apr 30, 2010 at 1:52 AM, Torsten Werner twer...@debian.org wrote: Hi Onkar, On Wed, Apr 14, 2010 at 5:08 PM, Onkar Shinde onkarshi...@ubuntu.com wrote: I think the problem here is that surefire plugin does not have any 'debian' version in maven repository (only 2.4.3 version). yes, that is a limitation of the plugin handling. We do not a default debian version. Is there any solution to this problem I am facing. Without solution I can not move forward with struts2 packaging. Onkar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
Onkar, Can you put your work-in-progress online somewhere? I can help you more with the code. I think that a solution to your problem is to use the substitution rules: add a file called debian/maven.rules, and put this line in it: * maven-surefire-plugin maven-plugin s/.*/2.4.3/ Hope this helps, Ludovic On 05/12/2010 03:18 PM, Onkar Shinde wrote: On Fri, Apr 30, 2010 at 1:52 AM, Torsten Wernertwer...@debian.org wrote: Hi Onkar, On Wed, Apr 14, 2010 at 5:08 PM, Onkar Shindeonkarshi...@ubuntu.com wrote: I think the problem here is that surefire plugin does not have any 'debian' version in maven repository (only 2.4.3 version). yes, that is a limitation of the plugin handling. We do not a default debian version. Is there any solution to this problem I am facing. Without solution I can not move forward with struts2 packaging. Onkar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
Hi Onkar, On Wed, Apr 14, 2010 at 5:08 PM, Onkar Shinde onkarshi...@ubuntu.com wrote: I think the problem here is that surefire plugin does not have any 'debian' version in maven repository (only 2.4.3 version). yes, that is a limitation of the plugin handling. We do not a default debian version. Torsten -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
On Wed, Apr 14, 2010 at 2:24 AM, Ludovic Claude ludovic.cla...@laposte.net wrote: Hi Onkar, First, try to get the latest versions of those 2 packages from Debian. There are also some new versions of related packages, I remember that there was maven-javadoc-plugin, maven-site-plugin, all doxia packages and maybe a few others. If you can synchronize them on Ubuntu Lucid, that would be great. I am working on Debian testing installation. So I have recent version of most packages except those which have not migrated to testing. Sync to Lucid does not seem to be possible at this point. We are just one day away from final freeze and some packages may need feature freeze exceptions. Second, to build the packaging for a Maven project, use mh_make on the sources, it will locate all the dependencies and create most of the debian files for you. I will try this way and report back. Onkar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
On Wed, Apr 14, 2010 at 11:44 AM, Onkar Shinde onkarshi...@ubuntu.com wrote: snip Second, to build the packaging for a Maven project, use mh_make on the sources, it will locate all the dependencies and create most of the debian files for you. I will try this way and report back. /snip mh_make did not work for me because pom.xml file is not in root directory of the source. Filed bug 577783 for that. So I created minimal packaging files manually and used maven.mk in debian/rules. Also I had to specify pom.xml file in src/core directory as the main pom.xml file in src/ is giving me some other problem. This does not solve my problem. I still get same error when building package with pbuilder. Please note that libsurefire-java is installed as build dependency. *** NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] [INFO] Building Struts 2 Core [INFO]task-segment: [package] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-surefire-plugin Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin *** I think the problem here is that surefire plugin does not have any 'debian' version in maven repository (only 2.4.3 version). $ find /usr/share/maven-repo/org/apache/maven/plugins/maven-surefire-plugin/ -name *.pom /usr/share/maven-repo/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom Compare this will following. $ find /usr/share/maven-repo/org/apache/maven/surefire/surefire/ -name *.pom /usr/share/maven-repo/org/apache/maven/surefire/surefire/debian/surefire-debian.pom /usr/share/maven-repo/org/apache/maven/surefire/surefire/2.4.3/surefire-2.4.3.pom Onkar -- Passion - Some people climb mountains - others write Free software. Don't ask why - the reason is the same. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
Package: libsurefire-java Version: 2.4.3-3 Severity: important I am working packaging struts2 from source. While doing a test build I faced problem where maven-surefire-plugin is not detected by mvn-debian. Following is the debug output. on...@ibook:~/Desktop/struts-2.1.8/src$ mvn-debian -e -f core/pom.xml skip faking of existing javax.servlet:servlet-api::2.4 skip faking of existing jaxen:jaxen::debian + Error stacktraces are turned on. [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] [INFO] Building Struts 2 Core [INFO]task-segment: [install] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-surefire-plugin Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-surefire-plugin': POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1557) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1851) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1275) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at org.debian.maven.Wrapper.main(Wrapper.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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.InvalidPluginException: Unable to build project for plugin 'org.apache.maven.plugins:maven-surefire-plugin': POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:293) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:205) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:184) at org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultPluginManager.java:1642) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1540) ... 20 more Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin at
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
Hi Onkar, Can you give me the versions of maven2 and maven-debian-helper? Also, have you tried building your package with the maven.mk CDBS scripts? mvn-debian is not maintained and should be removed. Ludovic Onkar Shinde a écrit : Package: libsurefire-java Version: 2.4.3-3 Severity: important I am working packaging struts2 from source. While doing a test build I faced problem where maven-surefire-plugin is not detected by mvn-debian. Following is the debug output. on...@ibook:~/Desktop/struts-2.1.8/src$ mvn-debian -e -f core/pom.xml skip faking of existing javax.servlet:servlet-api::2.4 skip faking of existing jaxen:jaxen::debian + Error stacktraces are turned on. [INFO] NOTE: Maven is executing in offline mode. Any artifacts not already in your local repository will be inaccessible. [INFO] Scanning for projects... [INFO] [INFO] Building Struts 2 Core [INFO]task-segment: [install] [INFO] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-surefire-plugin Reason: POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Unable to build project for plugin 'org.apache.maven.plugins:maven-surefire-plugin': POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1557) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1851) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1275) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at org.debian.maven.Wrapper.main(Wrapper.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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.InvalidPluginException: Unable to build project for plugin 'org.apache.maven.plugins:maven-surefire-plugin': POM 'org.apache.maven.plugins:maven-surefire-plugin' not found in repository: System is offline. org.apache.maven.plugins:maven-surefire-plugin:pom:2.3 for project org.apache.maven.plugins:maven-surefire-plugin at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(DefaultPluginManager.java:293) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:205) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:184) at org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultPluginManager.java:1642) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1540) ... 20 more Caused by:
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
On Wed, Apr 14, 2010 at 1:05 AM, Ludovic Claude ludovic.cla...@laposte.net wrote: Hi Onkar, Can you give me the versions of maven2 and maven-debian-helper? maven2 - 2.2.1-2 maven-debian-helper - 0.9 Also, have you tried building your package with the maven.mk CDBS scripts? mvn-debian is not maintained and should be removed. I haven't actually started the packaging. I was just doing a test build to check if all the build dependencies are available in repository. That is why I used mvn-debian. Onkar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#577704: libsurefire-java: maven-surefire-plugin not detected by mvn-debian
Hi Onkar, First, try to get the latest versions of those 2 packages from Debian. There are also some new versions of related packages, I remember that there was maven-javadoc-plugin, maven-site-plugin, all doxia packages and maybe a few others. If you can synchronize them on Ubuntu Lucid, that would be great. Second, to build the packaging for a Maven project, use mh_make on the sources, it will locate all the dependencies and create most of the debian files for you. Cheers, Ludovic Onkar Shinde a écrit : On Wed, Apr 14, 2010 at 1:05 AM, Ludovic Claude ludovic.cla...@laposte.net wrote: Hi Onkar, Can you give me the versions of maven2 and maven-debian-helper? maven2 - 2.2.1-2 maven-debian-helper - 0.9 Also, have you tried building your package with the maven.mk CDBS scripts? mvn-debian is not maintained and should be removed. I haven't actually started the packaging. I was just doing a test build to check if all the build dependencies are available in repository. That is why I used mvn-debian. Onkar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org