• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

where is the location of POM file?

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone;
i am trying to build apache stanbol and i have installed maven but when i use this command:"mvn clean install" it tell me:"the goal you specified require a project to execute but there is no POM in this directory"
this is my question:in know what is POM but i don't know where i should put it? in maven repository?
 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know Apache Stanbol but the POM should be in the root directory of the project. But if you have checked out the project or unpacked it from a downloaded package you can just search from files named "pom.xml".

Don't wonder if there is more than one POM file. If it's a multi module project there will be a POM in the directory of each child module. But to build the whole project you have to be in the top-level directory where the parent POM should be located!

Marco
 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marco Ehrentreich wrote:I don't know Apache Stanbol but the POM should be in the root directory of the project. But if you have checked out the project or unpacked it from a downloaded package you can just search from files named "pom.xml".

Don't wonder if there is more than one POM file. If it's a multi module project there will be a POM in the directory of each child module. But to build the whole project you have to be in the top-level directory where the parent POM should be located!

Marco


Thank you Marco,i found the POM, Stanbol is a multi module project so i have a POM in each module but were i should put the POM? because the directories are separated from each other and i don't have top level directory and the error is wanting me to put a POM but i don't know where and which?
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, you don't have to and shouldn't put the POM anywhere else! You just have to issue the Maven commands in the correct directory!

I have tried it myself and checked out the trunk of Stanbol from the link here. For me there's definitely a POM in the root directory of the project. Where did you get the sources?

Marco
 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marco Ehrentreich wrote:No, you don't have to and shouldn't put the POM anywhere else! You just have to issue the Maven commands in the correct directory!

I have tried it myself and checked out the trunk of Stanbol from the link here. For me there's definitely a POM in the root directory of the project. Where did you get the sources?

Marco



i downloaded the sources from here. i'm confused please help me:exactly where should i get sources from?
 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marco Ehrentreich wrote:No, you don't have to and shouldn't put the POM anywhere else! You just have to issue the Maven commands in the correct directory!

I have tried it myself and checked out the trunk of Stanbol from the link here. For me there's definitely a POM in the root directory of the project. Where did you get the sources?

Marco



i downloaded the sources from here. i'm confused please help me:exactly where should i get sources from?
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would recommend to use Subversion and check out the sources from the link at the bottom of the page I have posted. I'm not sure what's inside the downloadable source packages but it's obviously not the same as in the SVN repository.
 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marco Ehrentreich wrote:I would recommend to use Subversion and check out the sources from the link at the bottom of the page I have posted. I'm not sure what's inside the downloadable source packages but it's obviously not the same as in the SVN repository.



i did it but i received this error:svn: E120105: Error retrieving REPORT: The server sent an improper HTTP response
what is its cause?
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you use this link to Subversion or the link to the page I posted above? The link above belongs to the homepage of Stanbol and contains the correct link to SVN.
 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Marco Ehrentreich wrote:Did you use this link to Subversion or the link to the page I posted above? The link above belongs to the homepage of Stanbol and contains the correct link to SVN.



yes, i used the correct link but when i repeat it i receive these error:
svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
svn: E155004: Working copy 'C:\cygwin\home\petal\trunk' locked.
svn: E155004: 'C:\cygwin\home\petal\trunk' is already locked.
i ran 'svn cleanup' but i receive :
svn: E155007: 'C:\cygwin\home\petal' is not a working copy directory
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe something went wrong when you first attempted to checkout the sources. I don't know how reliable Cygwin is here. Anyway, the 'svn cleanup' command has to executed inside the root of the sources, i.e. the trunk directory Alternatively you can simply delete the trunk directory and try to check it out from scratch again.

If all this doesn't work you could use a real operating system like Linux If you have to stick with Windows you could install TortoiseSVN and use this to checkout the Stanbol sources natively in Windows.

Marco

 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i succeeded to build apache stanbol but yet it can't access jarfile!!!
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "it can't access jarfile"? Does Maven have problems to downloads some dependencies? Or can't you find the produced artifact (JAR file)?
 
hani se
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i found out i didn't download the jar file because i have thought it is existed in downloaded resources, now i'm trying to execute it
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic