Building the 0.14 branch

View: New views
9 Messages — Rating Filter:   Alert me  

Building the 0.14 branch

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do I need to do anything special to build the 0.14 branch, or should
'mvn install' just work?  Is the README.txt file up to date?

Currently it's complaining about a missing dependency on
org.apache.maven:maven-embedder:jar:2.0.8 which I imagine resulted
from someone changing the maven version property.

As mentioned in a couple of other threads, if the embedder was only
needed for the Visual Studio integration, then it can be removed.  And
then Brett mentioned we might have some dependencies on Maven 2.1
elsewhere that need to be rolled back.

--
Wendy

Re: Building the 0.14 branch

by Shane Isbell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, May 2, 2008 at 6:56 PM, Wendy Smoak <wsmoak@...> wrote:

> Do I need to do anything special to build the 0.14 branch, or should
> 'mvn install' just work?


First time building, you will want to use:
bootstrap-build.bat -DMicrosoft -DVisualStudio2005


> Is the README.txt file up to date?

Yes

>
> Currently it's complaining about a missing dependency on
> org.apache.maven:maven-embedder:jar:2.0.8 which I imagine resulted
> from someone changing the maven version property.

http://markmail.org/message/iwholytlkszv6o7x

>
>
> As mentioned in a couple of other threads, if the embedder was only
> needed for the Visual Studio integration, then it can be removed.  And
> then Brett mentioned we might have some dependencies on Maven 2.1
> elsewhere that need to be rolled back.

The Maven 2.1 snapshot dependencies are due to the embedder. If that is
dropped, then you are good to go with 2.0.8. Brett may have been referring
to a number of the interrelated plugins/components for the embedder, all
needing to be removed.

Thanks,
Shane

>
>
> --
> Wendy
>

Re: Building the 0.14 branch

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, May 2, 2008 at 7:16 PM, Shane Isbell <shane.isbell@...> wrote:
> On Fri, May 2, 2008 at 6:56 PM, Wendy Smoak <wsmoak@...> wrote:
>
>  > Do I need to do anything special to build the 0.14 branch, or should
>  > 'mvn install' just work?
>
>
>  First time building, you will want to use:
>  bootstrap-build.bat -DMicrosoft -DVisualStudio2005

Ah, I thought that line was 'choose one':  bootstrap-build.bat [
-DMicrosoft | -DVisualStudio2005 | -DMono ]

In any case it still complains that it can't find plugins.  Thanks for
confirming it should work.  I'll try it all again with 2.0.9 and a
clean local repo.

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin
'org.apache.maven.dotnet.plugins:maven-compile-plugin' does not exist
or no valid version could be found
[INFO] ------------------------------------------------------------------------

--
Wendy

Re: Building the 0.14 branch

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Still no luck with 'mvn install -DMicrosoft -DVisualStudio2005' and a
clean local repo.  It complains about missing RDF dependencies...

Missing:
----------
1) org.openrdf:openrdf-sail-memory:jar:2.0-beta5
2) org.openrdf:openrdf-repository-sail:jar:2.0-beta5
3) org.openrdf:openrdf-repository-api:jar:2.0-beta5

... which aren't in central:
http://repo1.maven.org/maven2/org/openrdf/ .  The README file mentions
installing them but doesn't say where to get them.

Can anyone else get a clean/bootstrap build of the branch to work?

--
Wendy

Re: Building the 0.14 branch

by Evan Worley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe bootstrap.bat will install those thirdparty libraries.  Did you
run bootstrap after cleaning your repo?

FYI - I don't think you'll be able to build 0.14 w/o any modifications, but
you should get further than the RDF dependencies.

-Evan

On Sat, May 3, 2008 at 1:39 PM, Wendy Smoak <wsmoak@...> wrote:

> Still no luck with 'mvn install -DMicrosoft -DVisualStudio2005' and a
> clean local repo.  It complains about missing RDF dependencies...
>
> Missing:
> ----------
> 1) org.openrdf:openrdf-sail-memory:jar:2.0-beta5
> 2) org.openrdf:openrdf-repository-sail:jar:2.0-beta5
> 3) org.openrdf:openrdf-repository-api:jar:2.0-beta5
>
> ... which aren't in central:
> http://repo1.maven.org/maven2/org/openrdf/ .  The README file mentions
> installing them but doesn't say where to get them.
>
> Can anyone else get a clean/bootstrap build of the branch to work?
>
> --
> Wendy
>

Re: Building the 0.14 branch

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I uninstalled all traces of the VS addin and NMaven (from My  
Documents, and the GAC), cleaned my local repo, then built NMaven. The  
patch needed to remove the modules that shouldn't be needed any more  
is attached.

This all built successfully. However, trying to install the vs addin  
still requires the WAR - so it seems that this is still required?  
Maybe that patch wasn't applied yet?

Anyway, this should be enough to move forward with applying patches.

Cheers,
Brett




On 04/05/2008, at 8:29 AM, Evan Worley wrote:

