camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: SCA Integration
Date Thu, 02 Apr 2009 03:26:43 GMT
You can add the maven plugin snapshot repository into the example
pom.xml like this

  <pluginRepositories>
    <pluginRepository>
      <id>apache.snapshot</id>
      <name>Apache Softe Foundation Snapshot Repository</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </pluginRepository>
  </pluginRepositories>

Willem


Zhang,Dafang wrote:
> Thanks again for your prompt response.  I tried "mvn clean install -Dtest=false", it
worked fine, but "mvn eclipse:eclipse" failed.  My question was how to have mvn to point to
snapshotRepository ($snapshot-repo-url property), which is pointing to "scpexe://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository"
from the pom.xml in the camel root.
> 
> Dafang
> 
> -----Original Message-----
> From: Willem Jiang [mailto:willem.jiang@gmail.com] 
> Sent: Wednesday, April 01, 2009 9:57 PM
> To: users@camel.apache.org
> Subject: Re: SCA Integration
> 
> Hi,
> 
> It is because you just checked out the camel trunk code, and its current
> version is 2.0-SNAPSHOT. If you get the camel 2.0-m1's example code, you
> should run the build without any issue ;).
> 
> You will walk around this issue, if you run "mvn clean install
> -Dtest=false" from the root of the camel trunk.
> 
> 
> Willem
> 
> Zhang,Dafang wrote:
>> Hi, Willem, 
>>
>> Thanks for your reply and the pointers!  I checked out the camel source tree, but
got the following error from many camel example projects when I ran "mvn eclipse:eclipse"
from the command line.  If I comment out the <version> element for camel-maven-plugin
in the particular example projects, I can pass the error.  I checked the maven POM spec[1],
"The repository elements will be used for snapshot distribution if the snapshotRepository
is not defined", but in this case, snapshotRepository element is defined in the camel parent
POM, but just not recognized.  Any ideas why the release repository is used for the snapshot
built?
>>
>> =====================================================================================
>> Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
>> e/camel/guice-maven-plugin/2.0-SNAPSHOT/guice-maven-plugin-2.0-SNAPSHOT.jar
>> [INFO] ------------------------------------------------------------------------
>> [ERROR] BUILD FAILURE
>> [INFO] ------------------------------------------------------------------------
>> [INFO] A required plugin was not found: Plugin could not be found - check that t
>> he goal name is correct: Unable to download the artifact from any repository
>> ======================================================================================
>>
>> [1] http://maven.apache.org/pom.html#Repository
>>
>> Dafang
>>
>> -----Original Message-----
>> From: Willem Jiang [mailto:willem.jiang@gmail.com] 
>> Sent: Wednesday, April 01, 2009 1:10 AM
>> To: users@camel.apache.org
>> Subject: Re: SCA Integration
>>
>> Hi,
>>
>> Sorry, we don't have any SCA relates component in Camel.
>> And We love contributions[1], please feel free to add SCA component[2]
>> if you want to use it in Camel.
>>
>> [1]http://cwiki.apache.org/CAMEL/contributing.html
>> [2]http://camel.apache.org/writing-components.html
>>
>> Willem
>>
>>
>> Zhang,Dafang wrote:
>>> Hi, SCA is listed from the front page of Apache Camel, but unlike other technologies,
SCA doesn't have an link.  Is there any work done in this area, say, integration with Tuscany?
 Thanks.
>>>
>>> ----------------------------------------------------------------------
>>> CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner
Corporation and are intended only for the addressee. The information contained in this message
is confidential and may constitute inside or non-public information under international, federal,
or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use
of such information is strictly prohibited and may be unlawful. If you are not the addressee,
please promptly delete this message and notify the sender of the delivery error by e-mail
or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
>>>
>>
> 
> 


Mime
View raw message