Return-Path: Delivered-To: apmail-incubator-uima-user-archive@minotaur.apache.org Received: (qmail 60945 invoked from network); 2 Dec 2009 05:26:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Dec 2009 05:26:23 -0000 Received: (qmail 61643 invoked by uid 500); 2 Dec 2009 05:26:23 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 61493 invoked by uid 500); 2 Dec 2009 05:26:21 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 61478 invoked by uid 99); 2 Dec 2009 05:26:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 05:26:20 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msa@schor.com designates 69.93.164.14 as permitted sender) Received: from [69.93.164.14] (HELO gateway06.websitewelcome.com) (69.93.164.14) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Dec 2009 05:26:17 +0000 Received: (qmail 6486 invoked from network); 2 Dec 2009 05:44:09 -0000 Received: from gator74.hostgator.com (67.18.27.130) by gateway06.websitewelcome.com with SMTP; 2 Dec 2009 05:44:09 -0000 Received: from ool-44c6c63b.dyn.optonline.net ([68.198.198.59]:19215 helo=[192.168.1.100]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NFhis-0002oZ-D2 for uima-user@incubator.apache.org; Tue, 01 Dec 2009 23:25:54 -0600 Message-ID: <4B15FA64.6040703@schor.com> Date: Wed, 02 Dec 2009 00:25:56 -0500 From: Marshall Schor User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: Re: PEAR Packaging Maven Plugin References: <7444f22f0911301044q27523fd6pd3d998954d22f1c8@mail.gmail.com> <4B144249.3000101@schor.com> <7444f22f0912011342k5a9bfb6bm509ac4a80cd6f370@mail.gmail.com> In-Reply-To: <7444f22f0912011342k5a9bfb6bm509ac4a80cd6f370@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator74.hostgator.com X-AntiAbuse: Original Domain - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com Hi William, William Colen wrote: > Hi, Marshall, > > Thanks for pointing where to find the documentation. Now I could move a > little bit more. > Now I have other issues. > > 1. I tried to perform a mvn install in PearPackagingMavenPlugin source but > got the following error: > > java.lang.NullPointerException: The scm url cannot be null. > I've never seen that message. I don't know what causes it... A quick web-search found this message with maven - 1 - but I presume you're using the latest Maven or something close to that, right? What source did you use (e.g., 2.2.2 source distribution, the current SVN / trunk or tag?)? > at > org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractScmManager.java:181) > at > org.codehaus.mojo.build.CreateMojo.getScmRepository(CreateMojo.java:722) > at org.codehaus.mojo.build.CreateMojo.getScmBranch(CreateMojo.java:593) > at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:452) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > 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: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) > > 2. After that I tried to use the compiled version, but I got another error: > [INFO] Internal error in the plugin manager executing goal > 'org.apache.uima:PearPackagingMavenPlugin:2.2.2-incubating:package': Unable > to find the mojo > 'org.apache.uima:PearPackagingMavenPlugin:2.2.2-incubating:package' in the > plugin 'org.apache.uima:PearPackagingMavenPlugin' > org/apache/uima/pear/tools/PackageCreatorException > I've never seen this error, either... Which compiled version did you install? Did you install it to your local maven repository? Do you have your maven set up to search the apache incubator repository (located at http://people.apache.org/repo/m2-incubating-repository) for needed uima dependencies? Sorry not to be more helpful... -Marshall > Do you know what I'm missing? > > Thank you, > William > > > On Mon, Nov 30, 2009 at 8:08 PM, Marshall Schor wrote: > > >> William Colen wrote: >> >>> Is the PEAR Packaging Maven Plugin working? >>> >> I think so. We're using the 2.3.0 (not yet released version) to build >> things for the 2.3.0 upcoming release. >> >>> Couldn't access the >>> documentation at >>> http://incubator.apache.org/uima/sandbox.html#pear.maven.task >>> >> The link is broken, as you have observed (not sure it ever was >> working...). It looks like the documentation build for this is not >> saved in SVN, but it is available as part of the binary download for it >> (it is included in the 2.2.2 Sandbox distribution release, available >> from here: >> >> http://incubator.apache.org/uima/downloads.cgi#Latest%20Official%20Releases >> >> Go to the part of the page labeled: UIMA Annotator Addons & Simple >> Server & Pear packaging tools to get it. >> >> >>> , also couldn't >>> make it work using the usage example at >>> http://incubator.apache.org/uima/doc-uima-pears.html >>> >>> >> Can you say what is going wrong? >> >> >> >>> Thanks, >>> William >>> >>> >>> > >