Thanks a lot Felix, Don´t worry, I understand the typical refactoring´s inconveniences. Only I´m trying to get used to the complete stuff as soon as possible.
Thanks, BR, Juanjo. On Nov 16, 2007 10:40 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Juanjo, > > Sorry for all the inconveniences. We are still in the act of converting > Sling to the new Sling API ... Anyway, the issues you encountered have > to do with the JSP and JSP-taglib projects, which are not converted yet > but are already referenced in the parent pom. > > So I just excluded these two and added the jcr/repository project, which > is required by sling/core. > > Regards > Felix > > Am Freitag, den 16.11.2007, 18:27 +0100 schrieb Juan José Vázquez > Delgado: > > Thanks for your help but now i have other problems when i try to build > sling > > from the scratch. > > > > First of all, i get this error: > > > > [INFO] > > > ------------------------------------------------------------------------- > > --- > > [INFO] Building Sling - Core Implementation > > [INFO] task-segment: [clean, install] > > [INFO] > > > ------------------------------------------------------------------------- > > --- > > [INFO] [clean:clean] > > [INFO] Deleting directory > > C:\eclipse_33_workspaces\ASF\Slingws\Sling\sling\core\ > > target > > [INFO] Deleting directory > > C:\eclipse_33_workspaces\ASF\Slingws\Sling\sling\core\ > > target\classes > > [INFO] Deleting directory > > C:\eclipse_33_workspaces\ASF\Slingws\Sling\sling\core\ > > target\test-classes > > [INFO] Deleting directory > > C:\eclipse_33_workspaces\ASF\Slingws\Sling\sling\core\ > > target\site > > Downloading: > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/sli > > > ng/org.apache.sling.jcr.resource/2.0.0-incubator-SNAPSHOT/org.apache.sling.jcr.r > > esource-2.0.0-incubator-SNAPSHOT.pom > > Downloading: > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/sli > > > ng/org.apache.sling.jcr.resource/2.0.0-incubator-SNAPSHOT/org.apache.sling.jcr.r > > esource-2.0.0-incubator-SNAPSHOT.jar > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > > Missing: > > ---------- > > 1) > > > org.apache.sling:org.apache.sling.jcr.resource:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=org.apache.sling -DartifactId= > > org.apach > > e.sling.jcr.resource \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId=org.apache.sling -DartifactId= > > org.apache.sl > > ing.jcr.resource \ > > > > I suppose that the sling jcr resource project is missing from the parent > > pom. I have build this module and then i get this another error: > > > > INFO] > > > ------------------------------------------------------------------------- > > --- > > [INFO] Building Sling - Scripting - JSP Support > > [INFO] task-segment: [clean, install] > > [INFO] > > > ------------------------------------------------------------------------- > > > > Missing: > > ---------- > > 1) org.apache.sling:sling-scripting-core:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-scr > > ipting-core \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-scripti > > ng-core \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) > > org.apache.sling:sling-scripting-core:jar:2.0.0-incubator-SNAPSHOT > > > > 2) > > > org.apache.sling:sling-jackrabbit-classloader:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-jac > > krabbit-classloader \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-jackrab > > bit-classloader \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) > > org.apache.sling:sling-jackrabbit-classloader:jar:2.0.0-incubator-SNA > > PSHOT > > > > 3) org.apache.sling:sling-component-api:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-com > > ponent-api \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-compone > > nt-api \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) > org.apache.sling:sling-component-api:jar:2.0.0-incubator-SNAPSHOT > > > > 4) org.apache.sling:sling-core:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-cor > > e \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-core \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) org.apache.sling:sling-core:jar:2.0.0-incubator-SNAPSHOT > > > > 5) org.apache.sling:sling-jackrabbit-api:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-jac > > krabbit-api \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-jackrab > > bit-api \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) > > org.apache.sling:sling-jackrabbit-api:jar:2.0.0-incubator-SNAPSHOT > > > > 6) org.apache.sling:sling-jasper-sling:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-jas > > per-sling \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-jasper- > > sling \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) > org.apache.sling:sling-jasper-sling:jar:2.0.0-incubator-SNAPSHOT > > > > 7) org.apache.sling:sling-content-jcr:jar:2.0.0-incubator-SNAPSHOT > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId= > org.apache.sling-DartifactId=sling-con > > tent-jcr \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e > > Alternatively, if you host your own repository you can deploy the file > > there: > > mvn deploy:deploy-file -DgroupId= > org.apache.sling-DartifactId=sling-content > > -jcr \ > > -Dversion=2.0.0-incubator-SNAPSHOT -Dpackaging=jar > > -Dfile=/path/to/fil > > e \ > > -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) > > org.apache.sling:org.apache.sling.scripting.jsp:bundle:2.0.0-incubato > > r-SNAPSHOT > > 2) > org.apache.sling:sling-content-jcr:jar:2.0.0-incubator-SNAPSHOT > > > > ---------- > > 7 required artifacts are missing. > > > > I´m not sure about the problem. For instance, i can´t find the sling > content > > jcr project in the source. > > > > Can you help me, please?. > > > > Thanks in advance. > > > > Juanjo. > > > > On Nov 16, 2007 2:39 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > Sorry about that. I just forgot to deploy the new snapshot to the > > > repository. > > > > > > I have done it now. Enjoy. > > > > > > Regards > > > Felix > > > > > > Am Freitag, den 16.11.2007, 13:55 +0100 schrieb Juanjo Vázquez: > > > > Hi guys, > > > > > > > > I´m getting an error when build Sling from the scratch. The > stacktrace > > > is: > > > > > > > > [INFO] Failed to resolve artifact. > > > > > > > > GroupId: org.apache.felix > > > > ArtifactId: maven-scr-plugin > > > > Version: 0.5.0-SNAPSHOT > > > > > > > > Reason: Unable to download the artifact from any repository > > > > > > > > org.apache.felix:maven-scr-plugin:pom:0.5.0-SNAPSHOT > > > > > > > > from the specified remote repositories: > > > > central (http://repo1.maven.org/maven2), > > > > apache.snapshots ( > http://people.apache.org/repo/m2-snapshot-repository > > > ), > > > > apache Snapshots ( > http://people.apache.org/repo/m2-snapshot-repository > > > ) > > > > > > > > > > > > I know that maven-scr-plugin is not in the central maven repo. > Should I > > > open > > > > a new bug in Jira?. > > > > > > > > Regards, > > > > > > > > Juanjo > > > > > > > >
