5 Replies Latest reply on Oct 4, 2011 1:39 PM by lightguard
      • 1. Re: How to build seam-security-example-idmconsole
        lightguard

        Clone the security repo, checkout the Beta1 tag, mvn package

        • 2. Re: How to build seam-security-example-idmconsole
          jee4hire

          I did

          git clone http://github.com/seam/security


          Then, inside the security/examples/idmconsole directory,
          I did
          mvn package


          The following result was produced:


          Non-resolvable parent POM for org.jboss.seam.security:seam-security-parent:3.1.0-SNAPSHOT: Could not find artifact org.jboss.seam:seam-parent:pom:15-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ org.jboss.seam.security:seam-security-parent:3.1.0-SNAPSHOT


          How can I fix this to build a war?

          • 3. Re: How to build seam-security-example-idmconsole
            shane.bryzak

            Wait until tomorrow, then try it with 3.1.0.Beta3 instead (we're currently doing the release).

            • 4. Re: How to build seam-security-example-idmconsole
              jee4hire
              I did `git clone http://github.com/seam/security`
              Then, inside the security/examples/idmconsole directory,
              I did `mvn package`
              The following result was produced:

              [INFO] Scanning for projects...
              [INFO]                                                                        
              [INFO] ------------------------------------------------------------------------
              [INFO] Building Seam Security Identity Management Console Example 3.1.0-SNAPSHOT
              [INFO] ------------------------------------------------------------------------
              [WARNING] The POM for org.jboss.seam.security:seam-security:jar:3.1.0-SNAPSHOT is missing, no dependency information available
              [INFO] ------------------------------------------------------------------------
              [INFO] BUILD FAILURE
              [INFO] ------------------------------------------------------------------------
              [INFO] Total time: 1.475s
              [INFO] Finished at: Tue Oct 04 07:32:35 PDT 2011
              [INFO] Final Memory: 7M/109M
              [INFO] ------------------------------------------------------------------------
              [ERROR] Failed to execute goal on project seam-security-example-idmconsole: Could not resolve dependencies for project org.jboss.seam.security:seam-security-example-idmconsole:war:3.1.0-SNAPSHOT: Could not find artifact org.jboss.seam.security:seam-security:jar:3.1.0-SNAPSHOT -> [Help 1]
              [ERROR]
              [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
              [ERROR] Re-run Maven using the -X switch to enable full debug logging.
              [ERROR]
              [ERROR] For more information about the errors and possible solutions, please read the following articles:
              [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

              How can I correct this problem?

              • 5. Re: How to build seam-security-example-idmconsole
                lightguard
                git checkout origin/3.1.0.Beta3



                mvn package



                That should give you the version from 3.1.0.Beta3