Re: The Future of OSGi & Maven

2009-03-17 Thread Georgy Bolyuba
There is a comment [1] by Igor on [2]:

   > Henri, Tycho already discovers OSGi dependencies from bundle manifest.

Does this mean that dependencies can be osgi-bundles? Where can one
find more information about it?

All I am able to find on Maven + OSGi is how to build osgi-bundle.

Thank you,
Georgy

--
[1] 
http://www.sonatype.com/people/2009/03/the-future-of-maven-osgi-join-the-tycho-users-mailing-list/#IDComment16693066
[2] 
http://www.sonatype.com/people/2009/03/the-future-of-maven-osgi-join-the-tycho-users-mailing-list/

On Mon, Mar 9, 2009 at 7:16 PM, Jason van Zyl  wrote:
> The Tycho toolchain which is by far the most advanced set of tools for
> dealing with OSGi natively in Maven has a new mailing list and there's a
> blog entry describing some of the things we're working on.
>
> The demo that we planned for EclipseCon is mostly working and we should have
> it fully worked out over the next week. The demo is building m2eclipse with
> Tycho, publishing to Nexus and installing Eclipse + m2eclipse from the
> Update Manager in Eclipse by pointing it at Nexus. We think that's pretty
> cool :-)
>
> http://www.sonatype.com/people/2009/03/the-future-of-maven-osgi-join-the-tycho-users-mailing-list/
>
> Thanks,
>
> Jason
>
> --
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> --
>
> Selfish deeds are the shortest path to self destruction.
>
> -- The Seven Samuari, Akira Kurosawa
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [vote] release mercury-1.0.0-alpha-4

2009-02-03 Thread Georgy Bolyuba
On Tue, Feb 3, 2009 at 4:20 AM, Oleg Gusakov
 wrote:

> I guess, I phrased my question incorrectly: maven trunk depends on mercury
> 1.0.0-alpha-2, where did you get that error? Building what?
>
> Thanks,
> Oleg


I was trying to build maven from trunk. (At revision 740247.)

Here is the modules sequence:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Maven
[INFO]   Maven Lifecycle Model
[INFO]   Maven Reporting API
[INFO]   Maven Model
[INFO]   Maven Compat
[INFO]   Maven Plugin API
[INFO]   Maven Project Builder
[INFO]   Maven Project
[INFO]   Maven Mercury
[INFO]   Maven Core
[INFO]   Maven Toolchains
[INFO]   Maven Embedder
[INFO]   Maven Distribution
[INFO] 
[INFO] Building Apache Maven
[INFO]task-segment: [install]
[INFO] 


The last one (Maven Distribution) gives me error:

Missing:
--
1) org.apache.maven.mercury:mercury-event:jar:1.0.0-alpha-4-SNAPSHOT
  Try downloading the file manually from the project website.
  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.maven.mercury
-DartifactId=mercury-event -Dversion=1.0.0-alpha-4-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
  mvn deploy:deploy-file -DgroupId=org.apache.maven.mercury
-DartifactId=mercury-event -Dversion=1.0.0-alpha-4-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
1) org.apache.maven:apache-maven:jar:3.0-SNAPSHOT
2) org.sonatype.mercury:mercury-mp3-cli:jar:1.0-alpha-1
3) org.sonatype.mercury:mercury-mp3-delta:jar:1.0-alpha-1
4) org.sonatype.mercury:mercury-mp3-api:jar:1.0-alpha-1
5) org.apache.maven.mercury:mercury-event:jar:1.0.0-alpha-4-SNAPSHOT


This is related to (in /maven/apache-maven/pox.xml):

  org.sonatype.mercury
  mercury-mp3-cli




Georgy

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [vote] release mercury-1.0.0-alpha-4

2009-02-02 Thread Georgy Bolyuba
Well, I was just trying to build maven trunk :) Nothing else.

Georgy

On Tue, Feb 3, 2009 at 4:20 AM, Oleg Gusakov
 wrote:
> Georgy Bolyuba wrote:
>>
>> Hi,
>>
>> I am new here, so, might be missing something. I am trying to build
>> maven from trunk and:
>>
>>
>
> I guess, I phrased my question incorrectly: maven trunk depends on mercury
> 1.0.0-alpha-2, where did you get that error? Building what?
>
> Thanks,
> Oleg
>
>> Missing:
>> --
>> 1) org.apache.maven.mercury:mercury-event:jar:1.0.0-alpha-4-SNAPSHOT
>>
>> So, I am kinda confused. Is it or is it not available
>> (mercury-1.0.0-alpha-4)?
>>
>> Georgy
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [vote] release mercury-1.0.0-alpha-4

2009-02-02 Thread Georgy Bolyuba
Hi,

I am new here, so, might be missing something. I am trying to build
maven from trunk and:

Missing:
--
1) org.apache.maven.mercury:mercury-event:jar:1.0.0-alpha-4-SNAPSHOT

