You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Alec Missine (JIRA)" <ji...@apache.org> on 2010/02/19 17:12:40 UTC

[jira] Created: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

UNable to build the source: Profile with id: 'step1' has not been activated.
----------------------------------------------------------------------------

                 Key: SM-1934
                 URL: https://issues.apache.org/activemq/browse/SM-1934
             Project: ServiceMix
          Issue Type: Bug
         Environment: XP Pro, JDK 1.6.0_17, cygwin
            Reporter: Alec Missine


While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):

amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
$ mkdir trunk;cd trunk

amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
$ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
...
Checked out revision 911840.

amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
$ mvn -Dmaven.test.skip=true -P=step1
[INFO] Scanning for projects...
[WARNING]
        Profile with id: 'step1' has not been activated.

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO]

You must specify at least one goal or lifecycle phase to perform build steps.
The following list illustrates some commonly used build commands:

  mvn clean
    Deletes any build output (e.g. class files or JARs).
  mvn test
    Runs the unit tests for the project.
  mvn install
    Copies the project artifacts into your local repository.
  mvn deploy
    Copies the project artifacts into the remote repository.
  mvn site
    Creates project documentation (e.g. reports or Javadoc).

Please see
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
for a complete description of available lifecycle phases.

Use "mvn --help" to show general usage information about Maven's command line.


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------

amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk

-- Thanks for your kind attention,
Alec


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SM-1934.
--------------------------------------

    Resolution: Fixed
      Assignee: Jean-Baptiste Onofré  (was: Freeman Fang)

Wiki page updated.

> UNable to build the source: Profile with id: 'step1' has not been activated.
> ----------------------------------------------------------------------------
>
>                 Key: SM-1934
>                 URL: https://issues.apache.org/activemq/browse/SM-1934
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: XP Pro, JDK 1.6.0_17, cygwin
>            Reporter: Alec Missine
>            Assignee: Jean-Baptiste Onofré
>
> While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
> $ mkdir trunk;cd trunk
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
> ...
> Checked out revision 911840.
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ mvn -Dmaven.test.skip=true -P=step1
> [INFO] Scanning for projects...
> [WARNING]
>         Profile with id: 'step1' has not been activated.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal or lifecycle phase to perform build steps.
> The following list illustrates some commonly used build commands:
>   mvn clean
>     Deletes any build output (e.g. class files or JARs).
>   mvn test
>     Runs the unit tests for the project.
>   mvn install
>     Copies the project artifacts into your local repository.
>   mvn deploy
>     Copies the project artifacts into the remote repository.
>   mvn site
>     Creates project documentation (e.g. reports or Javadoc).
> Please see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
> Use "mvn --help" to show general usage information about Maven's command line.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> -- Thanks for your kind attention,
> Alec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57716#action_57716 ] 

Jean-Baptiste Onofré commented on SM-1934:
------------------------------------------

I have just tested it:

svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk smx3
cd smx3
mvn -Dmaven.test.skip=true -P=step1

and it works.

I use:
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.5.0_16
Java home: /opt/jdk/1.5.0_16/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux" version: "2.6.30-2-686" arch: "i386" Family: "unix"

Which maven version do you use ?

> UNable to build the source: Profile with id: 'step1' has not been activated.
> ----------------------------------------------------------------------------
>
>                 Key: SM-1934
>                 URL: https://issues.apache.org/activemq/browse/SM-1934
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: XP Pro, JDK 1.6.0_17, cygwin
>            Reporter: Alec Missine
>
> While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
> $ mkdir trunk;cd trunk
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
> ...
> Checked out revision 911840.
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ mvn -Dmaven.test.skip=true -P=step1
> [INFO] Scanning for projects...
> [WARNING]
>         Profile with id: 'step1' has not been activated.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal or lifecycle phase to perform build steps.
> The following list illustrates some commonly used build commands:
>   mvn clean
>     Deletes any build output (e.g. class files or JARs).
>   mvn test
>     Runs the unit tests for the project.
>   mvn install
>     Copies the project artifacts into your local repository.
>   mvn deploy
>     Copies the project artifacts into the remote repository.
>   mvn site
>     Creates project documentation (e.g. reports or Javadoc).
> Please see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
> Use "mvn --help" to show general usage information about Maven's command line.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> -- Thanks for your kind attention,
> Alec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang reassigned SM-1934:
--------------------------------

    Assignee: Freeman Fang

> UNable to build the source: Profile with id: 'step1' has not been activated.
> ----------------------------------------------------------------------------
>
>                 Key: SM-1934
>                 URL: https://issues.apache.org/activemq/browse/SM-1934
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: XP Pro, JDK 1.6.0_17, cygwin
>            Reporter: Alec Missine
>            Assignee: Freeman Fang
>
> While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
> $ mkdir trunk;cd trunk
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
> ...
> Checked out revision 911840.
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ mvn -Dmaven.test.skip=true -P=step1
> [INFO] Scanning for projects...
> [WARNING]
>         Profile with id: 'step1' has not been activated.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal or lifecycle phase to perform build steps.
> The following list illustrates some commonly used build commands:
>   mvn clean
>     Deletes any build output (e.g. class files or JARs).
>   mvn test
>     Runs the unit tests for the project.
>   mvn install
>     Copies the project artifacts into your local repository.
>   mvn deploy
>     Copies the project artifacts into the remote repository.
>   mvn site
>     Creates project documentation (e.g. reports or Javadoc).
> Please see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
> Use "mvn --help" to show general usage information about Maven's command line.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> -- Thanks for your kind attention,
> Alec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

