I just tried building freehep-rmic-plugin at home with freshly downloaded Maven 2.0.5. I did not delete my local repo, but build succeeded. The behavior seems indeterministic. I guess some artifacts from some repos are causing trouble. Cleaning local repo for build to succeed is a crime, well at least it should deserve a parking ticket.

-Borut


Mark Donszelmann wrote:
Hi

we have seen the same problem on other projects (of freehep). Cleaning the local
repository always helped, but is a strange (and sometimes long) solution.

Regards
Mark Donszelmann

On Feb 19, 2007, at 12:54 AM, Tim Kettler wrote:

Hi,

works for me. I just built it with a clean local repository and all
artifacts where downloaded correctly.

Perhaps a repository server was busy and a connection timed out or there
was some other kind of connection problem?

-Tim

Am Montag, den 19.02.2007, 09:31 +0100 schrieb Borut Bolčina:
Hello,

after downloading from
svn checkout svn://svn.freehep.org/svn/freehep/trunk/maven-plugins/freehep-rmic-plugin freehep-rmic-plugin

and issuing
mvn clean package

I get

C:\Documents and Settings\borutb\Desktop\rmi\freehep-rmic-plugin>mvn
clean package
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO]
----------------------------------------------------------------------------
[INFO] Building FreeHEP RMIC Maven Plugin
[INFO]    task-segment: [clean, package]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for updates from freehep-maven
[INFO] snapshot
org.apache.maven.plugins:maven-clean-plugin:2.1.1-SNAPSHOT: checking
for updates from central
[INFO] snapshot
org.apache.maven.plugins:maven-clean-plugin:2.1.1-SNAPSHOT: checking
for updates from freehep-maven
[INFO] [clean:clean]
[INFO] Deleting directory C:\Documents and Settings\borutb\Desktop\rmi
\freehep-rmic-plugin\target
[INFO] Deleting directory C:\Documents and Settings\borutb\Desktop\rmi
\freehep-rmic-plugin\target\classes
[INFO] Deleting directory C:\Documents and Settings\borutb\Desktop\rmi
\freehep-rmic-plugin\target\test-classes
[INFO] Deleting directory C:\Documents and Settings\borutb\Desktop\rmi
\freehep-rmic-plugin\target\site
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does
not exist or no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Mon Feb 19 09:26:05 CET 2007
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------

C:\Documents and Settings\borutb\Desktop\rmi\freehep-rmic-plugin>


How can I build RMI plugin?

Regards,
Borut


On 11.9.2006 20:42, Mark Donszelmann wrote:
Hi

feel free to use ours at:

http://java.freehep.org/freehep-rmic-plugin/

Regards
Mark Donszelmann

On Sep 8, 2006, at 6:52 AM, Ruel Loehr wrote:

The bad thing about this way of doing it is that it is not
portable.  E.g. macs don't have a tools.jar.

Ruel Loehr
JBoss, a division of Red Hat
QA

-----------------------------
512-342-7840 ext 2011
Yahoo: ruelloehr
Skype: ruelloehr
AOL: dokoruel

-----Original Message-----
From: Borut Bolčina [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 8:47 AM
To: Maven Users List
Subject: Re: rmic plugin

Use ant task like this:

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.0-beta-5</version>
        <configuration>
          <inputEncoding>utf-8</inputEncoding>
          <outputEncoding>utf-8</outputEncoding>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
           <id>process-classes-rmic</id> <!-- needs to be unique
among
executions -->
           <phase>process-classes</phase>
           <configuration>
             <tasks>
               <echo>Running RMIC</echo>
               <rmic base="${project.build.directory}/classes"
                     classpathref="maven.compile.classpath"

classname="com.your.class.to.be.RMICompiled" />
             </tasks>
           </configuration>
           <goals>
             <goal>run</goal>
           </goals>
         </execution>
        </executions>
        <dependencies>
            <dependency>
                <groupId>com.sun</groupId>
                <artifactId>tools</artifactId>
                <scope>system</scope>
                <version>1.5</version>

<systemPath>${java.home}/../lib/tools.jar</systemPath>
            </dependency>
        </dependencies>
      </plugin>
    </plugins>
  </build>

Then simply invoke mvn package for example.

Cheers,
Borut

2006/9/8, Israel Alvarez <[EMAIL PROTECTED]>:

Hi
I´d like to know if a rmic plugin for Maven2 exists and if there
is some
documentation about it. I´ve been looking for it but I didn't
find
anything.
Thanks

_________________________________________________________________
Descarga gratis la Barra de Herramientas de MSN

http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date:
9/8/2006


--No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date:
9/8/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--bbLOG


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to