So, I am kinda confused. Is it or is it not available (mercury-1.0.0-alpha-4)?

Georgy

On Mon, Feb 2, 2009 at 6:44 PM, Oleg Gusakov
 wrote:
> +3 binding votes, I proceed moving mercury-1.0.0-alpha-4 to production
>
> Thanks,
> Oleg
>
> Oleg Gusakov wrote:
>>
>> This is iterative improvements release of Mercury.
>>
>> The major change:
>> - timestamped artifacts can now have dependencies - a bug was fixed
>>
>> 1 issue fixed: http://jira.codehaus.org/browse/MERCURY/fixforversion/14889
>>
>> Staged release in repository at
>> http://people.apache.org/~ogusakov/repos/staging/
>>
>> Site at http://people.apache.org/~ogusakov/sites/mercury
>>
>> Vote open for 72 hours.
>>
>> [ ] +1
>> [ ] +0
>> [ ] -1
>>
>> Thanks,
>> Oleg
>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Beginner with Maven

2009-02-02 Thread Georgy Bolyuba
I guess runing "mvn clean -e" will give mor info. For starters, I
think it is possible that he does not have a pom.xml in
"C:\Documents and Settings\Administrator" folder. I assume he needs to
change the current folder ("cd ")

Georgy

On Mon, Feb 2, 2009 at 6:32 PM, Roshan Gunoo  wrote:
> please check your firewall setting
>
> On Mon, Feb 2, 2009 at 9:50 PM, amrorabi  wrote:
>
>>
>> Please,
>> I am a beginner with the Maven "apache-maven-2.0.9", and I installed it and
>> set the environment variables,
>> then I tried to run just the command "mvn clean" but on plugins jars are
>> downloaded as I read in the tutorials
>>
>> The picture show the error
>> http://www.nabble.com/file/p21793246/untitled.jpeg
>>
>> Please HELP me,
>> Thanks in advance.
>> --
>> View this message in context:
>> http://www.nabble.com/Beginner-with-Maven-tp21793246p21793246.html
>> Sent from the Maven - Issues mailing list archive at Nabble.com.
>>
>>
>

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: Building from source

2009-02-02 Thread Georgy Bolyuba
Did that, yeah. Thanks for the hint.

Georgy

On Mon, Feb 2, 2009 at 4:57 PM, Brian E. Fox  wrote:
> Can you turn of the checksum checking?
>
> -Original Message-
> From: Georgy Bolyuba [mailto:boly...@gmail.com]
> Sent: Monday, February 02, 2009 10:39 AM
> To: dev@maven.apache.org
> Subject: Building from source
>
> Hi,
>
> I am following this:
> http://maven.apache.org/guides/development/guide-building-m2.html.
>
> Checkout from trunk:
>>svn checkout http://svn.apache.org/repos/asf/maven/components/trunk .
>
> Trying to build:
>>ant
>
> Result:
>
> BUILD FAILED
> D:\tests\maven\build.xml:82: Unable to resolve artifact: Missing:
> --
> 1) org.codehaus.plexus:plexus-lang:jar:1.1
>  Try downloading the file manually from the project website.
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=org.codehaus.plexus
> -DartifactId=plexus-lang -Dversion=1.1 -Dpackaging=jar
> -Dfile=/path/to/file
>  Alternatively, if you host your own repository you can deploy the file there:
>  mvn deploy:deploy-file -DgroupId=org.codehaus.plexus
> -DartifactId=plexus-lang -Dversion=1.1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>  Path to dependency:
>1) org.apache.maven:maven:pom:3.0-SNAPSHOT
>2) org.apache.maven.mercury:mercury-artifact:jar:1.0.0-alpha-2
>3) org.codehaus.plexus:plexus-lang:jar:1.1
> --
> 1 required artifact is missing.
> for artifact:
>  org.apache.maven:maven:pom:3.0-SNAPSHOT
>
>
> We use Artifactory in our company. This is from the log files:
>
> 2009-02-02 10:23:12,286 [ERROR] (o.a.c.c.C.[.[.[.[default]:260) -
> Servlet.service() for servlet default threw exception
> java.lang.RuntimeException: Failed to save resource
> 'repo1:org/codehaus/plexus/plexus-lang/1.1/plexus-lang-1.1.jar'.
> at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:588)
> [artifactory-core-1.3.0-rc-1.jar:na]
> ...skipped...
> at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
> [tomcat-util.jar:5.1]
> at java.lang.Thread.run(Thread.java:595) [na:1.5.0_12]
> Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException:
> Failed to create file node resource at
> '/repositories/repo1-cache/org/codehaus/plexus/plexus-lang/1.1/plexus-lang-1.1.jar'.
> at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:178)
> [artifactory-core-1.3.0-rc-1.jar:na]
> at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:567)
> [artifactory-core-1.3.0-rc-1.jar:na]
> ... 56 common frames omitted
> Caused by: org.artifactory.io.checksum.policy.ChecksumPolicyException:
> Checksum policy
> 'org.artifactory.io.checksum.policy.checksumpolicygenerateifabs...@5fb185'
> rejected the artifact 'plexus-lang-1.1.jar'. Checksums info:
> [ChecksumInfo{type=SHA-1,
> original='da39a3ee5e6b4b0d3255bfef95601890afd80709',
> actual='0fe38d248d8c98518ddf8173d9152c10d0a8be0c'},
> ChecksumInfo{type=MD5, original='d41d8cd98f00b204e9800998ecf8427e',
> actual='f1df611b48adbe87129bb397a58f5979'}]
> at org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:721)
> [artifactory-core-1.3.0-rc-1.jar:na]
> at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:679)
> [artifactory-core-1.3.0-rc-1.jar:na]
> at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:175)
> [artifactory-core-1.3.0-rc-1.jar:na]
> ... 57 common frames omitted
>
>
> I looked at both repo1 and codehaus repo
> (http://repository.codehaus.org/org/codehaus/plexus/plexus-lang/1.1/).
> Same thing - MD5 and SHA1 do not match calculated from jar.
>
> Any help on what to do in this situation? (Except installing it
> manually to our local repo)
>
> Have a great rest of the day,
> Georgy
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Building from source

2009-02-02 Thread Georgy Bolyuba
Hi,

I am following this:
http://maven.apache.org/guides/development/guide-building-m2.html.

Checkout from trunk:
>svn checkout http://svn.apache.org/repos/asf/maven/components/trunk .

Trying to build:
>ant

Result:

BUILD FAILED
D:\tests\maven\build.xml:82: Unable to resolve artifact: Missing:
--
1) org.codehaus.plexus:plexus-lang:jar:1.1
  Try downloading the file manually from the project website.
  Then, install it using the command:
  mvn install:install-file -DgroupId=org.codehaus.plexus
