directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot" ...@marcelot.net>
Subject Re: Studio Maven Build
Date Thu, 13 Dec 2007 15:41:44 GMT
Hi Guys,

Sorry for the delay in answering, I was quite occupied lately.

I got an error when trying out the mavenized build.

Here's what I've done:
I've cleaned my local maven repo ($ rm -rf ~/.m2)
I've run 'mvn clean install' on the latest update of the ApacheDS trunk
And then the following commands:
$ svn co https://svn.apache.org/repos/asf/directory/sandbox/felixk/StudioMavenized
$ cd StudioMavenized/studio-plugin
$ mvn install

Here's what I get:
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Apache Directory Studio Plugin
[INFO]    task-segment: [clean]
[INFO]
----------------------------------------------------------------------------
[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=org.apache.directory.studio-DartifactId=maven-studio-plugin
\
        -Dversion=1.0-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file


  org.apache.directory.studio:maven-studio-plugin:maven-plugin:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.apache.directory.studio:maven-studio-plugin:maven-plugin:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu Dec 13 15:59:26 CET 2007
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------

Am I missing something?

Thanks,
Pierre-Arnaud


On Dec 12, 2007 9:06 AM, Felix Knecht <felixk@apache.org> wrote:

> Stefan Seelmann schrieb:
> > Hi Felix,
> >
> > Felix Knecht schrieb:
> >
> >
> >> I do now have some strange effects (but I do have them with the ant/ivy
> build as well):
> >>
> >> - Do a checkout (trunk/sandbox)
> >> - Build the necessary eclipse stuff (ant resolve/mvn eclipse:clean
> studio:clean eclipse:eclipse studio:eclipse)
> >> - Import the projects to eclipse
> >> - Change in eclipse to the studio-ldapbrowser-ui project
> >> - Open the plugin.xml and 'Launch an Eclipse application in Debug
> mode'.
> >>
> >> I need several tries until I get the app running without popping up any
> errors. The strange thing is that every time I
> >> launch the application I get less errors (then I cancel the start)
> until all errors are gone. I do have this behaviour
> >> for both builds (ant / mvn). Is this normal?
> >>
> >>
> >
> > No, I don't have these problems. Now your maven build works very fine
> > for me :-)
> >
>
> Sounds good :-).
>
> Do you think this is a way we can follow to complete the maven-build for
> the studio?
>
> > I do the following now:
> > - Do a checkout from your sandbox
> > - mvn eclipse:clean studio:clean eclipse:eclipse studio:eclipse
> > - Delete the .project file in the root directory (otherwise the eclipse
> > importer only finds the maven-studio project)
> > - Launching the Eclipse application
> >
> > What are the error messages you get? Do you have any error messages in
> > the "Problems view"?
> >
> > What you could check is the target platform and plugins: Go to
> > Window->Preferences->Plug-in Development->Target Platform. Choose the
> > target platform, either Eclipse 3.2 or 3.3. Ensure to deselect all
> > "org.apache.directory" plugins that are installed in the target
> platform.
> >
> >
>
> I'll try this as soon as I find some time at home. Thanks for hints.
>
> Felix
>
>

Mime
View raw message