> I believe bootstrap.bat will install those thirdparty libraries.  
> Did you
> run bootstrap after cleaning your repo?
>
> FYI - I don't think you'll be able to build 0.14 w/o any  
> modifications, but
> you should get further than the RDF dependencies.
>
> -Evan
>
> On Sat, May 3, 2008 at 1:39 PM, Wendy Smoak <wsmoak@...> wrote:
>
>> Still no luck with 'mvn install -DMicrosoft -DVisualStudio2005' and a
>> clean local repo.  It complains about missing RDF dependencies...
>>
>> Missing:
>> ----------
>> 1) org.openrdf:openrdf-sail-memory:jar:2.0-beta5
>> 2) org.openrdf:openrdf-repository-sail:jar:2.0-beta5
>> 3) org.openrdf:openrdf-repository-api:jar:2.0-beta5
>>
>> ... which aren't in central:
>> http://repo1.maven.org/maven2/org/openrdf/ .  The README file  
>> mentions
>> installing them but doesn't say where to get them.
>>
>> Can anyone else get a clean/bootstrap build of the branch to work?
>>
>> --
>> Wendy
>>
--
Brett Porter
brett@...
http://blogs.exist.com/bporter/


Re: Building the 0.14 branch

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, May 5, 2008 at 12:00 AM, Brett Porter <brett@...> wrote:
> I uninstalled all traces of the VS addin and NMaven (from My Documents, and
> the GAC), cleaned my local repo, then built NMaven. The patch needed to
> remove the modules that shouldn't be needed any more is attached.

I don't think the attachment came through.  Is it small enough to paste?

--
Wendy

Re: Building the 0.14 branch

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 05/05/2008, at 11:26 PM, Wendy Smoak wrote:

> On Mon, May 5, 2008 at 12:00 AM, Brett Porter <brett@...>  
> wrote:
>> I uninstalled all traces of the VS addin and NMaven (from My  
>> Documents, and
>> the GAC), cleaned my local repo, then built NMaven. The patch  
>> needed to
>> remove the modules that shouldn't be needed any more is attached.
>
> I don't think the attachment came through.  Is it small enough to  
> paste?
>

Index: components/pom.xml
===================================================================
--- components/pom.xml (revision 653294)
+++ components/pom.xml (working copy)
@@ -36,14 +36,12 @@
      <module>dotnet-assembler</module>
      <module>dotnet-core</module>
      <module>dotnet-dao/project</module>
-    <module>dotnet-embedder</module>
      <module>dotnet-executable</module>
      <module>dotnet-jetty</module>
      <module>dotnet-model</module>
      <module>dotnet-plugin</module>
      <module>dotnet-registry</module>
      <module>dotnet-repository</module>
-    <module>dotnet-service/embedder</module>
      <module>dotnet-vendor</module>
    </modules>
    <profiles>
Index: pom.xml
===================================================================
--- pom.xml (revision 653294)
+++ pom.xml (working copy)
@@ -258,11 +258,6 @@
          <version>${mavenVersion}</version>
        </dependency>
        <dependency>
-        <groupId>org.apache.maven</groupId>
-        <artifactId>maven-embedder</artifactId>
-        <version>${mavenVersion}</version>
-      </dependency>
-      <dependency>
          <groupId>org.codehaus.xfire</groupId>
          <artifactId>xfire-plexus</artifactId>
          <version>${xfireVersion}</version>
Index: misc/dotnet-repository-builder/pom.xml
===================================================================
--- misc/dotnet-repository-builder/pom.xml (revision 653294)
+++ misc/dotnet-repository-builder/pom.xml (working copy)
@@ -25,7 +25,7 @@
    <artifactId>dotnet-repository-builder</artifactId>
    <packaging>pom</packaging>
    <properties>
-    <mavenVersion>2.1-SNAPSHOT</mavenVersion>
+    <mavenVersion>2.0.8</mavenVersion>
      <nmavenVersion>${pom.version}</nmavenVersion>
      <jettyVersion>6.1.5</jettyVersion>
      <xfireVersion>1.2.5</xfireVersion>
@@ -69,11 +69,6 @@
      </dependency>
      <dependency>
        <groupId>org.apache.maven.dotnet</groupId>
-      <artifactId>dotnet-embedder</artifactId>
-      <version>0.14-incubating-SNAPSHOT</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven.dotnet</groupId>
        <artifactId>dotnet-executable</artifactId>
        <version>0.14-incubating-SNAPSHOT</version>
      </dependency>
@@ -108,12 +103,6 @@
        <artifactId>dotnet-vendor</artifactId>
        <version>0.14-incubating-SNAPSHOT</version>
      </dependency>
-    <dependency>
-      <groupId>org.apache.maven.dotnet</groupId>
-      <artifactId>dotnet-service-embedder</artifactId>
-      <type>war</type>
-      <version>0.14-incubating-SNAPSHOT</version>
-    </dependency>
      <!--plugins-->
      <dependency>
        <groupId>org.apache.maven.dotnet.plugins</groupId>