-DartifactId=plexus-lang -Dversion=1.1 -Dpackaging=jar
-Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file there:
  mvn deploy:deploy-file -DgroupId=org.codehaus.plexus
-DartifactId=plexus-lang -Dversion=1.1 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  Path to dependency:
1) org.apache.maven:maven:pom:3.0-SNAPSHOT
2) org.apache.maven.mercury:mercury-artifact:jar:1.0.0-alpha-2
3) org.codehaus.plexus:plexus-lang:jar:1.1
--
1 required artifact is missing.
for artifact:
  org.apache.maven:maven:pom:3.0-SNAPSHOT


We use Artifactory in our company. This is from the log files:

2009-02-02 10:23:12,286 [ERROR] (o.a.c.c.C.[.[.[.[default]:260) -
Servlet.service() for servlet default threw exception
java.lang.RuntimeException: Failed to save resource
'repo1:org/codehaus/plexus/plexus-lang/1.1/plexus-lang-1.1.jar'.
at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:588)
[artifactory-core-1.3.0-rc-1.jar:na]
...skipped...
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
[tomcat-util.jar:5.1]
at java.lang.Thread.run(Thread.java:595) [na:1.5.0_12]
Caused by: org.artifactory.api.repo.exception.RepositoryRuntimeException:
Failed to create file node resource at
'/repositories/repo1-cache/org/codehaus/plexus/plexus-lang/1.1/plexus-lang-1.1.jar'.
at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:178)
[artifactory-core-1.3.0-rc-1.jar:na]
at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:567)
[artifactory-core-1.3.0-rc-1.jar:na]
... 56 common frames omitted
Caused by: org.artifactory.io.checksum.policy.ChecksumPolicyException:
Checksum policy
'org.artifactory.io.checksum.policy.checksumpolicygenerateifabs...@5fb185'
rejected the artifact 'plexus-lang-1.1.jar'. Checksums info:
[ChecksumInfo{type=SHA-1,
original='da39a3ee5e6b4b0d3255bfef95601890afd80709',
actual='0fe38d248d8c98518ddf8173d9152c10d0a8be0c'},
ChecksumInfo{type=MD5, original='d41d8cd98f00b204e9800998ecf8427e',
actual='f1df611b48adbe87129bb397a58f5979'}]
at org.artifactory.jcr.fs.JcrFile.fillJcrData(JcrFile.java:721)
[artifactory-core-1.3.0-rc-1.jar:na]
at org.artifactory.jcr.fs.JcrFile.setResourceNode(JcrFile.java:679)
[artifactory-core-1.3.0-rc-1.jar:na]
at org.artifactory.jcr.fs.JcrFile.fillData(JcrFile.java:175)
[artifactory-core-1.3.0-rc-1.jar:na]
... 57 common frames omitted


I looked at both repo1 and codehaus repo
(http://repository.codehaus.org/org/codehaus/plexus/plexus-lang/1.1/).
Same thing - MD5 and SHA1 do not match calculated from jar.

Any help on what to do in this situation? (Except installing it
manually to our local repo)

Have a great rest of the day,
Georgy

-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org