Posted by "Alec Missine (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57777#action_57777 ] 

Alec Missine commented on SM-1934:
----------------------------------

Thanks for help! Here's how it worked:

$ export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=128M"
$ mvn install -Dmaven.test.skip=true

You guys might want to add the first line to your wiki, as its default is 64m.

Keep up good work!
:)




> UNable to build the source: Profile with id: 'step1' has not been activated.
> ----------------------------------------------------------------------------
>
>                 Key: SM-1934
>                 URL: https://issues.apache.org/activemq/browse/SM-1934
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: XP Pro, JDK 1.6.0_17, cygwin
>            Reporter: Alec Missine
>            Assignee: Jean-Baptiste Onofré
>
> While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
> $ mkdir trunk;cd trunk
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
> ...
> Checked out revision 911840.
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ mvn -Dmaven.test.skip=true -P=step1
> [INFO] Scanning for projects...
> [WARNING]
>         Profile with id: 'step1' has not been activated.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal or lifecycle phase to perform build steps.
> The following list illustrates some commonly used build commands:
>   mvn clean
>     Deletes any build output (e.g. class files or JARs).
>   mvn test
>     Runs the unit tests for the project.
>   mvn install
>     Copies the project artifacts into your local repository.
>   mvn deploy
>     Copies the project artifacts into the remote repository.
>   mvn site
>     Creates project documentation (e.g. reports or Javadoc).
> Please see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
> Use "mvn --help" to show general usage information about Maven's command line.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> -- Thanks for your kind attention,
> Alec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57779#action_57779 ] 

Jean-Baptiste Onofré commented on SM-1934:
------------------------------------------

I updated the wiki with memory setup.

> UNable to build the source: Profile with id: 'step1' has not been activated.
> ----------------------------------------------------------------------------
>
>                 Key: SM-1934
>                 URL: https://issues.apache.org/activemq/browse/SM-1934
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: XP Pro, JDK 1.6.0_17, cygwin
>            Reporter: Alec Missine
>            Assignee: Jean-Baptiste Onofré
>
> While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
> $ mkdir trunk;cd trunk
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
> ...
> Checked out revision 911840.
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ mvn -Dmaven.test.skip=true -P=step1
> [INFO] Scanning for projects...
> [WARNING]
>         Profile with id: 'step1' has not been activated.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal or lifecycle phase to perform build steps.
> The following list illustrates some commonly used build commands:
>   mvn clean
>     Deletes any build output (e.g. class files or JARs).
>   mvn test
>     Runs the unit tests for the project.
>   mvn install
>     Copies the project artifacts into your local repository.
>   mvn deploy
>     Copies the project artifacts into the remote repository.
>   mvn site
>     Creates project documentation (e.g. reports or Javadoc).
> Please see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
> Use "mvn --help" to show general usage information about Maven's command line.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> -- Thanks for your kind attention,
> Alec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1934) UNable to build the source: Profile with id: 'step1' has not been activated.

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57737#action_57737 ] 

Freeman Fang commented on SM-1934:
----------------------------------

By my test,  I can see the warning
[INFO] Scanning for projects...
[WARNING] 
	Profile with id: 'step1' has not been activated.
but build not fail.

Actually two steps build is only necessary for smx 3.2.x branch IIRC.
For smx 3.3.x, we can just use "mvn install" to build it 
We need update the wiki to clarify it.


> UNable to build the source: Profile with id: 'step1' has not been activated.
> ----------------------------------------------------------------------------
>
>                 Key: SM-1934
>                 URL: https://issues.apache.org/activemq/browse/SM-1934
>             Project: ServiceMix
>          Issue Type: Bug
>         Environment: XP Pro, JDK 1.6.0_17, cygwin
>            Reporter: Alec Missine
>            Assignee: Freeman Fang
>
> While following http://servicemix.apache.org/importing-servicemix-into-eclipse.html today, got this (yesterday, the profile seemed to be active):
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn
> $ mkdir trunk;cd trunk
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ svn co http://svn.apache.org/repos/asf/servicemix/smx3/trunk/
> ...
> Checked out revision 911840.
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> $ mvn -Dmaven.test.skip=true -P=step1
> [INFO] Scanning for projects...
> [WARNING]
>         Profile with id: 'step1' has not been activated.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO]
> You must specify at least one goal or lifecycle phase to perform build steps.
> The following list illustrates some commonly used build commands:
>   mvn clean
>     Deletes any build output (e.g. class files or JARs).
>   mvn test
>     Runs the unit tests for the project.
>   mvn install
>     Copies the project artifacts into your local repository.
>   mvn deploy
>     Copies the project artifacts into the remote repository.
>   mvn site
>     Creates project documentation (e.g. reports or Javadoc).
> Please see
> http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
> Use "mvn --help" to show general usage information about Maven's command line.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Feb 19 10:30:05 EST 2010
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
> amissine@DJ0CZ5H1 ~/product/apache-servicemix-3.3-src/svn/trunk
> -- Thanks for your kind attention,
> Alec

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.