@@ -233,11 +222,6 @@
        <version>${mavenVersion}</version>
      </dependency>
      <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-embedder</artifactId>
-      <version>${mavenVersion}</version>
-    </dependency>
-    <dependency>
        <groupId>org.codehaus.xfire</groupId>
        <artifactId>xfire-plexus</artifactId>
        <version>${xfireVersion}</version>


Re: Building the 0.14 branch

by brettporter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think the related issue is:
http://jira.codehaus.org/browse/NMAVEN-106

That would need to be in place first, but it also means that the  
vsinstaller plugin needs to be adjusted to not require it.

- Brett

On 06/05/2008, at 7:04 AM, Brett Porter wrote:

>
> On 05/05/2008, at 11:26 PM, Wendy Smoak wrote:
>
>> On Mon, May 5, 2008 at 12:00 AM, Brett Porter <brett@...>  
>> wrote:
>>> I uninstalled all traces of the VS addin and NMaven (from My  
>>> Documents, and
>>> the GAC), cleaned my local repo, then built NMaven. The patch  
>>> needed to
>>> remove the modules that shouldn't be needed any more is attached.
>>
>> I don't think the attachment came through.  Is it small enough to  
>> paste?
>>
>
> Index: components/pom.xml
> ===================================================================
> --- components/pom.xml (revision 653294)
> +++ components/pom.xml (working copy)
> @@ -36,14 +36,12 @@
>     <module>dotnet-assembler</module>
>     <module>dotnet-core</module>
>     <module>dotnet-dao/project</module>
> -    <module>dotnet-embedder</module>
>     <module>dotnet-executable</module>
>     <module>dotnet-jetty</module>
>     <module>dotnet-model</module>
>     <module>dotnet-plugin</module>
>     <module>dotnet-registry</module>
>     <module>dotnet-repository</module>
> -    <module>dotnet-service/embedder</module>
>     <module>dotnet-vendor</module>
>   </modules>
>   <profiles>
> Index: pom.xml
> ===================================================================
> --- pom.xml (revision 653294)
> +++ pom.xml (working copy)
> @@ -258,11 +258,6 @@
>         <version>${mavenVersion}</version>
>       </dependency>
>       <dependency>
> -        <groupId>org.apache.maven</groupId>
> -        <artifactId>maven-embedder</artifactId>
> -        <version>${mavenVersion}</version>
> -      </dependency>
> -      <dependency>
>         <groupId>org.codehaus.xfire</groupId>
>         <artifactId>xfire-plexus</artifactId>
>         <version>${xfireVersion}</version>
> Index: misc/dotnet-repository-builder/pom.xml
> ===================================================================
> --- misc/dotnet-repository-builder/pom.xml (revision 653294)
> +++ misc/dotnet-repository-builder/pom.xml (working copy)
> @@ -25,7 +25,7 @@
>   <artifactId>dotnet-repository-builder</artifactId>
>   <packaging>pom</packaging>
>   <properties>
> -    <mavenVersion>2.1-SNAPSHOT</mavenVersion>
> +    <mavenVersion>2.0.8</mavenVersion>
>     <nmavenVersion>${pom.version}</nmavenVersion>
>     <jettyVersion>6.1.5</jettyVersion>
>     <xfireVersion>1.2.5</xfireVersion>
> @@ -69,11 +69,6 @@
>     </dependency>
>     <dependency>
>       <groupId>org.apache.maven.dotnet</groupId>
> -      <artifactId>dotnet-embedder</artifactId>
> -      <version>0.14-incubating-SNAPSHOT</version>
> -    </dependency>
> -    <dependency>
> -      <groupId>org.apache.maven.dotnet</groupId>
>       <artifactId>dotnet-executable</artifactId>
>       <version>0.14-incubating-SNAPSHOT</version>
>     </dependency>
> @@ -108,12 +103,6 @@
>       <artifactId>dotnet-vendor</artifactId>
>       <version>0.14-incubating-SNAPSHOT</version>
>     </dependency>
> -    <dependency>
> -      <groupId>org.apache.maven.dotnet</groupId>
> -      <artifactId>dotnet-service-embedder</artifactId>
> -      <type>war</type>
> -      <version>0.14-incubating-SNAPSHOT</version>
> -    </dependency>
>     <!--plugins-->
>     <dependency>
>       <groupId>org.apache.maven.dotnet.plugins</groupId>
> @@ -233,11 +222,6 @@
>       <version>${mavenVersion}</version>
>     </dependency>
>     <dependency>
> -      <groupId>org.apache.maven</groupId>
> -      <artifactId>maven-embedder</artifactId>
> -      <version>${mavenVersion}</version>
> -    </dependency>
> -    <dependency>
>       <groupId>org.codehaus.xfire</groupId>
>       <artifactId>xfire-plexus</artifactId>
>       <version>${xfireVersion}</version>
>

--
Brett Porter
brett@...
http://blogs.exist.com/bporter/