hi,
I am running into thesame error (even if I use -nsu clean install)
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-remote-resources-plugin
Version: 1.0-beta-2
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-remote-resources-plugin:pom:1.0-beta-2
from the specified remote repositories:
xwiki-releases (http://maven.xwiki.org/releases),
central (http://repo1.maven.org/maven2),
xwiki-plugins-snapshots (http://maven.xwiki.org/snapshots),
xwiki-snapshots (http://maven.xwiki.org/snapshots),
xwiki-externals (http://maven.xwiki.org/externals),
xwiki-plugins-releases (http://maven.xwiki.org/releases),
xwiki-plugins-externals (http://maven.xwiki.org/externals)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 6 seconds
[INFO] Finished at: Thu Mar 27 11:38:44 CDT 2008
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 6 seconds
[INFO] Finished at: Thu Mar 27 11:38:44 CDT 2008
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------
Thanks guys..
with all your suggestions, I was finally able to run Maven :-)))
Now, my next question is regarding the following :
Building with Maven
Execute mvn install in any module you wish to build. This will build that
module and all children modules. The build result is placed in two places:
- the local maven
repository<http://maven.apache.org/guides/introduction/introduction-to-repositories.ht…>,
for making the module available to other projects or modules using maven
(even other XWiki modules take the needed libraries from this repository,
and not directly from a "neighbor" directory)
- and in a subdirectory of that module, called target.
I can not see the build result? I do not see any "target" subdir.
Please advise.
Thanks
Hello,
I spent long time in Ecipse before discovering I got stuck on the maven
snapshot updates... it tries to synchronize to maven.xwiki.org... no error,
no disconnection... just server connexion frozen...
best regards
Pascal
Hello,
I have been trying to build the XWiki sources but with no luck.
I am getting stuck at the first step itself- setting up Maven.
Following are the commands I use to set the envt. variables as indicated in
this link - http://maven.apache.org/download.html#Installation and the
errors I get.
Can anybody tell from this, whats going wrong here?
C:\>set M2_HOME = C:\Kam\Software\apache-
maven-2.1-SNAPSHOT\apache-maven-2.1-SNA
PSHOT
C:\>set Path = %Path%;%M2_HOME%\bin
C:\>echo %M2_HOME%
%M2_HOME%
C:\>set > env.txt
C:\>set PATH = %PATH%;%M2_HOME%\bin
C:\>set > env.txt
C:\>set JAVA_HOME = "C:\Program Files\Java\jdk1.6.0"
C:\>set PATH = %PATH%;%JAVA_HOME%\bin
C:\>set > env.txt
C:\>mvn --version
'mvn' is not recognized as an internal or external command,
operable program or batch file.
C:\>mvn --version
'mvn' is not recognized as an internal or external command,
operable program or batch file.
C:\>cd Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin
C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin>mvn
--ve
rsion
ERROR: JAVA_HOME not found in your environment.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin>set
JAVA
_HOME = "C:\Program Files\Java\jdk1.6.0"
C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin>mvn
--ve
rsion
ERROR: JAVA_HOME not found in your environment.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
Thanks a lot in advance.
Hi all
I'm a final year Computer Science and Engineering student of University of
Moratuwa Sri lanka and i thought i should give a try at GSoC 2008 under web
service integration for XWiki watch. I have experience in Java with Spring /
Hibernate / JMX /JSF (i learnt these during my internship) and i was able to
go through the web services specially with axis2 during the final year
project rather than X-fire web service implementation. According to the idea
published, our final year project also have some common areas. According to
that, we have already implemented the web service integration for publishing
different services to a middle ware dynamically. Therefore, i think i have a
great opportunity of making this project idea into a concrete implementation
during 3 months by using all my computer knowledge in different areas. And i
would like to discuss the implementation of this idea and about the
requirements with the mentors ( Anca Paula Luca & Jerome Velociter ). I'm
really interested in doing this project. Please reply to me to discuss the
relevant facts about this project.
Thank you very much.
regards,
Suramya
--
Suramya Rathnayake
Computer Science and Engineering
University of Moratuwa
http://suramya-rathnayake.blogspot.com/
Hi people,
I want to participate in GSoC. I'm Computer Science Msc Student at
Federal University of Pernambuco and I'm interested in two projects in the
following order of priority.
1. Gadget, Media and Content sites integration
2. XWiki Cross Platform Web and Desktop Widget
I have great interest in contributing to projects. I know people which also
participated in GSoC and can help me to meet with the project.
My native language is Portuguese, but I can working with English.
What do you suggest? Someone help me?
Daniel Arcoverde
try mvn -nsu clean install
This should work, may be there is some artifact missing in the repository
and -nsu flag does not try to get the snapshots from the repository.
Thanks
Sachin
------------------------------
>
> Message: 9
> Date: Wed, 26 Mar 2008 21:00:23 -0700
> From: "marlon hendred" <mhendred(a)gmail.com>
> Subject: [xwiki-devs] Can't get artifact
> To: "XWiki Developers" <devs(a)xwiki.org>
> Message-ID:
> <6e920fe20803262100g75be94fao1a9dc306be16ee2f(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello all,
>
> I have been building xwiki from scratch perfectly fine for the past couple
> days but today I have been trying to build the xwiki-core with no luck. It
> looks like there is something wrong with the repo? Im just doing a mvn
> install. Here is the error im getting:
>
>
> INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: com.xpn.xwiki.platform
> ArtifactId: xwiki
> Version: 14-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
> com.xpn.xwiki.platform:xwiki:pom:14-SNAPSHOT
>
> from the specified remote repositories:
> xwiki-releases (http://maven.xwiki.org/releases),
> central (http://repo1.maven.org/maven2),
> xwiki-snapshots (http://maven.xwiki.org/snapshots),
> xwiki-externals (http://maven.xwiki.org/externals)
>
> Has anyone else experienced this? Do i need to change where this points?
> Any
> insight is greatly appreciated. Thanks in advance.
>
> -Marlon
>
>
> ------------------------------
>
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> End of devs Digest, Vol 9, Issue 92
> ***********************************
>
You variables don't seem to be set.
Best would be to set them in my computer -> properties -> advanced ->
environment variables
After setting and closing the window, open a new command prompt.
I think proper syntax to set env variables in windows is
SET *VARIABLE*=*value*
and not
SET *VARIABLE* = *value*
Thanks
Sachin
> ------------------------------
>
> Message: 8
> Date: Wed, 26 Mar 2008 21:38:02 -0500
> From: "Kamna Jain" <kammy.scorpi(a)gmail.com>
> Subject: [xwiki-devs] Problems with setting up Maven.
> To: devs(a)xwiki.org
> Message-ID:
> <fb681d280803261938h664d9aeh6be7558a7b2c30f3(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
> I have been trying to build the XWiki sources but with no luck.
> I am getting stuck at the first step itself- setting up Maven.
>
> Following are the commands I use to set the envt. variables as indicated
> in
> this link - http://maven.apache.org/download.html#Installation and the
> errors I get.
> Can anybody tell from this, whats going wrong here?
>
> C:\>set M2_HOME = C:\Kam\Software\apache-
> maven-2.1-SNAPSHOT\apache-maven-2.1-SNA
> PSHOT
>
> C:\>set Path = %Path%;%M2_HOME%\bin
>
> C:\>echo %M2_HOME%
> %M2_HOME%
>
> C:\>set > env.txt
>
> C:\>set PATH = %PATH%;%M2_HOME%\bin
>
> C:\>set > env.txt
>
> C:\>set JAVA_HOME = "C:\Program Files\Java\jdk1.6.0"
>
> C:\>set PATH = %PATH%;%JAVA_HOME%\bin
>
> C:\>set > env.txt
>
> C:\>mvn --version
> 'mvn' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\>mvn --version
> 'mvn' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\>cd Kam\Software\apache-
> maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin
>
> C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin
> >mvn
> --ve
> rsion
>
> ERROR: JAVA_HOME not found in your environment.
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation
>
>
> C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin
> >set
> JAVA
> _HOME = "C:\Program Files\Java\jdk1.6.0"
>
> C:\Kam\Software\apache-maven-2.1-SNAPSHOT\apache-maven-2.1-SNAPSHOT\bin
> >mvn
> --ve
> rsion
>
> ERROR: JAVA_HOME not found in your environment.
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation
>
> Thanks a lot in advance.
>
>
Hello all,
I have been building xwiki from scratch perfectly fine for the past couple
days but today I have been trying to build the xwiki-core with no luck. It
looks like there is something wrong with the repo? Im just doing a mvn
install. Here is the error im getting:
INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: com.xpn.xwiki.platform
ArtifactId: xwiki
Version: 14-SNAPSHOT
Reason: Unable to download the artifact from any repository
com.xpn.xwiki.platform:xwiki:pom:14-SNAPSHOT
from the specified remote repositories:
xwiki-releases (http://maven.xwiki.org/releases),
central (http://repo1.maven.org/maven2),
xwiki-snapshots (http://maven.xwiki.org/snapshots),
xwiki-externals (http://maven.xwiki.org/externals)
Has anyone else experienced this? Do i need to change where this points? Any
insight is greatly appreciated. Thanks in advance.
-Marlon
Hello,
In an other mail, I talked about a problem compiling lucene plugin. I had
many "Unknown symbol"...
Apparently maven couldn't find its classes in org.apache.lucene/lucene-
core-2.4.1.jar
I have discovered that lucene plugin depends on xwiki-core which has some
dependency on JackRabbit which seems to pull a dependency on lucene/lucene
version 1.4.3 which contains also some of the classes of org.apache.lucene
/lucene-core-2.4.1.jar but older versions...
After trying many things, I've modified the lucene plugin pom.xml by
inverting dependency to xwiki-core and lucene-core so that lucene-core is
the first to be loaded and it solves my problem...
Apparently, you don't have the same problem as me when building so I think
it is linked to my local environment but anyway the inherited dependency on
2 versions of Lucene might be problematic some time.
br
Pascal